/* Animaciones y estilos personalizados para Blog SoloTurnos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
}

/* Efectos de navegación */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary, #2563eb);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hover suave en tarjetas */
.card-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Animación de entrada */
.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tipografía de contenido enriquecido del artículo */
.article-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #334155;
}

.article-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: #475569;
}

.article-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

.article-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: #0f172a;
    font-weight: 600;
}

.article-content em {
    font-style: italic;
}

.article-content blockquote {
    border-left: 4px solid var(--color-primary, #2563eb);
    padding-left: 1.25rem;
    font-style: italic;
    color: #475569;
    margin: 1.5rem 0;
}

.article-content img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* SVG e iconos dentro del contenido: asegurar tamaño controlado */
.article-content svg {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
    flex-shrink: 0 !important;
}

/* =========================================================
   ESTILOS DE CONTRASTE Y ESTRUCTURA PARA BLOQUES CTA
   ========================================================= */

/* CTA 1: Banner Horizontal Azul */
.article-content .bg-primary-600,
.article-content [class*="bg-primary-600"] {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin: 2.5rem 0 !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25) !important;
}
.article-content .bg-primary-600 h4,
.article-content .bg-primary-600 h3,
.article-content .bg-primary-600 h2 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
}
.article-content .bg-primary-600 p,
.article-content .bg-primary-600 .text-primary-100 {
    color: #dbeafe !important;
    margin-bottom: 0 !important;
    line-height: 1.6 !important;
    font-size: 1rem !important;
}
.article-content .bg-primary-600 a {
    color: #1d4ed8 !important;
    background-color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: background-color 0.15s ease-in-out !important;
}
.article-content .bg-primary-600 a:hover {
    background-color: #f8fafc !important;
}

/* CTA 2: Destacado en Texto con Borde */
.article-content .bg-primary-50 {
    background-color: #eff6ff !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 0 0.75rem 0.75rem 0 !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
}
.article-content .bg-primary-50 h4 {
    color: #0f172a !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 0.25rem !important;
}
.article-content .bg-primary-50 p {
    color: #334155 !important;
    margin-bottom: 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}
.article-content .bg-primary-50 a {
    color: #2563eb !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}
.article-content .bg-primary-50 a:hover {
    text-decoration: underline !important;
}

/* CTA 3: Cierre Oscuro con Degradado y Brillo Ambiental */
.article-content .bg-slate-900,
.article-content [class*="bg-slate-900"] {
    background: radial-gradient(circle at top right, rgba(30, 58, 138, 0.75) 0%, rgba(15, 23, 42, 1) 50%),
                radial-gradient(circle at bottom left, rgba(29, 78, 216, 0.55) 0%, rgba(15, 23, 42, 1) 60%),
                #0f172a !important;
    color: #ffffff !important;
    border-radius: 1rem !important;
    padding: 2.75rem 2rem !important;
    text-align: center !important;
    margin: 3.5rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.article-content .bg-slate-900 .text-5xl,
.article-content .text-5xl {
    font-size: 3.25rem !important;
    line-height: 1 !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
}

.article-content .bg-slate-900 h3,
.article-content .bg-slate-900 h2 {
    color: #ffffff !important;
    font-size: 1.875rem !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    line-height: 1.25 !important;
}

.article-content .bg-slate-900 p,
.article-content .bg-slate-900 .text-slate-300 {
    color: #cbd5e1 !important;
    font-size: 1.125rem !important;
    max-width: 42rem !important;
    margin: 0 auto 2rem auto !important;
    line-height: 1.6 !important;
}

.article-content .bg-slate-900 a {
    background-color: #2563eb !important;
    color: #ffffff !important;
    padding: 1rem 2.5rem !important;
    border-radius: 0.75rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}

.article-content .bg-slate-900 a:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4) !important;
}

/* Luces difusas decorativas de fondo */
.article-content .bg-slate-900 .blur-3xl,
.blur-3xl {
    filter: blur(64px) !important;
    -webkit-filter: blur(64px) !important;
    position: absolute !important;
    border-radius: 9999px !important;
    pointer-events: none !important;
    opacity: 0.5 !important;
}
.article-content .bg-slate-900 .bg-primary-900,
.bg-primary-900 {
    background-color: #1e3a8a !important;
}
.article-content .bg-slate-900 .bg-blue-900,
.bg-blue-900 {
    background-color: #1e3a8a !important;
}

