/* ==========================================================================
   PRC / RELATÉD — IMMERSIVE ARCHITECTURAL SHOWROOM STYLESHEET
   Inspired by DrakeRelated.com interactive luxury experience
   ========================================================================== */

:root {
  --bg-primary: #0a0b0d;
  --bg-surface: rgba(18, 20, 24, 0.85);
  --bg-surface-glass: rgba(14, 16, 20, 0.72);
  --bg-drawer: #0e1014;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(255, 255, 255, 0.25);
  
  --text-main: #f5f5f7;
  --text-muted: #8e95a5;
  --text-dim: #5c6270;
  
  /* Tono plata y gris claro sustituyendo el tono naranja previo */
  --accent-gold: #c4c8d0;
  --accent-gold-light: #e8ecf2;
  --accent-blue: #4d82c4;
  --accent-glow: rgba(196, 200, 208, 0.4);
  --accent-silver: #c4c8d0;
  --accent-silver-light: #e8ecf2;
  
  --font-mono: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syncopate', 'Space Grotesk', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-mono);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   INTRO LOADING SCREEN
   ========================================================================== */
.intro-loader {
  position: fixed;
  inset: 0;
  background-color: #08090a;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

.intro-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  max-width: 480px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loader-brand .brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.loader-brand .loader-logo-img {
  height: 52px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  margin: 12px auto 16px;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.2));
}

.loader-brand .brand-desc {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.loader-bar-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #fff);
  transition: width 0.3s ease;
}

.loader-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  border-radius: 40px;
  transition: var(--transition-smooth);
}

.btn-enter:hover:not(:disabled) {
  background: var(--accent-gold-light);
  color: #0a0b0d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 200, 208, 0.35);
}

.btn-enter:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.audio-hint {
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   HEADER / TOP BAR
   ========================================================================== */
.studio-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0) 100%);
  pointer-events: none;
}

.studio-header > * {
  pointer-events: auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.header-logo-img {
  height: 28px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}

.live-status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-text {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
}

/* Room Navigation Selector */
.space-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 4px 6px;
  border-radius: 40px;
  border: 1px solid var(--border-subtle);
}

.nav-space-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.nav-space-btn .nav-num {
  font-size: 9px;
  opacity: 0.5;
}

.nav-space-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-space-btn.active {
  background: #fff;
  color: #000;
  font-weight: 600;
}

.nav-space-btn.active .nav-num {
  color: var(--accent-gold);
  opacity: 1;
}

/* Header Right Controls */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 8px;
}

