/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-pacifico {
  font-family: 'Pacifico', cursive;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilidades de layout */
.min-h-screen { min-height: 100vh; }
.h-screen { height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Grid */
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\\:flex { display: flex; }
  .md\\:hidden { display: none; }
  .md\\:text-6xl { font-size: 3.75rem; }
  .md\\:text-2xl { font-size: 1.5rem; }
}

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

/* Posición */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-1\/2 { top: 50%; }
.right-3 { right: 0.75rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Espaciado */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Tamaños */
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-64 { height: 16rem; }

/* Texto */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.text-center { text-align: center; }

/* Colores de texto */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-gray-200 { color: #e5e7eb; }
.text-blue-600 { color: #2563eb; }
.text-green-600 { color: #16a34a; }
.text-purple-600 { color: #9333ea; }
.text-orange-600 { color: #ea580c; }
.text-red-600 { color: #dc2626; }
.text-teal-600 { color: #0d9488; }
.text-yellow-500 { color: #eab308; }

/* Colores de fondo */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-900 { background-color: #111827; }
.bg-gray-800 { background-color: #1f2937; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }
.bg-green-100 { background-color: #dcfce7; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-red-100 { background-color: #fee2e2; }
.bg-teal-100 { background-color: #ccfbf1; }

/* Nuevos colores pastel azules para secciones */
.bg-pastel-blue-sky { background-color: #f0f9ff; }
.bg-pastel-blue-ocean { background-color: #eff6ff; }
.bg-pastel-blue-ice { background-color: #f8fafc; }
.bg-pastel-blue-cloud { background-color: #f1f5f9; }
.bg-pastel-blue-baby { background-color: #e0f2fe; }
.bg-pastel-blue-soft { background-color: #f0f8ff; }

/* Colores sólidos modernos */
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-indigo-50 { background-color: #eef2ff; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-rose-50 { background-color: #fff1f2; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-cyan-50 { background-color: #ecfeff; }

/* Estilos para centrar iconos en las tarjetas de beneficios */
.benefit-card {
  text-align: center;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Colores de fondo con opacidad */
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4); }

/* Efectos hover */
.hover\\:text-blue-600:hover { color: #2563eb; }
.hover\\:text-white:hover { color: #ffffff; }
.hover\\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\\:bg-white:hover { background-color: #ffffff; }
.hover\\:text-gray-900:hover { color: #111827; }

/* Transiciones */
.transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out; }

/* Bordes */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-800 { border-color: #1f2937; }
.border-white { border-color: #ffffff; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Sombras */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* Focus */
.focus\\:ring-2:focus { 
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #3b82f6; 
}
.focus\\:ring-blue-500:focus { box-shadow: 0 0 0 2px #3b82f6; }
.focus\\:border-blue-500:focus { border-color: #3b82f6; }

/* Background específicos */
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.bg-no-repeat { background-repeat: no-repeat; }

/* Hero background - ACTUALIZADO */
.hero-bg {
  background-image: url('./images/portada.JPG?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Object fit */
.object-cover { object-fit: cover; }
.object-top { object-position: top; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Resize */
.resize-none { resize: none; }

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

/* Pointer events */
.pointer-events-none { pointer-events: none; }

/* Appearance */
.appearance-none { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

/* Hidden */
.hidden { display: none !important; }

/* Media queries adicionales */
@media (min-width: 640px) {
  .sm\\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\\:text-6xl { font-size: 3.75rem; }
  .md\\:text-2xl { font-size: 1.5rem; }
}

/* Estilos específicos del formulario */
input, select, textarea {
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Estilos para iconos */
i {
  display: inline-block;
  font-style: normal;
}

/* Whitespace */
.whitespace-nowrap { white-space: nowrap; }

/* Estilos específicos adicionales */
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

/* Header fijo */
header.fixed {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

/* Efectos adicionales para mejorar la experiencia */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  pointer-events: none;
}

/* Estilos para navegación desktop */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav .nav-link {
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.desktop-nav .nav-link:hover {
  color: #2563eb;
}

.desktop-nav .nav-link.active {
  color: #2563eb;
}

/* Estilos para botón móvil */
.mobile-btn {
  display: block;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-btn:hover {
  color: #2563eb;
}

/* Media queries para responsive */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
  
  .mobile-btn {
    display: none;
  }
}

/* Estilos para el menú móvil */
#mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  display: none;
}

#mobile-menu.show {
  right: 0;
  display: block;
}

/* Estilos para el overlay del menú móvil */
#mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Estilos para el header del menú móvil */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-close:hover {
  color: #374151;
}

/* Estilos para la navegación del menú móvil */
.mobile-menu-nav {
  padding: 1rem;
}

.mobile-menu-nav a {
  display: block;
  padding: 0.75rem 0;
  color: #374151;
  font-weight: 500;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s ease-in-out;
}

.mobile-menu-nav a:hover {
  color: #2563eb;
}

.mobile-menu-nav a:last-child {
  border-bottom: none;
}

/* Mejoras de accesibilidad */
button:focus, a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Animaciones suaves para los elementos interactivos */
.transition-all {
  transition: all 0.3s ease-in-out;
}

/* Estilos responsive adicionales */
@media (max-width: 768px) {
  .text-5xl { font-size: 2.5rem; }
  .text-4xl { font-size: 2rem; }
  .py-20 { padding-top: 3rem; padding-bottom: 3rem; }
  .mb-16 { margin-bottom: 2rem; }
}

/* Mejoras visuales */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05),
              0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Placeholder para imágenes */
img {
  background-color: #f3f4f6;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23d1d5db" viewBox="0 0 24 24"><path d="M4 3h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1V4a1 1 0 011-1zm1 2v14h14V5H5zm3 4.5l2.5 3 3.5-4.5 4 6H7l1-4.5z"/></svg>');
  background-size: 50px 50px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Ajustes finales */
.container {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; }
}

@media (min-width: 768px) {
  .container { max-width: 768px; }
}

@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1200px; }
} 

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

/* Tooltip para el botón */
.whatsapp-float::before {
    content: "¡Chatea con nosotros!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Ocultar tooltip en móviles */
@media (max-width: 768px) {
    .whatsapp-float::before,
    .whatsapp-float::after {
        display: none;
    }
}

/* Language Flags Container */
.language-flags-container {
    margin-top: 2rem;
}

.flags-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 100px;
}

.flag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.flag-item.active {
    background: #e3f2fd;
    border: 2px solid #1976d2;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.2);
}

.flag-image {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.flag-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: center;
}

.flag-item.active .flag-text {
    color: #1976d2;
    font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .flags-grid {
        gap: 1rem;
    }
    
    .flag-item {
        min-width: 80px;
        padding: 0.75rem;
    }
    
    .flag-image {
        width: 40px;
        height: 28px;
    }
    
    .flag-text {
        font-size: 0.75rem;
    }
} 

/* Estilos para el logo BON REST */
.logo-bonrest {
    display: flex;
    align-items: center;
}

.logo-image {
    max-width: 165px;
    height: auto;
    display: block;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #2563eb;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background-color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    font-family: 'Inter', sans-serif;
} 