/* ==========================================================================
   Estilos Completos Precompilados - Primer Desayuno Sinergia Comercial
   100% Independiente de Node.js / Vite (Carga instantánea sin errores visuales)
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-width: 0;
  border-style: solid;
  border-color: #e2e8f0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  scroll-behavior: smooth;
  background-color: #ffffff;
  color: #1e293b;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: #2563eb;
  color: #ffffff;
}

h1, h2, h3, .font-heading {
  letter-spacing: -0.025em;
}

/* Protección estricta de tamaño para iconos SVG desde el primer instante de carga */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  max-width: 100%;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Autofill limpio en modo claro */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
  -webkit-text-fill-color: #0f172a !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Utilidades de visualización y posicionamiento */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1 1 0%;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.isolate {
  isolation: isolate;
}

.overflow-hidden {
  overflow: hidden;
}

.pointer-events-none {
  pointer-events: none;
}

.-z-10 {
  z-index: -10;
}

.z-10 {
  z-index: 10;
}

/* Posicionamiento y transformaciones */
.top-0 {
  top: 0px;
}

.top-10 {
  top: 2.5rem;
}

.top-1\/4 {
  top: 25%;
}

.right-6 {
  right: 1.5rem;
}

.right-8 {
  right: 2rem;
}

.right-10 {
  right: 2.5rem;
}

.left-1\/2 {
  left: 50%;
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.top-1\/4.left-1\/2.-translate-x-1\/2.-translate-y-1\/2 {
  transform: translate(-50%, -50%);
}

/* Dimensiones */
.min-h-screen {
  min-height: 100vh;
}

.w-full {
  width: 100%;
}

.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-72 {
  width: 18rem;
}

.h-72 {
  height: 18rem;
}

.w-\[600px\] {
  width: 600px;
}

.h-\[350px\] {
  height: 350px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Espaciado (Margin / Padding / Gap) */
.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.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-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.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;
}

.p-6 {
  padding: 1.5rem;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem;
}

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

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

/* Tipografía */
.text-center {
  text-align: center;
}

.text-\[11px\] {
  font-size: 11px;
  line-height: 1.4;
}

.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-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-\[1\.15\] {
  line-height: 1.15;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Colores de Texto */
.text-white {
  color: #ffffff;
}

.text-white\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-slate-400 {
  color: #94a3b8;
}

.text-slate-500 {
  color: #64748b;
}

.text-slate-600 {
  color: #475569;
}

.text-slate-700 {
  color: #334155;
}

.text-slate-800 {
  color: #1e293b;
}

.text-slate-900 {
  color: #0f172a;
}

.text-blue-600 {
  color: #2563eb;
}

.text-blue-700 {
  color: #1d4ed8;
}

.text-emerald-600 {
  color: #059669;
}

.text-emerald-700 {
  color: #047857;
}

.text-amber-700 {
  color: #b45309;
}

.text-red-500 {
  color: #ef4444;
}

.text-red-600 {
  color: #dc2626;
}

.placeholder-slate-400::placeholder {
  color: #94a3b8;
}

/* Texto con degradado azul corporativo */
.bg-clip-text.text-transparent {
  background-image: linear-gradient(to right, #2563eb, #1d4ed8, #3730a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Fondos y Degradados */
.bg-white {
  background-color: #ffffff;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-indigo-50 {
  background-color: #eef2ff;
}

.bg-emerald-50 {
  background-color: #ecfdf5;
}

.bg-slate-50\/80 {
  background-color: rgba(248, 250, 252, 0.85);
}

.bg-gradient-to-tr.from-blue-100\/60 {
  background-image: linear-gradient(to top right, rgba(219, 234, 254, 0.65), rgba(224, 242, 254, 0.45), transparent);
}

.bg-gradient-to-r.from-blue-600.to-blue-700 {
  background-image: linear-gradient(to right, #2563eb, #1d4ed8);
}

.bg-gradient-to-r.from-blue-600.via-blue-700.to-indigo-800 {
  background-image: linear-gradient(to right, #2563eb, #1d4ed8, #3730a3);
}

.hover\:from-blue-700.hover\:to-indigo-900:hover {
  background-image: linear-gradient(to right, #1d4ed8, #1e40af, #312e81);
}

/* Bordes y Esquinas Redondeadas */
.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-blue-100 {
  border-color: #dbeafe;
}

.border-blue-200 {
  border-color: #bfdbfe;
}

.border-blue-400 {
  border-color: #60a5fa;
}

.border-slate-200 {
  border-color: #e2e8f0;
}

.border-slate-300 {
  border-color: #cbd5e1;
}

.border-emerald-300 {
  border-color: #6ee7b7;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Sombras y Filtros */
.shadow-xs, .shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.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 20px -3px rgba(37, 99, 235, 0.28), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
}

.shadow-xl {
  box-shadow: 0 20px 35px -5px rgba(30, 58, 138, 0.07), 0 8px 15px -6px rgba(30, 58, 138, 0.05);
}

.blur-\[90px\] {
  filter: blur(90px);
}

.blur-\[100px\] {
  filter: blur(100px);
}

/* Interacciones, Focus y Transiciones */
.transition-all {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cursor-pointer {
  cursor: pointer;
}

input:focus, select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.selector-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  border-radius: 0.875rem;
  border: 2px solid #cbd5e1;
  background-color: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  font-family: inherit;
}

.selector-btn:hover {
  border-color: #94a3b8;
  background-color: #f8fafc;
  color: #0f172a;
}

.selector-btn.active {
  border-color: #2563eb;
  background-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.selector-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.hover\:-translate-y-0\.5:hover {
  transform: translateY(-2px);
}

.active\:translate-y-0:active {
  transform: translateY(0);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.hover\:text-blue-700:hover {
  color: #1d4ed8;
}

.hover\:bg-blue-50:hover {
  background-color: #eff6ff;
}

.hover\:border-blue-200:hover {
  border-color: #bfdbfe;
}

/* Breakpoints Responsivos (sm: 640px, lg: 1024px) */
@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .sm\:p-8 {
    padding: 2rem;
  }
  .sm\:pt-10 {
    padding-top: 2.5rem;
  }
  .sm\:right-8 {
    right: 2rem;
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1.15;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:gap-4 {
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .lg\:pt-16 {
    padding-top: 4rem;
  }
  .lg\:pb-8 {
    padding-bottom: 2rem;
  }
  .lg\:p-10 {
    padding: 2.5rem;
  }
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1.15;
  }
}