.clock-label {
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.clock-time {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

/* Language Selector Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  height: 38px;
  padding: 0 8px;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.lang-switch:hover {
  border-color: var(--border-highlight);
}

.btn-lang {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.btn-lang:hover {
  color: #fff;
}

.btn-lang.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.lang-sep {
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.35;
  user-select: none;
}

.icon-btn {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  height: 38px;
  padding: 0 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
}

.btn-pill-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.cart-btn {
  position: relative;
  padding: 0 14px;
}

.contact-badge,
.cart-count {
  background: var(--accent-gold);
  color: #0a0b0d;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  width: 38px;
  padding: 0;
  justify-content: center;
}

/* ==========================================================================
   VIEWPORT & 3D INTERACTIVE SCENE
   ========================================================================== */
.space-viewport {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.space-viewport.is-dragging {
  cursor: grabbing;
}

.space-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 105vw;
  height: 105vh;
  min-width: 1400px;
  min-height: 800px;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.space-scene.panning {
  transition: none; /* instant smooth mouse tracking */
}

.scene-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.cinematic-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Explore Hint */
.explore-hint {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 16, 20, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 40;
}

.explore-hint.hidden {
  opacity: 0;
}

/* ==========================================================================
   HOTSPOTS LAYER (DRAKERELATED SIGNATURE STYLE)
   ========================================================================== */
.hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hotspots-layer.hidden-hotspots {
  opacity: 0;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  z-index: 30;
}

/* Radar Pulse Rings */
.hotspot-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  animation: radarRipple 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.hotspot:nth-child(2n) .hotspot-ring {
  animation-delay: 0.8s;
}

.hotspot:nth-child(3n) .hotspot-ring {
  animation-delay: 1.6s;
}

@keyframes radarRipple {
  0% {
    transform: scale(0.3);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.1);
    opacity: 0.15;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.hotspot-core {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.8), 0 0 0 3px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.hotspot-core::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.hotspot:hover .hotspot-core {
  transform: scale(1.35);
  background: var(--accent-gold-light);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 0 4px rgba(0, 0, 0, 0.5);
}

/* Hotspot Hover Tooltip */
.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 36px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-highlight);
  padding: 10px 14px;
  border-radius: 8px;
  min-width: 170px;
  max-width: 240px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 32px rgba(0,0,0,0.5);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bg-surface-glass);
}

.hotspot:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-cat {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.tooltip-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.tooltip-desc {
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 3px 0 2px;
  font-weight: 400;
}

.tooltip-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tooltip-action {
  font-size: 8.5px;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Hotspot Section Name Badge (En vez de números 01, 02, etc.) */
.hotspot-name-badge {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
  background: rgba(12, 14, 18, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 10px rgba(196, 200, 208, 0.12);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 35;
}

.hotspot-name-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 6px var(--accent-glow);
  flex-shrink: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hotspot:hover .hotspot-name-badge {
  color: #fff;
  background: rgba(22, 26, 34, 0.96);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 255, 255, 0.35);
  transform: translateX(-50%) translateY(-2px);
}

.hotspot:hover .hotspot-name-badge .badge-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

/* ==========================================================================
   MINIMAP / RADAR DIRECTORY LIST (MODO VERTICAL)
   ========================================================================== */
.minimap-container.radar-vertical-list {
  position: absolute;
  bottom: 80px;
  left: 24px;
  width: 250px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  z-index: 45;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.minimap-container.collapsed {
  transform: translateY(calc(100% - 38px));
}

.minimap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

.radar-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-scan-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(196, 200, 208, 0.5);
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-center-blip {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px #fff;
  position: relative;
  z-index: 2;
}

.radar-sweep-beam {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(220, 225, 235, 0.75) 0deg, rgba(196, 200, 208, 0) 90deg, transparent 360deg);
  animation: radarSweep 2.4s linear infinite;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-title-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.minimap-title {
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #fff;
}

.radar-sub-status {
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  font-weight: 600;
}

.btn-micro {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-micro:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Vertical List of Radar Items */
.radar-list-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px;
}

.radar-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.radar-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.radar-list-item.active {
  background: rgba(196, 200, 208, 0.12);
  border-color: rgba(196, 200, 208, 0.45);
}

.radar-item-indicator {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.radar-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  transition: background 0.2s ease, transform 0.2s ease;
}

.radar-item-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-gold-light);
  opacity: 0;
}

.radar-list-item.active .radar-item-dot {
  background: var(--accent-gold-light);
  box-shadow: 0 0 8px var(--accent-gold);
  transform: scale(1.2);
}

.radar-list-item.active .radar-item-ring {
  animation: radarRingPulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes radarRingPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.radar-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.radar-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-item-num {
  font-size: 8.5px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-weight: 600;
}

.radar-list-item.active .radar-item-num {
  color: var(--accent-gold-light);
}

.radar-item-name {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radar-list-item.active .radar-item-name {
  color: #fff;
}

.radar-item-meta {
  font-size: 8px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radar-item-arrow {
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.radar-list-item:hover .radar-item-arrow {
  opacity: 1;
  color: #fff;
  transform: translate(2px, -2px);
}

.minimap-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0,0,0,0.25);
}

/* ==========================================================================
   BOTTOM FLOATING CONTROL BAR (DRAKE SOUND 42 STYLE)
   ========================================================================== */
.bottom-control-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 80;
  background: linear-gradient(0deg, rgba(10, 11, 13, 0.95) 0%, rgba(10, 11, 13, 0.4) 70%, rgba(10, 11, 13, 0) 100%);
  pointer-events: none;
}

.bottom-control-bar > * {
  pointer-events: auto;
}

/* Audio Deck */
.audio-deck-wrap {
  display: flex;
  align-items: center;
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
}

.btn-play-pause {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-play-pause:hover {
  background: var(--accent-gold-light);
  color: #0a0b0d;
  transform: scale(1.05);
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
}

.track-station {
  display: flex;
  align-items: center;
  gap: 6px;
}

.station-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--accent-gold);
  color: #0a0b0d;
  padding: 2px 5px;
  border-radius: 4px;
}

.track-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

.track-artist {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.visualizer-container {
  display: flex;
  align-items: center;
}

#audio-visualizer {
  display: block;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
}

.btn-micro-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.volume-range {
  -webkit-appearance: none;
  width: 50px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* Category Filters */
.category-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 10px;
  border-radius: 40px;
  border: 1px solid var(--border-subtle);
}

.filter-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-pill.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
}

/* Utility Actions */
.utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn-ghost {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.icon-btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   PRODUCT DETAIL DRAWER (DRAKERELATED SLIDE-IN)
   ========================================================================== */
.product-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.product-drawer.open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 90vw;
  background: var(--bg-drawer);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
}

.product-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 600;
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-image-box {
  width: 100%;
  height: 240px;
  background: #15181e;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-badge-exclusive {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.item-preview-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(200,205,216,0.16) 0%, rgba(18,20,24,0.9) 70%);
}

.preview-initials {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.drawer-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}

.drawer-desc-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desc-eyebrow {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.drawer-description {
  font-size: 13.5px;
  line-height: 1.7;
  color: #f0f0f0;
  font-weight: 400;
}

.spec-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
}

.spec-val {
  font-size: 11px;
  color: var(--text-main);
  text-align: right;
}

.color-options-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.options-title {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.color-swatches {
  display: flex;
  gap: 10px;
}

.color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  outline: none;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.active {
  border-color: #fff;
  transform: scale(1.15);
}

.drawer-footer-descriptive {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(14, 16, 20, 0.95);
  display: flex;
}

.btn-drawer-close {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  height: 42px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-drawer-close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 550;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.cart-drawer.open {
  visibility: visible;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cart-drawer.open .cart-backdrop {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 92vw;
  background: var(--bg-drawer);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.7);
}

.cart-drawer.open .cart-panel {
  transform: translateX(0);
}

/* ==========================================================================
   CONTACT FORM / CAJA DE CONTACTO DIRECTO
   ========================================================================== */
.contact-form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-form-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-lead-box {
  background: rgba(196, 200, 208, 0.08);
  border: 1px solid rgba(196, 200, 208, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-lead-tag {
  font-size: 8px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-gold);
}

.contact-lead-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-lead-text strong {
  color: #fff;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-label {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-muted);
}

.required-star {
  color: var(--accent-gold);
}

.contact-input,
.contact-textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--text-dim);
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 14px rgba(196, 200, 208, 0.3);
}

.contact-textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.55;
}

/* ==========================================================================
   COMPANY CORPORATE INFO & LOCATION MAP (OFFICE & EMAIL)
   ========================================================================== */
.company-info-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-info-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-info-divider span {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.company-info-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 200, 208, 0.4), rgba(255, 255, 255, 0.05));
}

