/* assets/css/style.css - Versión 2.2 "Impacto Tecnológico" (Auditado y Completo) */

/* --- Importar Fuente --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* --- Variables Globales de Diseño --- */
:root {
    --dark-bg: #0F172A; /* Azul noche casi negro */
    --card-bg: rgba(30, 41, 59, 0.5); /* Azul pizarra semi-transparente */
    --border-color: rgba(59, 130, 246, 0.3); /* Borde azul sutil */

    /* Paleta extraída del logo */
    --accent-pink: #F43F5E;
    --accent-yellow: #FBBF24;
    --accent-blue: #3B82F6;

    --text-light: #F1F5F9; /* Texto principal claro */
    --text-muted: #94A3B8; /* Texto secundario grisáceo */

    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
}

/* --- Animaciones --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(244, 63, 94, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* --- Estilos Generales --- */
body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--body-font);
    line-height: 1.7;
}

/* --- REGLA GLOBAL PARA TEXTO DE PÁRRAFO --- */
main p {
    color: var(--text-light); /* Todos los párrafos en <main> serán blancos por defecto */
}
/* Permite que la clase .text-muted siga funcionando cuando la usamos explícitamente */
main .text-muted {
    color: var(--text-muted) !important;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-align: center;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- Header y Navegación --- */
.navbar {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #fb7185; /* Rosa más claro */
    border-color: #fb7185;
    transform: translateY(-3px);
}

/* --- Secciones Hero (Principal e Internas) --- */
.hero-home, .hero-page {
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background-color: var(--dark-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-yellow), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.5s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px auto;
    animation: fadeInUp 0.7s ease-out;
}

.hero-cta {
    animation: fadeInUp 0.9s ease-out;
}
.hero-cta .btn {
    animation: pulse 2s infinite;
}

/* --- Secciones de Contenido --- */
.client-logos img {
    max-height: 40px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.client-logos img:hover {
    opacity: 1;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.card-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
    display: inline-block;
}

.solution-item {
    padding: 2rem;
    border-radius: 12px;
    transition: background-color: 0.3s ease;
}
.solution-item:hover {
    background-color: var(--card-bg);
}
.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-pink);
    display: inline-block;
}

.list-check li {
    list-style: none;
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}
.list-check li::before {
    content: '\F26E'; /* Bootstrap Icon check-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2rem;
}

/* --- Sección de IA --- */
.ai-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2rem;
}
.ai-pills span {
    background-color: var(--card-bg);
    color: var(--text-muted);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* --- Sección Casos de Éxito --- */
.case-study-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}
.case-study-title {
    font-weight: 700;
    color: var(--text-light);
}
.case-study-metric {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.cta-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.form-card-dark .form-label {
    color: var(--text-light);
    font-weight: 600;
}
.form-card-dark .form-control {
    background-color: rgba(0, 0, 0, 0.2);
    border-color: var(--border-color);
    color: var(--text-light);
    padding: 0.75rem 1rem;
}
.form-card-dark .form-control:focus {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}
.form-card-dark .form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* --- ESTILOS PARA LA SECCIÓN DE BLOG --- */
.article-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.article-card .card-body a {
    text-decoration: none;
}

.article-card .card-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-pink);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.article-card .article-title a {
    color: var(--text-light);
    font-weight: 700;
}

.article-card .article-title a:hover {
    text-decoration: underline;
}

/* Estilos para el contenedor del artículo individual */
.article-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

.article-content h3 {
    font-weight: 700;
    color: var(--text-light);
}

.article-content p, .article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg); 
    font-size: 0.95rem;
    padding: 100px 0 0 0; 
}
.footer-title {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}
.footer-tagline {
    color: var(--text-muted);
    max-width: 350px;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a, .footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--accent-pink);
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.footer-contact i {
    color: var(--accent-blue);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 4px;
}
.social-icons a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: var(--text-light);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-bottom a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--text-light);
}

/* --- Media Queries para Responsividad --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem; 
        letter-spacing: -1px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .hero-home, .hero-page, .section-padding {
        padding: 60px 15px;
    }
    .glass-card {
        padding: 25px;
    }
}