@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #404040;
}

.gs-reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ===== MOBILE OPTIMIZATIONS ===== */

/* Prevenir auto-zoom en iOS Safari al hacer focus en inputs (necesita min 16px) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="password"],
select,
textarea {
  font-size: 16px;
}

/* Eliminar el flash gris al tocar elementos en móvil */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Scroll con inercia en iOS */
html {
  -webkit-overflow-scrolling: touch;
}

/* Mejorar respuesta de botones al tocar (evita doble tap) */
button, a {
  touch-action: manipulation;
}

/* Modal con scroll en móvil cuando el teclado está visible */
.modal-scrollable {
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Menu móvil - animación de entrada */
#mobile-menu {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#mobile-menu.hidden {
  display: none;
}
#mobile-menu.menu-open {
  display: flex;
}