.company-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition-fast);
}

.company-info-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(196, 200, 208, 0.45);
}

.company-info-card .card-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(196, 200, 208, 0.12);
  border: 1px solid rgba(196, 200, 208, 0.3);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-info-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.company-info-card .card-label {
  font-size: 8px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.company-info-card .card-value {
  font-size: 11.5px;
  line-height: 1.45;
  color: #fff;
  font-weight: 500;
}

.company-info-card .email-value {
  color: var(--accent-gold-light);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-block;
  margin-top: 2px;
}

.company-info-card .email-value:hover {
  color: #fff;
  text-decoration: underline;
}

.company-info-card .card-link {
  font-size: 9px;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.company-info-card .card-link:hover {
  color: #fff;
}

.company-map-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-title {
  font-size: 8.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
}

.map-badge {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.map-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  display: inline-block;
}

.map-frame-container {
  width: 100%;
  height: 190px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111;
  position: relative;
}

.company-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.05) saturate(0.9);
  transition: filter 0.3s ease;
}

.company-map-iframe:hover {
  filter: contrast(1) saturate(1);
}

.success-company-footer {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  text-align: left;
}

.success-hq-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 10.5px;
}

.success-hq-row .hq-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  flex-shrink: 0;
}

.success-hq-row .hq-val {
  color: var(--text-main);
  line-height: 1.4;
}

.success-hq-row .hq-link {
  color: var(--accent-gold-light);
  text-decoration: none;
  font-family: var(--font-mono);
}

.success-hq-row .hq-link:hover {
  text-decoration: underline;
  color: #fff;
}

.contact-footer-bar {
  padding: 18px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(14, 16, 20, 0.98);
}

.btn-submit-project {
  width: 100%;
  height: 46px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit-project:hover {
  background: var(--accent-gold-light);
  color: #0a0b0d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 200, 208, 0.35);
}

/* Contact Success State */
.contact-success-state {
  flex: 1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-y: auto;
  animation: fadeIn 0.4s ease;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(196, 200, 208, 0.12);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.success-status-tag {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.success-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 8px;
}

.success-email-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.success-summary-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 18px;
}

.summary-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 8px;
}

.summary-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-label {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
}

.summary-val {
  color: var(--text-main);
  text-align: right;
  max-width: 65%;
  word-break: break-word;
}

