/* ==========================================================================
   Cerrajería 24 hrs alta tecnología - Master Stylesheet
   Architecture: Zero-dependency CSS3 with Custom Properties & 60fps Hardware Accelerated Motion
   ========================================================================== */

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --color-navy-950: #060b17;
  --color-navy-900: #0b1328;
  --color-navy-850: #0f1c3a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-400: #94a3b8;
  --color-slate-300: #cbd5e1;
  --color-slate-100: #f1f5f9;
  
  --color-amber-300: #fde047;
  --color-amber-400: #facc15;
  --color-amber-500: #eab308;
  --color-amber-600: #ca8a04;

  --color-emerald-400: #34d399;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;

  --color-sky-400: #38bdf8;
  --color-sky-500: #0ea5e9;

  /* Elevation Shadows */
  --shadow-glow-amber: 0 0 25px rgba(234, 179, 8, 0.25);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--color-navy-950);
  color: var(--color-slate-100);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography Utility Classes */
.font-display {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Layout Utilities */
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:max-w-none { max-width: none; }
  .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:divide-y-0 > :not([hidden]) ~ :not([hidden]) { border-top-width: 0px; }
  .md\:divide-x > :not([hidden]) ~ :not([hidden]) { border-left-width: 1px; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:pl-6 { padding-left: 1.5rem; }
  .md\:pt-0 { padding-top: 0px; }
  .md\:pb-16 { padding-bottom: 4rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:inline { display: inline; }
}

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

.divide-slate-800 > :not([hidden]) ~ :not([hidden]) {
  border-color: var(--color-slate-800);
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
}

/* Positioning & Sizes */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }

/* Colors & Backgrounds */
.bg-navy-950 { background-color: var(--color-navy-950); }
.bg-navy-900 { background-color: var(--color-navy-900); }
.bg-navy-900\/70 { background-color: rgba(11, 19, 40, 0.7); }
.bg-navy-900\/60 { background-color: rgba(11, 19, 40, 0.6); }
.bg-navy-900\/40 { background-color: rgba(11, 19, 40, 0.4); }
.bg-navy-900\/90 { background-color: rgba(11, 19, 40, 0.9); }
.bg-navy-950\/85 { background-color: rgba(6, 11, 23, 0.85); }
.bg-navy-950\/90 { background-color: rgba(6, 11, 23, 0.9); }
.bg-navy-950\/95 { background-color: rgba(6, 11, 23, 0.95); }
.bg-navy-950\/98 { background-color: rgba(6, 11, 23, 0.98); }
.bg-slate-950 { background-color: #020617; }
.bg-slate-950\/60 { background-color: rgba(2, 6, 23, 0.6); }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.6); }
.bg-slate-900\/85 { background-color: rgba(15, 23, 42, 0.85); }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }

.bg-amber-400 { background-color: var(--color-amber-400); }
.bg-amber-500 { background-color: var(--color-amber-500); }
.bg-amber-400\/10 { background-color: rgba(250, 204, 21, 0.1); }
.bg-emerald-500 { background-color: var(--color-emerald-500); }
.bg-emerald-600 { background-color: var(--color-emerald-600); }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-sky-400\/10 { background-color: rgba(56, 189, 248, 0.1); }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-slate-800 { border-color: var(--color-slate-800); }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8); }
.border-slate-700 { border-color: var(--color-slate-700); }
.border-amber-400\/20 { border-color: rgba(250, 204, 21, 0.2); }
.border-amber-400\/40 { border-color: rgba(250, 204, 21, 0.4); }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.border-blue-500\/20 { border-color: rgba(59, 130, 246, 0.2); }
.border-purple-500\/20 { border-color: rgba(168, 85, 247, 0.2); }

/* Text Colors */
.text-white { color: #ffffff; }
.text-slate-100 { color: var(--color-slate-100); }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: var(--color-slate-300); }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-500 { color: #64748b; }
.text-navy-950 { color: var(--color-navy-950); }
.text-amber-200 { color: #fef08a; }
.text-amber-300 { color: var(--color-amber-300); }
.text-amber-400 { color: var(--color-amber-400); }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: var(--color-emerald-400); }
.text-sky-300 { color: #7dd3fc; }
.text-sky-400 { color: var(--color-sky-400); }
.text-blue-400 { color: #60a5fa; }
.text-purple-400 { color: #c084fc; }

.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, #facc15, #eab308)); }
.from-amber-300 { --tw-gradient-from: #fde047; --tw-gradient-stops: var(--tw-gradient-from), #eab308; }
.via-amber-400 { --tw-gradient-stops: var(--tw-gradient-from), #facc15, #ca8a04; }
.to-yellow-500 { --tw-gradient-to: #eab308; }

.from-amber-400 { --tw-gradient-from: #facc15; --tw-gradient-stops: var(--tw-gradient-from), #eab308; }
.from-amber-500 { --tw-gradient-from: #f59e0b; --tw-gradient-stops: var(--tw-gradient-from), #ca8a04; }
.to-amber-600 { --tw-gradient-to: #ca8a04; }
.from-emerald-500 { --tw-gradient-from: #10b981; --tw-gradient-stops: var(--tw-gradient-from), #059669; }
.to-emerald-600 { --tw-gradient-to: #059669; }
.from-slate-900 { --tw-gradient-from: #0f172a; --tw-gradient-stops: var(--tw-gradient-from), #060b17; }
.to-navy-950 { --tw-gradient-to: #060b17; }

/* Font Sizes & Weights */
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

@media (min-width: 640px) {
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg\:text-6xl { font-size: 3.75rem; }
}

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }

/* Rounded & Borders */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Paddings & Margins */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-28 { padding-bottom: 7rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-1 { margin-right: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-auto { margin-left: auto; }

/* Visual Effects */
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2), 0 4px 6px -4px rgba(0,0,0,0.2); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.3); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.drop-shadow { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.drop-shadow-md { filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); }

/* ==========================================================================
   Smooth Transform-Based Scroll Parallax (60 fps requestAnimationFrame)
   ========================================================================== */
.parallax-bg-wrapper {
  perspective: 1000px;
}

.parallax-layer {
  position: absolute;
  inset: -20% 0 -20% 0;
  width: 100%;
  height: 140%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.orb-1 {
  width: 600px;
  height: 600px;
  top: 10%;
  left: -150px;
  background: radial-gradient(circle, #eab308 0%, #38bdf8 60%, transparent 70%);
}

.orb-2 {
  width: 750px;
  height: 750px;
  top: 45%;
  right: -200px;
  background: radial-gradient(circle, #38bdf8 0%, #0284c7 50%, transparent 70%);
}

.layer-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ==========================================================================
   Hero Section & Bespoke Video Architecture (Zero CLS Guarantee)
   ========================================================================== */
.hero-section {
  aspect-ratio: 16 / 9;
}

.hero-media-container {
  aspect-ratio: 16 / 9;
}

.hero-poster, .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video.video-playing {
  opacity: 1 !important;
}

/* ==========================================================================
   Hours Table & Active Today Highlight
   ========================================================================== */
.day-row.is-today {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.day-row.is-today .today-indicator {
  display: inline-block !important;
}

/* ==========================================================================
   Floating Mobile Bar Safe Area
   ========================================================================== */
.safe-area-bottom {
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* ==========================================================================
   Reduced Motion Accessibility (Strict Compliance)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax-layer {
    transform: none !important;
    will-change: auto !important;
  }

  .animate-ping, .animate-bounce {
    animation: none !important;
  }
}
