/* AjoloWeb – Tailwind-style utilities (precompiled) */
:root {
  --color-primary: #2563eb;
  --color-background-light: #f7f9ff;
  --color-background-dark: #0b1220;
}

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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 700, 'GRAD' 0, 'opsz' 24;
}

.dark {
  color-scheme: dark;
}

.bg-gradient-to-br {
  --tw-gradient-from: rgba(0, 0, 0, 0);
  --tw-gradient-to: rgba(0, 0, 0, 0);
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.-top-4 {
  top: -1rem;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

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

.absolute {
  position: absolute;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bg-background-light {
  background-color: #f7f9ff;
}

.bg-background-light\/80 {
  background-color: rgba(247, 249, 255, 0.8);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-green-400 {
  background-color: #4ade80;
}

.bg-primary {
  background-color: #2563eb;
}

.bg-primary\/10 {
  background-color: rgba(37, 99, 235, 0.1);
}

.bg-primary\/20 {
  background-color: rgba(37, 99, 235, 0.2);
}

.bg-red-400 {
  background-color: #f87171;
}

.bg-white {
  background-color: #ffffff;
}

.bg-yellow-400 {
  background-color: #facc15;
}

.block {
  display: block;
}

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

.border {
  border-width: 1px;
  border-style: solid;
}

.border-2 {
  border-width: 2px;
  border-style: solid;
}

.border-4 {
  border-width: 4px;
  border-style: solid;
}

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

.border-dashed {
  border-style: dashed;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.border-none {
  border-style: none;
  border-width: 0;
}

.border-primary {
  border-color: #2563eb;
}

.border-primary\/30 {
  border-color: rgba(37, 99, 235, 0.3);
}

.border-t {
  border-top-width: 1px;
  border-style: solid;
}

.border-t-2 {
  border-top-width: 2px;
  border-style: solid;
}

.bottom-6 {
  bottom: 1.5rem;
}

.cursor-pointer {
  cursor: pointer;
}

.dark .dark\:bg-background-dark {
  background-color: #0b1220;
}

.dark .dark\:bg-background-dark\/80 {
  background-color: rgba(11, 18, 32, 0.8);
}

.dark .dark\:bg-gray-700 {
  background-color: #374151;
}

.dark .dark\:bg-gray-800 {
  background-color: #1f2937;
}

.dark .dark\:bg-gray-900 {
  background-color: #111827;
}

.dark .dark\:bg-gray-950 {
  background-color: #030712;
}

.dark .dark\:border-gray-700 {
  border-color: #374151;
}

.dark .dark\:border-gray-800 {
  border-color: #1f2937;
}

.dark .dark\:border-gray-900 {
  border-color: #111827;
}

.dark .dark\:hover\:bg-gray-700:hover {
  background-color: #374151;
}

.dark .dark\:text-gray-400 {
  color: #9ca3af;
}

.dark .dark\:text-white {
  color: #ffffff;
}

.duration-300 {
  transition-duration: 300ms;
}

.fixed {
  position: fixed;
}

.flex {
  display: flex;
}

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

.flex-grow {
  flex-grow: 1;
}

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

.focus\:bg-white:focus {
  background-color: #ffffff;
}

.focus\:fixed:focus {
  position: fixed;
}

.focus\:left-4:focus {
  left: 1rem;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.focus\:px-4:focus {
  padding-left: 1rem;
  padding-right: 1rem;
}

.focus\:py-2:focus {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(37, 99, 235, 0.35));
}

.focus\:ring-primary:focus {
  --tw-ring-color: rgba(37, 99, 235, 0.35);
}

.focus\:rounded-lg:focus {
  border-radius: 0.5rem;
}

.focus\:top-4:focus {
  top: 1rem;
}

.focus\:z-\[60\]:focus {
  z-index: 60;
}

.font-black {
  font-weight: 900;
}

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

.font-display {
  font-family: Manrope, sans-serif;
}

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

.font-normal {
  font-weight: 400;
}

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

.from-blue-500\/20 {
  --tw-gradient-from: rgba(59, 130, 246, 0.2);
}

.from-primary\/20 {
  --tw-gradient-from: rgba(37, 99, 235, 0.2);
}

.from-red-500\/20 {
  --tw-gradient-from: rgba(239, 68, 68, 0.2);
}

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

.gap-12 {
  gap: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

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

.group:hover .group-hover\:-translate-y-2 {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.group[open] .group-open\:bg-primary\/10 {
  background-color: rgba(37, 99, 235, 0.1);
}

.group[open] .group-open\:rotate-180 {
  --tw-rotate: 180deg;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.h-0\.5 {
  height: 0.125rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-32 {
  height: 8rem;
}

.h-4 {
  height: 1rem;
}

.h-8 {
  height: 2rem;
}

.h-full {
  height: 100%;
}

.hidden {
  display: none;
}

.hover\:bg-gray-300:hover {
  background-color: #d1d5db;
}

.hover\:bg-primary:hover {
  background-color: #2563eb;
}

.hover\:border-primary\/50:hover {
  border-color: rgba(37, 99, 235, 0.5);
}

.hover\:opacity-90:hover {
  opacity: 0.9;
}

.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.hover\:shadow-primary\/20:hover {
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
}

.hover\:text-primary:hover {
  color: #2563eb;
}

.hover\:text-white:hover {
  color: #ffffff;
}

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

.inset-0 {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

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

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

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

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

.leading-tight {
  line-height: 1.25;
}

.left-0 {
  left: 0px;
}

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

.list-none {
  list-style: none;
}

.max-w-3xl {
  max-width: 48rem;
}

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

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

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

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

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

.mb-2 {
  margin-bottom: 0.5rem;
}

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

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

.mb-8 {
  margin-bottom: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

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

.opacity-75 {
  opacity: 0.75;
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.overflow-hidden {
  overflow: hidden;
}

.p-1 {
  padding: 0.25rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

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

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

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

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

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

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

.relative {
  position: relative;
}

.right-6 {
  right: 1.5rem;
}

.rounded {
  border-radius: 0.25rem;
}

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

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

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

.rounded-lg {
  border-radius: 0.5rem;
}

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

.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.size-10 {
  width: 2.5rem;
  height: 2.5rem;
}

.size-12 {
  width: 3rem;
  height: 3rem;
}

.size-14 {
  width: 3.5rem;
  height: 3.5rem;
}

.size-2\.5 {
  width: 0.625rem;
  height: 0.625rem;
}

.size-20 {
  width: 5rem;
  height: 5rem;
}

.size-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.size-8 {
  width: 2rem;
  height: 2rem;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sticky {
  position: sticky;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.1;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 1.1;
}

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

.text-5xl {
  font-size: 3rem;
  line-height: 1.1;
}

.text-\[\#0d1b10\] {
  color: #0d1b10;
}

.text-background-dark {
  color: #0b1220;
}

.text-blue-500 {
  color: #3b82f6;
}

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

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.5;
}

.text-primary {
  color: #2563eb;
}

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

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.5;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.5;
}

.to-blue-500\/5 {
  --tw-gradient-to: rgba(59, 130, 246, 0.05);
}

.to-primary\/5 {
  --tw-gradient-to: rgba(37, 99, 235, 0.05);
}

.to-red-500\/5 {
  --tw-gradient-to: rgba(239, 68, 68, 0.05);
}

.top-0 {
  top: 0px;
}

.top-10 {
  top: 2.5rem;
}

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

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

.tracking-widest {
  letter-spacing: 0.1em;
}

.transform {
  transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.uppercase {
  text-transform: uppercase;
}

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

.w-1\/3 {
  width: 33.3333%;
}

.w-2 {
  width: 0.5rem;
}

.w-4\/6 {
  width: 66.6667%;
}

.w-5\/6 {
  width: 83.3333%;
}

.w-fit {
  width: fit-content;
}

.w-full {
  width: 100%;
}

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

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

@media (min-width:640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width:768px) {
  .md\:block {
    display: block;
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .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\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 1.1;
  }
}

@media (min-width:1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .lg\:text-7xl {
    font-size: 4.5rem;
    line-height: 1.1;
  }
}

/* Theme toggle */
.theme-toggle {
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #e5e7eb;
  color: #111827;
}

.theme-toggle:hover {
  background-color: rgba(243, 244, 246, 0.9);
}

.dark .theme-toggle {
  background-color: rgba(3, 7, 18, 0.6);
  border-color: #1f2937;
  color: #f9fafb;
}

.dark .theme-toggle:hover {
  background-color: rgba(17, 24, 39, 0.8);
}

.text-white {
  color: #ffffff;
}

.focus\:text-black:focus {
  color: #000000;
}


/* -------- Portfolio filter tabs (bugfix + dark-mode contrast) -------- */
.portfolio-tabs .portfolio-filter {
  cursor: pointer;
}

.portfolio-tabs .portfolio-filter {
  /* similar a text-gray-500 */
  color: #6b7280;
}

.portfolio-tabs .portfolio-filter.is-active {
  /* texto principal en claro */
  color: #0b1220;
}

.dark .portfolio-tabs .portfolio-filter {
  /* mejora contraste en dark */
  color: rgba(255, 255, 255, .78);
}

.dark .portfolio-tabs .portfolio-filter.is-active {
  color: #ffffff;
}

/* Animaciones personalizadas */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-mockup-animation {
  animation: floating 4s ease-in-out infinite;
}

/* Efecto opcional de brillo para elementos internos */
@keyframes shimmer {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

.hero-mockup-animation .bg-primary\/10 {
  animation: shimmer 3s infinite;
}

/* Scrollbar minimalista para el mockup */
.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}