/* ===========================
   Estilos generales
   =========================== */

/* Fuente base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(to bottom, #e5f0ff, #f4fbff, #e5f0ff);
    color: #0f172a; /* slate-900 */
}

*:focus-visible {
    outline: 2px solid rgba(0, 91, 170, 0.7);
    outline-offset: 3px;
}

/* ===========================
   Tarjetas 
   =========================== */

.glass-card {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* ===========================
   Carrusel
   =========================== */

.carousel-slide {
    transition:
        opacity 400ms ease,
        transform 400ms ease;
}

/* Puntos del carrusel  */
button[data-carousel-dot] {
    transition: transform 150ms ease, box-shadow 150ms ease, background-color 200ms ease;
}
button[data-carousel-dot]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 4px rgba(0, 91, 170, 0.08);
}

/* Flechas del carrusel */
#carousel-prev,
#carousel-next {
    transition:
        background-color 150ms ease,
        transform 120ms ease,
        box-shadow 120ms ease;
}
#carousel-prev:hover,
#carousel-next:hover {
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}
#carousel-prev:active,
#carousel-next:active {
    transform: scale(0.94);
}

/* ===========================
   Hero
   =========================== */

.hero-avatar {
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.22),
        0 0 0 4px rgba(255, 255, 255, 0.8);
}


/* ===========================
   Header & Footer
   =========================== */

.site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-footer {
    font-size: 0.75rem;
    color: #64748b; /* slate-500 */
}

/* ===========================
   Scrollbar
   =========================== */

@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    ::-webkit-scrollbar-track {
        background: rgba(148, 163, 184, 0.08); /* slate-400 */
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(0, 91, 170, 0.65); /* azul Fybeca */
        border-radius: 999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 91, 170, 0.9);
    }
}