.success-instructions {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.success-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-resend-mail {
  width: 100%;
  height: 44px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-resend-mail:hover {
  background: var(--accent-gold-light);
  color: #0a0b0d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 200, 208, 0.35);
}

.btn-new-inquiry {
  width: 100%;
  height: 40px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-new-inquiry:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.cart-panel-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-header-title h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.cart-items-tag {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.empty-cart-state p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.empty-cart-state span {
  font-size: 11px;
}

.cart-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.cart-item-price {
  font-size: 11px;
  color: var(--accent-gold-light);
}

.cart-item-qty {
  font-size: 10px;
  color: var(--text-dim);
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.btn-remove-item:hover {
  color: #f87171;
}

.cart-panel-footer {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(14, 16, 20, 0.95);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-price {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}

.summary-note {
  font-size: 9px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 4px;
}

.btn-checkout {
  background: #fff;
  color: #000;
  border: none;
  height: 48px;
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-checkout:hover {
  background: var(--accent-gold-light);
  color: #0a0b0d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 200, 208, 0.35);
}

/* ==========================================================================
   INFO MODAL
   ========================================================================== */
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.info-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: 520px;
  max-width: 90vw;
  background: var(--bg-drawer);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.15em;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
}

.modal-nav-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-nav-title {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.modal-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.modal-nav-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(196, 200, 208, 0.45);
  transform: translateY(-1px);
}

.modal-nav-btn .nav-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(196, 200, 208, 0.12);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-nav-btn .nav-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.modal-nav-btn .nav-item-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-nav-btn .nav-item-sub {
  font-size: 8.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-nav-contact-btn {
  border-color: rgba(196, 200, 208, 0.35);
  background: rgba(196, 200, 208, 0.07);
}

.modal-nav-contact-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.modal-nav-contact-btn:hover .nav-item-label,
.modal-nav-contact-btn:hover .nav-item-num,
.modal-nav-contact-btn:hover .nav-item-sub {
  color: #0a0b0d;
}

.modal-body p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.shortcuts-grid {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shortcuts-grid h4 {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.shortcut-item kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 9px;
  color: #fff;
  min-width: 24px;
  text-align: center;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #fff;
  color: #000;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==========================================================================
   INTERACTIVE SECTION OVERLAY MODAL (Quiénes Somos, Servicios, Proyectos, Testimonios)
   ========================================================================== */
.section-overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
  will-change: opacity, visibility;
}

.section-overlay-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.section-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 7, 9, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-overlay-window {
  position: relative;
  width: 980px;
  max-width: 94vw;
  max-height: 90vh;
  background: var(--bg-drawer);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85);
  transform: translate3d(0, 16px, 0) scale(0.985);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.section-overlay-modal.open .section-overlay-window {
  transform: translate3d(0, 0, 0) scale(1);
}

.section-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 16, 20, 0.95);
  flex-shrink: 0;
}

.section-tab-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tab-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.section-tab-link .tab-index {
  font-size: 9px;
  opacity: 0.5;
}

.section-tab-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.section-tab-link.active {
  background: #fff;
  color: #000;
  font-weight: 600;
}

.section-tab-link.active .tab-index {
  color: var(--accent-gold);
  opacity: 1;
}

.section-window-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-focus-space {
  background: rgba(196, 200, 208, 0.15);
  border: 1px solid rgba(196, 200, 208, 0.4);
  color: var(--accent-gold-light);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-focus-space:hover {
  background: var(--accent-gold);
  color: #0a0b0d;
  border-color: var(--accent-gold);
}

.section-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.section-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section-window-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 26px 32px;
}

.section-panel {
  display: none;
  flex-direction: column;
  gap: 28px;
}

#pane-testimonios {
  gap: 14px;
}

.section-panel.active {
  display: flex;
  animation: panelFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.panel-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-eyebrow {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  font-weight: 600;
}

.panel-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.panel-lead {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 820px;
}

.about-hero-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 840px;
}

.about-secondary-p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0.95;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-gold-light);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 600;
}

/* Panel Grid Two */
.panel-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .panel-grid-two {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
  border-color: rgba(196, 200, 208, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card-eyebrow-tag {
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.info-card h3 {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 700;
}

.info-card p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Services Grid */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.service-feature-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service-feature-card p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
}

.service-points-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-points-list li {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.45;
}

.service-tag {
  align-self: flex-start;
  font-size: 7.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  background: rgba(196, 200, 208, 0.15);
  border: 1px solid rgba(196, 200, 208, 0.35);
  color: var(--accent-gold-light);
  padding: 3px 8px;
  border-radius: 4px;
}

.btn-service-contact {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.btn-service-contact:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0b0d;
  transform: translateY(-1px);
}

/* Projects Gallery */
.projects-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.remodelaciones-gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 820px) {
  .remodelaciones-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.banos-gallery-grid,
.cocinas-gallery-grid,
.comerciales-gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-item-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  position: relative;
  overflow: hidden;
}

.project-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

/* Image Showcase in Project Card */
.project-card-image-wrap {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #0d0f13 0%, #161920 50%, #0d0f13 100%);
  background-size: 200% 100%;
  animation: cardImgShimmer 2.2s infinite ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  display: block;
}

.project-card-image-wrap:hover .project-card-img {
  transform: scale(1.06);
}

.project-card-image-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
}

.project-card-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 2;
}

.project-card-image-wrap:hover .project-card-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.project-card-zoom-hint:hover {
  background: var(--accent-gold);
  color: #0a0b0d;
  border-color: var(--accent-gold);
}

/* Video Showcase in Project Card (Remodelaciones) */
.project-card-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #090a0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #050608;
  outline: none;
}

.project-card-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
  pointer-events: none;
}

