/* =====================================================
   Creative Mind S.A.S — Sistema de diseño
   Corporativo navy + acento naranja
   ===================================================== */

:root {
    --ink-950: #0a1120;
    --ink-900: #101a30;
    --accent:  #ea580c;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* La tipografía display se aplica a todos los títulos sin tocar el markup */
h1, h2, h3, h4, .font-display {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    letter-spacing: -0.018em;
}

/* =====================================================
   Animación de aparición al hacer scroll
   (la clase .animate-fade-in la añade js/main.js vía IntersectionObserver)
   ===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

/* =====================================================
   Botón flotante de WhatsApp — pulso
   ===================================================== */
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70%  { box-shadow: 0 0 0 18px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.whatsapp-float { animation: wa-pulse 2s infinite; }

/* =====================================================
   Fondos decorativos para secciones oscuras (hero / headers / CTA)
   ===================================================== */
/* Patrón de cuadrícula sutil */
.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 50%, transparent 100%);
}

/* Resplandor de acento (orbe difuminado) */
.glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

/* =====================================================
   Navbar
   ===================================================== */
.nav-blur {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
}

/* =====================================================
   Tarjetas y micro-interacciones
   ===================================================== */
.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-hover:hover {
    transform: translateY(-6px);
}

/* Subrayado animado para enlaces de tipo "Saber más" */
.link-arrow i { transition: transform 0.25s ease; }
.link-arrow:hover i { transform: translateX(4px); }
