/* ==========================================================================
   HOJALATERÍA LOS CEREZOS - ESTILOS TÉCNICOS INDUSTRIALES (BLUEPRINT CAD)
   ========================================================================== */

:root {
  --zinc-bg: #F4F6F8;
  --zinc-metal: #E5E9EC;
  --graphite-dark: #1E2022;
  --graphite-line: rgba(30, 32, 34, 0.15);
  --wa-green: #25D366;
  --wa-green-hover: #1EBE5D;
  --blueprint-blue: #2A5C8A;
  --dimension-red: #D9483B;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Fondo con cuadrícula milimétrica de plano técnico */
.bg-blueprint-grid {
  background-color: var(--zinc-bg);
  background-image: 
    linear-gradient(to right, rgba(30, 32, 34, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 32, 34, 0.04) 1px, transparent 1px),
    linear-gradient(to right, rgba(30, 32, 34, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 32, 34, 0.08) 1px, transparent 1px);
  background-size: 10px 10px, 10px 10px, 50px 50px, 50px 50px;
}

/* Mesa de trabajo con cuadrícula técnica oscura */
.bg-workbench {
  background-color: #1a1c1e;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 10px 10px, 10px 10px, 50px 50px, 50px 50px;
}

/* Papel milimetrado de croquis */
.bg-graph-paper {
  background-color: #ffffff;
  background-image: 
    linear-gradient(to right, rgba(42, 92, 138, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 92, 138, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(42, 92, 138, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 92, 138, 0.18) 1px, transparent 1px);
  background-size: 8px 8px, 8px 8px, 40px 40px, 40px 40px;
}

/* Marcas de registro CAD (cruces de calibración en esquinas) */
.cad-corner-mark {
  position: relative;
}
.cad-corner-mark::before,
.cad-corner-mark::after {
  content: '';
  position: absolute;
  background-color: var(--graphite-dark);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
}

/* Cruces de 14px */
.cad-cross-tl::before { top: 6px; left: 0; width: 16px; height: 1px; }
.cad-cross-tl::after  { top: 0; left: 6px; width: 1px; height: 16px; }

.cad-cross-tr::before { top: 6px; right: 0; width: 16px; height: 1px; }
.cad-cross-tr::after  { top: 0; right: 6px; width: 1px; height: 16px; }

.cad-cross-bl::before { bottom: 6px; left: 0; width: 16px; height: 1px; }
.cad-cross-bl::after  { bottom: 0; left: 6px; width: 1px; height: 16px; }

.cad-cross-br::before { bottom: 6px; right: 0; width: 16px; height: 1px; }
.cad-cross-br::after  { bottom: 0; right: 6px; width: 1px; height: 16px; }

/* Línea de pliegue de chapa (Fold line con guiones) */
.fold-border {
  border-style: dashed;
  border-color: rgba(30, 32, 34, 0.25);
}

/* Efecto de chapa metálica cepillada */
.metal-brushed {
  background: linear-gradient(145deg, #fbfcfd 0%, #edf1f4 50%, #e2e7eb 100%);
  border: 1px solid rgba(30, 32, 34, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 5px rgba(0,0,0,0.03);
}

/* Sello técnico de taller */
.tech-stamp {
  border: 2px dashed #1E2022;
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  transform: rotate(-1.5deg);
}

/* Micro-animación de pulso verde WhatsApp */
@keyframes wa-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.btn-whatsapp-pulse {
  animation: wa-glow 2.5s infinite;
}

/* Scrollbar técnica minimalista */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #1E2022;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a3f44;
}

/* ==========================================================================
   BARRA FIJA INFERIOR MÓVIL (Z-INDEX Y STACKING CONTEXT PRIORITARIO)
   ========================================================================== */
.fixed.bottom-0 {
  z-index: 50 !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* ==========================================================================
   SECUENCIA DE TALLER: DE TU IDEA A LA LATA TERMINADA (MESA DE TRABAJO)
   ========================================================================== */
.workshop-sequence-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.workshop-sequence-card:hover {
  transform: rotate(0deg) scale(1.015);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}