.project-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
}

.project-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.project-desc {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-muted);
}

.project-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.project-meta-chips span {
  font-size: 8px;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 12px;
}

/* ==========================================================================
   ARCHITECTURAL PHOTO LIGHTBOX MODAL
   ========================================================================== */
.image-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(5, 6, 8, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.image-lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.lightbox-content-box {
  position: relative;
  max-width: 90vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-lightbox-modal.open .lightbox-content-box {
  transform: scale(1);
}

.lightbox-image-wrap {
  position: relative;
  max-height: 76vh;
  max-width: 86vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.lightbox-img {
  max-height: 76vh;
  max-width: 86vw;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  display: block;
}

.lightbox-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 680px;
  gap: 16px;
  padding: 8px 18px;
  background: rgba(18, 20, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.lightbox-caption-text {
  font-size: 11.5px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
  flex-shrink: 0;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 9505;
}

.lightbox-close-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.06);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 9505;
}

.lightbox-nav-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev-btn {
  left: 24px;
}

.lightbox-next-btn {
  right: 24px;
}

/* Project Category Filter Navigation */
.projects-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-proj-filter {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 7px 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.btn-proj-filter:hover {
  color: #fff;
  border-color: rgba(196, 200, 208, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn-proj-filter.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0b0d;
  box-shadow: 0 4px 14px rgba(196, 200, 208, 0.35);
}

/* Project Section Containers & Blocks */
.projects-sections-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-section-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.project-section-block:hover {
  border-color: rgba(196, 200, 208, 0.4);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-section-tag {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.section-counter-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  margin-top: 2px;
}

.project-section-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-gold-light);
  letter-spacing: 0.06em;
}

.project-section-desc {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-top: 4px;
}

.project-category-badge {
  font-size: 7.5px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-gold-light);
  background: rgba(196, 200, 208, 0.15);
  border: 1px solid rgba(196, 200, 208, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.project-section-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.btn-project-quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-project-quote:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0a0b0d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(196, 200, 208, 0.35);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  color: var(--accent-gold);
  opacity: 0.6;
}

.testimonial-quote {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-author strong {
  font-size: 11px;
  color: #fff;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 9px;
  color: var(--text-dim);
}

/* ==========================================================================
   VIDEO TESTIMONIALS — ARCHITECTURAL IN-INTERFACE THEATER SHOWCASE
   (Visualización cómoda y completa directamente dentro de la interfaz sin salirse de la ventana)
   ========================================================================== */
.testimonials-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
}

.test-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.test-compact-title {
  font-size: 19px !important;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.theater-badge-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.theater-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Cinema Screen Frame */
.theater-screen-frame {
  position: relative;
  width: 100%;
  height: clamp(260px, 44vh, 430px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  border: 1px solid rgba(196, 200, 208, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(196, 200, 208, 0.15);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.theater-showcase-container.expanded-view .theater-screen-frame {
  height: clamp(340px, 58vh, 560px);
  border-color: rgba(196, 200, 208, 0.65);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.88), 0 0 50px rgba(196, 200, 208, 0.22);
}

/* Video Element inside Theater: contain prevents any crop */
.theater-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  background: #000;
  outline: none;
}

/* Screen Top Toolbar */
.theater-screen-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.88) 0%, rgba(6, 7, 9, 0.4) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 12;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.theater-now-playing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 55%;
}

.theater-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
  flex-shrink: 0;
}

.theater-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-theater-action {
  background: rgba(20, 24, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-theater-action:hover {
  background: rgba(196, 200, 208, 0.2);
  border-color: rgba(196, 200, 208, 0.5);
  color: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn-theater-expand {
  border-color: rgba(196, 200, 208, 0.45);
  color: var(--accent-gold-light);
}

.btn-theater-expand:hover {
  background: var(--accent-gold);
  color: #0a0b0d;
}

/* Cinema Overlay (Click to Play) */
.theater-custom-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.theater-custom-overlay.playing {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.theater-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 16, 20, 0.15) 0%, rgba(6, 7, 9, 0.65) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.remod-theater-container .theater-overlay-backdrop {
  background: radial-gradient(circle at center, rgba(14, 16, 20, 0.15) 0%, rgba(6, 7, 9, 0.6) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theater-overlay-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 20px;
}

.btn-theater-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(220, 225, 235, 0.92);
  color: #0a0b0d;
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(196, 200, 208, 0.65);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn-theater-play svg {
  margin-left: 3px;
}

.theater-custom-overlay:hover .btn-theater-play {
  transform: scale(1.1);
  background: #ffffff;
  color: #0a0b0d;
  box-shadow: 0 0 45px rgba(220, 225, 235, 0.85);
}

.theater-overlay-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.theater-overlay-tag {
  font-size: 8.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-gold-light);
  text-transform: uppercase;
}

.theater-overlay-title {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.theater-overlay-prompt {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-top: 4px;
}

/* Theater Info Bar (Details of Active Video) */
.theater-info-bar {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.theater-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theater-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-meta-badge {
  color: var(--accent-gold);
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.theater-quality-pill {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.theater-index-counter {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.theater-info-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.theater-info-desc {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Playlist Section & 3 Interactive Case Cards */
.theater-playlist-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-header-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.theater-playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.remodelaciones-playlist-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 680px) {
  .remodelaciones-playlist-grid {
    grid-template-columns: 1fr !important;
  }
}

.playlist-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: all 0.22s ease;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.playlist-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(196, 200, 208, 0.45);
  transform: translateY(-2px);
}

.playlist-card.active {
  background: rgba(196, 200, 208, 0.14);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(196, 200, 208, 0.28);
}

.card-play-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.playlist-card:hover .card-play-status {
  background: rgba(196, 200, 208, 0.3);
  color: #fff;
}

.playlist-card.active .card-play-status {
  background: var(--accent-gold);
  color: #0a0b0d;
  box-shadow: 0 0 12px rgba(196, 200, 208, 0.6);
}

.card-play-status .status-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  display: block;
}

.card-play-status .status-icon {
  display: none;
}

.playlist-card.active .card-play-status .status-num {
  display: none;
}

.playlist-card.active .card-play-status .status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
}

.card-case-tag {
  font-size: 7.5px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-case-title {
  font-size: 12px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-case-sub {
  font-size: 9px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-playing-indicator {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 5px;
  border-radius: 4px;
  display: none;
  flex-shrink: 0;
}

.playlist-card.active .card-playing-indicator {
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP, TABLETS & MOBILE PHONES)
   ========================================================================== */

/* --- TIER 1: LAPTOPS & INTERMEDIATE DESKTOPS (<= 1200px) --- */
@media (max-width: 1200px) {
  .studio-header {
    padding: 0 16px;
  }
  .studio-clock {
    margin-right: 4px;
  }
  .space-nav {
    padding: 3px 6px;
    gap: 3px;
  }
  .nav-space-btn {
    padding: 7px 11px;
    font-size: 10px;
    gap: 5px;
  }
  .category-filters {
    max-width: 40vw;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .category-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    padding: 5px 10px;
    font-size: 9.5px;
    flex-shrink: 0;
  }
}

/* --- TIER 2: TABLETS & IPADS (<= 1024px, Portrait & Landscape) --- */
@media (max-width: 1024px) {
  .studio-clock {
    display: none; /* Free header real estate for room tabs */
  }

  .header-logo-img {
    height: 25px;
    max-width: 135px;
  }

  .status-text {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .space-nav {
    padding: 3px 5px;
    gap: 2px;
  }

  .nav-space-btn {
    padding: 6px 9px;
    font-size: 9.5px;
    gap: 4px;
  }

  .section-overlay-window {
    width: 94vw;
    max-width: 94vw;
    max-height: 90vh;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .projects-gallery-grid,
  .banos-gallery-grid,
  .cocinas-gallery-grid,
  .comerciales-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .kitchen-photos-grid,
  .project-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .theater-playlist-grid,
  .remodelaciones-playlist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .drawer-panel,
  .cart-panel {
    width: 440px;
    max-width: 92vw;
  }

  .minimap-container.radar-vertical-list {
    bottom: 76px;
    left: 16px;
    width: 220px;
  }
}

/* --- TIER 3: MOBILE PHONES & COMPACT TABLETS (<= 768px) --- */
@media (max-width: 768px) {
  /* Header Bar with Safe Area Support */
  .studio-header {
    height: calc(56px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 4px) 12px 0 12px;
  }

  .header-left {
    gap: 8px;
  }

  .header-logo-img {
    height: 23px;
    max-width: 110px;
  }

  .live-status-chip {
    padding: 3px 6px;
  }

  .live-status-chip .status-text {
    display: none; /* Icon pulse dot only to maximize header space */
  }

  .header-right {
    gap: 6px;
  }

  .btn-pill-label {
    display: none; /* Hide labels on mobile to keep icons touch-accessible */
  }

  .icon-btn {
    height: 34px;
    padding: 0 9px;
  }

  .contact-nav-btn {
    padding: 0 10px;
  }

  .menu-btn {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .lang-switch {
    height: 32px;
    padding: 0 4px;
  }

  .btn-lang {
    font-size: 9px;
    padding: 4px 6px;
  }

  /* Floating Space Navigation Pill Bar (Direct Room Switching on Mobile) */
  .space-nav {
    display: flex !important;
    position: fixed;
    top: calc(58px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 95;
    width: auto;
    max-width: calc(100vw - 16px);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 6px;
    gap: 4px;
    background: rgba(12, 14, 18, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  }

  .space-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-space-btn {
    padding: 6px 11px;
    font-size: 9.5px;
    border-radius: 16px;
    flex-shrink: 0;
    gap: 5px;
  }

  /* Floating Category Filters Bar */
  .category-filters {
    display: flex !important;
    position: fixed;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 16px);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 75;
    padding: 4px 8px;
    border-radius: 24px;
    background: rgba(12, 14, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  }

  .category-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    padding: 5px 10px;
    font-size: 9px;
    flex-shrink: 0;
  }

  /* Bottom Control Bar on Mobile */
  .bottom-control-bar {
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 0 12px env(safe-area-inset-bottom, 0px) 12px;
    background: linear-gradient(0deg, rgba(10, 11, 13, 0.98) 0%, rgba(10, 11, 13, 0.6) 80%, transparent 100%);
  }

  .audio-controls {
    padding: 4px 10px 4px 6px;
    gap: 8px;
  }

  .btn-play-pause {
    width: 32px;
    height: 32px;
  }

  .track-meta {
    min-width: 0;
    max-width: 125px;
    overflow: hidden;
  }

  .track-title {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .track-artist {
    font-size: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .visualizer-container,
  .volume-control {
    display: none; /* Hide on mobile to prevent clutter and touch conflicts */
  }

  .utility-actions {
    gap: 6px;
  }

  .icon-btn-ghost {
    width: 34px;
    height: 34px;
  }

  /* Hide Minimap on Mobile to keep 3D view clean */
  .minimap-container {
    display: none !important;
  }

  /* Explore Hint */
  .explore-hint {
    bottom: calc(112px + env(safe-area-inset-bottom, 0px));
    font-size: 8.5px;
    padding: 6px 12px;
    gap: 6px;
  }

  /* Fullscreen Mobile View for Section Overlay Modal */
  .section-overlay-window {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .section-window-header {
    height: auto;
    min-height: 52px;
    padding: env(safe-area-inset-top, 6px) 12px 8px 12px;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(14, 16, 20, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section-window-actions {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }

  .btn-focus-space {
    font-size: 9px;
    padding: 5px 11px;
  }

  .section-modal-close {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .section-tab-nav {
    order: 2;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 3px;
    scroll-snap-type: x mandatory;
  }

  .section-tab-nav::-webkit-scrollbar {
    display: none;
  }

  .section-tab-link {
    font-size: 10px;
    padding: 7px 11px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }

  .section-window-body {
    padding: 16px 12px calc(30px + env(safe-area-inset-bottom, 0px));
  }

  /* Typography & Grids on Mobile */
  .panel-hero {
    margin-bottom: 16px;
  }

  .panel-title {
    font-size: 22px;
  }

  .panel-lead {
    font-size: 11px;
    line-height: 1.6;
  }

  .about-secondary-p {
    font-size: 10.5px;
    line-height: 1.6;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 7.5px;
  }

  .panel-grid-two,
  .services-cards-grid,
  .projects-gallery-grid,
  .banos-gallery-grid,
  .cocinas-gallery-grid,
  .comerciales-gallery-grid,
  .kitchen-photos-grid,
  .project-showcase-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .project-card-image-wrap {
    height: clamp(190px, 52vw, 240px);
    border-radius: 10px;
  }

  .project-card-zoom-hint {
    opacity: 0.9 !important;
    transform: scale(1) !important;
  }

  .service-card {
    padding: 18px 16px;
  }

  .projects-category-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 8px;
    margin-bottom: 16px;
  }

  .projects-category-filter::-webkit-scrollbar {
    display: none;
  }

  .btn-proj-filter {
    padding: 6px 12px;
    font-size: 8.5px;
    flex-shrink: 0;
  }

  .project-section-block {
    padding: 16px 12px;
    gap: 14px;
  }

  .project-section-title {
    font-size: 17px;
  }

  .btn-project-quote,
  .btn-service-contact {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .testimonials-header-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .test-compact-title {
    font-size: 16px !important;
  }

  .theater-screen-frame {
    height: clamp(190px, 30vh, 260px);
    border-radius: 10px;
  }

  .theater-now-playing {
    display: none;
  }

  .theater-playlist-grid,
  .remodelaciones-playlist-grid {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .playlist-card {
    padding: 8px 10px;
    gap: 8px;
  }

  /* Drawers: Full Screen on Mobile */
  .drawer-panel,
  .cart-panel {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .drawer-header {
    height: auto;
    min-height: 52px;
    padding: env(safe-area-inset-top, 6px) 16px 8px 16px;
  }

  .drawer-body,
  .cart-body {
    padding: 16px 12px calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 14px;
    padding: 11px 12px;
    border-radius: 8px;
  }

  .btn-submit-project {
    width: 100%;
    min-height: 46px;
  }

  .company-map-iframe {
    height: 160px;
  }

  /* Info Modal & Mobile Menu */
  .modal-box {
    width: 94vw;
    max-width: 94vw;
    max-height: 90dvh;
    padding: 20px 16px;
    overflow-y: auto;
  }

  .modal-nav-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .modal-nav-btn {
    padding: 8px 10px;
  }

  .modal-header h2 {
    font-size: 14px;
  }

  .shortcuts-grid {
    display: none; /* Hide desktop keyboard shortcuts on touch devices */
  }

  /* Lightbox Modal on Mobile */
  .lightbox-content-box {
    max-width: 96vw;
    max-height: 92dvh;
    gap: 10px;
  }

  .lightbox-image-wrap {
    max-height: 60vh;
    max-width: 96vw;
  }

  .lightbox-img {
    max-height: 60vh;
    max-width: 96vw;
  }

  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
  }

  .lightbox-prev-btn {
    left: 6px;
  }

  .lightbox-next-btn {
    right: 6px;
  }

  .lightbox-close-btn {
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: 8px;
    width: 36px;
    height: 36px;
  }

  .lightbox-caption-bar {
    max-width: 96vw;
    padding: 6px 10px;
    gap: 8px;
  }

  .lightbox-caption-text {
    font-size: 9.5px;
  }

  .lightbox-counter {
    font-size: 8.5px;
    padding: 2px 7px;
  }
}

/* --- TIER 4: ULTRA-COMPACT SMARTPHONES (<= 480px) --- */
@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 12px 14px;
  }

  .project-name {
    font-size: 13.5px;
  }

  .section-tab-link {
    font-size: 9px;
    padding: 5px 8px;
  }

  .modal-box {
    padding: 18px 14px;
  }

  .toast-notification {
    max-width: 88vw;
    font-size: 10px;
    padding: 8px 16px;
    text-align: center;
  }
}

/* --- LANDSCAPE MOBILE ORIENTATION --- */
@media (max-height: 520px) and (orientation: landscape) {
  .section-overlay-window {
    max-height: 96dvh;
  }

  .section-window-header {
    padding: 4px 12px;
    min-height: 40px;
  }

  .section-window-body {
    padding: 8px 12px 16px;
  }

  .theater-screen-frame {
    height: clamp(140px, 48vh, 220px);
  }

  .space-nav {
    top: calc(46px + env(safe-area-inset-top, 0px));
    padding: 2px 4px;
  }

  .category-filters {
    bottom: calc(50px + env(safe-area-inset-bottom, 0px));
    padding: 2px 6px;
  }

  .bottom-control-bar {
    height: calc(46px + env(safe-area-inset-bottom, 0px));
  }
}
