/* Estilos generales */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #101820;
    /* Negro corporativo */
    color: white;
}

/* Pantalla de Carga */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #101820;
    /* Fondo negro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    /* Opacidad inicial */
    transition: opacity 0.5s ease;
    /* Transición suave */
}

#loading-screen.fade-out {
    opacity: 0;
    /* Opacidad final al desaparecer */
}

.loading-logo {
    width: 50%;
    animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}

/* Header con Video de Fondo */
.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Alinea el contenido al inicio (arriba) */
    text-align: center;
    color: white;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el video */
}

/* Fondo oscuro semitransparente */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 24, 32, 0.6);
    /* Fondo oscuro semitransparente */
}

/* Sección de Bienvenida */
.welcome-section {
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
    margin-top: 20vh;
    /* Margen superior del 20% de la altura de la pantalla */
}

.welcome-section h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 600;
}

.welcome-section h2 {
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: 500;
}

/* Menú de Navegación */
/* Estilos para el menú de navegación */
.navbar-container {
    position: fixed;
    /* Fija el menú en la parte superior */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(16, 24, 32, 0.9);
    /* Fondo semi-transparente */
    padding: 20px 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    z-index: 1000;
    /* Asegura que esté por encima del contenido */
}

.logo img {
    width: 120px;
}

.navbar {
    display: flex;
    align-items: center;

}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    /* Pequeño padding vertical para mejor clic */
    transition: color 0.3s ease;
    /* Transición suave */
}

.nav-links a:hover {
    color: #00B0B9;
    font-weight: bold;
    /* Morado corporativo */
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #652D90;
    /* Morado corporativo */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

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

.cta-button {
    background-color: #ED008C;
    /* Rosa corporativo */
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    /* Bordes redondeados */
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-left: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Transición suave */
}

.cta-button:hover {
    background-color: #652D90;
    /* Aqua corporativo */
    transform: scale(1.05);
    /* Escala ligeramente el botón */
}

/* Menú Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Estilos para el menú desplegable en móviles */
@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
        /* Reducir el padding en móviles */
    }

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(16, 24, 32, 0.95);
        /* Fondo oscuro semi-transparente */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .navbar.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* Ocupa el 100% del ancho */
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        /* Ocupa el 100% del ancho */
        text-align: center;
        /* Centra el texto */
    }

    .cta-button {
        margin: 20px 0 0 0;
        width: 80%;
        /* Ocupa el 80% del ancho */
        text-align: center;
        /* Centra el texto */
    }
}

/* Clase para ocultar elementos */
.hidden {
    display: none !important;
    /* Forzar la ocultación */
}

/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00A651;
    /* Color de WhatsApp */
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    /* Mayor que el de la pantalla de carga */
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-button svg {
    width: 24px;
    /* Tamaño del SVG */
    height: 24px;
    stroke: white;
    /* Color del trazo del SVG */
}

.whatsapp-button:hover {
    transform: scale(1.1);
    /* Efecto de escala al hacer hover */
}

/* Sección de Servicios */
.servicios {
    padding: 5rem 1rem;
    background-color: rgb(249 250 251);
    text-align: center;
    width: 100%;
}

/* Título y descripción */
.servicios-header {
    text-align: center;
    margin-bottom: 4rem;
}

.servicios-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: rgb(16 24 32);
    font-weight: 700;
    line-height: 2.5rem;
}

.servicios-header p {
    max-width: 42rem;
    font-size: 1rem;
    color: rgb(75 85 99);
    margin: 0 auto;
}

/* Contenedor de tarjetas */
.servicios-container {
    gap: 2rem;
    display: grid;
    margin: 0 auto;
}

/* Tarjetas de servicios */
.servicio-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    padding: 2rem;
    text-align: center;
    /* Centrar el contenido */
    background-color: white;
    /* Fondo blanco para las tarjetas */
    border-radius: 10px;
    /* Bordes redondeados */
}

.servicio-card:hover {
    transform: translateY(-10px);
    /* Efecto de levitación */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    /* Sombra al hacer hover */
}

.servicio-icon {
    background-color: rgb(0 166 81);
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    display: flex;
    margin: 0 auto 1.5rem;
    /* Centrar el ícono */
}

.servicio-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: white;
    display: block;
}

.servicio-card h3 {
    color: rgb(16 24 32);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.servicio-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgb(75 85 99);
}

.servicio-button {
    color: #00A651;
    transition: color 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.servicio-card:nth-child(2) .servicio-button {
    color: #0047BB;
}

.servicio-card:nth-child(3) .servicio-button {
    color: #00B0B9;
}

.servicio-card:nth-child(4) .servicio-button {
    color: #652D90;
}

.servicio-button:hover {
    color: #ED008C;
}
.servicio-card:nth-child(2) .servicio-button:hover {
    color: #ED008C;
}
.servicio-card:nth-child(3) .servicio-button:hover {
    color: #ED008C;
}
.servicio-card:nth-child(4) .servicio-button:hover {
    color: #ED008C;
}

/* Estilos para escritorio */
/* AJUSTE PARA 4 TARJETAS DE SERVICIOS */
@media (min-width: 1024px) {

    /* Cambiamos el breakpoint a lg */
    .servicios-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-width: 1280px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    /* Nuevo breakpoint para tablets */
    .servicios-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 800px;
    }
}
/* Optimización del hover para dispositivos con cursor */
@media (hover: hover) {
    .servicio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
}

/* NUEVOS ESTILOS PARA LA SECCIÓN DE CAPACIDADES */
.capacidades-container {
    max-width: 800px;
    margin: 4rem auto 0;
    /* Espacio superior para separarlo de las tarjetas */
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    /* Borde sutil */
    border-radius: 12px;
}

.capacidades-titulo {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #101820;
    margin-bottom: 1.5rem;
}

.capacidades-lista {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Dos columnas */
    gap: 1rem;
    color: #4b5563;
    font-size: 1rem;
}

.capacidades-lista li {
    display: flex;
    align-items: center;
}

/* Checkmark antes de cada item */
.capacidades-lista li::before {
    content: '✓';
    color: #ED008C;
    /* Aqua corporativo */
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Responsividad para la lista de capacidades en móviles */
@media (max-width: 767px) {
    .capacidades-lista {
        grid-template-columns: 1fr;
        /* Una sola columna */
    }

    .capacidades-container {
        padding: 1.5rem;
    }
}

/* Sección del Portafolio */
.portafolio {
    padding: 4rem 2rem;
    background-color: #ffffff;
    /* Fondo blanco */
    text-align: center;
}

/* Título y descripción */
.portafolio-header {
    margin-bottom: 2rem;
}

.portafolio-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #101820;
    /* Negro corporativo */
    font-weight: 700;
}

.portafolio-header p {
    font-size: 1rem;
    color: #4b5563;
    /* Gris corporativo */
    max-width: 600px;
    margin: 0 auto;
}

/* Estilos para los botones de filtrado */
.filtros {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    /* Permite que los botones se envuelvan en varias líneas */
    justify-content: center;
    /* Centra los botones */
    gap: 0.5rem;
    /* Espacio entre los botones */
}

.filtro-button {
    background-color: transparent;
    border: 2px solid #ED008C;
    /* Rosa corporativo */
    color: #ED008C;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 0.5rem;
    /* Margen inferior para separar los botones */
}

.filtro-button.active,
.filtro-button:hover {
    background-color: #ED008C;
    /* Rosa corporativo */
    color: white;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
    .filtro-button {
        margin-bottom: 1rem;
        /* Aumenta el margen inferior en móviles */
    }
}

/* Estilos para la galería de proyectos */
.galeria {
    display: grid;
    gap: 1.5rem;
    /* Espacio entre los proyectos */
    padding: 0 1rem;
}

/* Distribución para pantallas grandes (3 columnas y 2 filas) */
@media (min-width: 1024px) {
    .galeria {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columnas */
        grid-auto-rows: minmax(200px, auto);
        /* Altura automática */
    }
}

/* Distribución para pantallas medianas (2 columnas y 3 filas) */
@media (min-width: 768px) and (max-width: 1023px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas */
        grid-auto-rows: minmax(200px, auto);
        /* Altura automática */
    }
}

/* Distribución para dispositivos móviles (1 columna) */
@media (max-width: 767px) {
    .galeria {
        grid-template-columns: 1fr;
        /* 1 columna */
        grid-auto-rows: minmax(150px, auto);
        /* Altura automática */
    }
}

/* Estilos para los proyectos */
.proyecto {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
    /* Relación de aspecto (opcional) */
}

.proyecto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cubre el área sin distorsionar la imagen */
    object-position: center;
    /* Centra la imagen */
    display: block;
    transition: transform 0.3s ease;
}

.proyecto:hover img {
    transform: scale(1.2);
    /* Efecto de zoom al hacer hover */
}

/* Estilos para la información del proyecto */
.proyecto-info {
    position: absolute;
    bottom: -100%;
    /* Oculta completamente el contenedor */
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background-color: rgba(16, 24, 32, 0.9);
    color: white;
    transition: bottom 0.3s ease;
    box-sizing: border-box;
    /* Asegura que el padding no afecte el ancho */
}

.proyecto:hover .proyecto-info {
    bottom: 0;
    /* Muestra el contenedor al hacer hover */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
    .proyecto-info {
        padding: 1rem;
        /* Reduce el padding en móviles */
    }

    .proyecto-info h3 {
        font-size: 1.25rem;
        /* Reduce el tamaño del título en móviles */
    }

    .proyecto-info p {
        font-size: 0.875rem;
        /* Reduce el tamaño del texto en móviles */
    }
}

.proyecto-link {
    display: inline-flex;
    align-items: center;
    color: #0047BB;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.proyecto-link:hover {
    color: #00B0B9;
}

.proyecto-link svg {
    margin-left: 0.5rem;
}

/* Estilos generales para la sección de testimonios */
.testimonios-section {
    padding: 80px 0;
    background-color: #101820;
    /* Fondo negro corporativo */
}

.testimonios-container {
    max-width: 1600 px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonios-header {
    text-align: center;
    margin-bottom: 64px;
}

.testimonios-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
}

.testimonios-header p {
    font-size: 1rem;
    color: #d1d5db;
    /* Gris claro */
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor de la cuadrícula de testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Estilos para cada tarjeta de testimonio */
.testimonio-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Icono de comillas */
.testimonio-quote {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    color: #00A651;
    /* Aqua corporativo */
    opacity: 0.2;
}

/* Información del autor */
.testimonio-author {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.testimonio-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.testimonio-author h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #101820;
    /* Negro corporativo */
    margin-bottom: 4px;
}

.testimonio-author p {
    font-size: 0.875rem;
    color: #6b7280;
    /* Gris corporativo */
}

/* Texto del testimonio */
.testimonio-text {
    font-size: 1rem;
    color: #6b7280;
    /* Gris corporativo */
    font-style: italic;
    line-height: 1.5;
}

/* Responsividad */
@media (max-width: 768px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .testimonio-card {
        padding: 24px;
    }
}

/* Estilos generales para la sección del blog */
.blog-section {
    padding: 80px 0;
    background-color: #f9fafb;
    /* Fondo gris claro */
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Título y descripción */
.blog-header {
    text-align: center;
    margin-bottom: 64px;
}

.blog-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #101820;
    /* Negro corporativo */
    margin-bottom: 16px;
}

.blog-header p {
    font-size: 1rem;
    color: #6b7280;
    /* Gris corporativo */
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor de la cuadrícula de artículos */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* Estilos para cada artículo */
.blog-article {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-article:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-category {
    font-size: 0.875rem;
    font-weight: 500;
    color: #652D90;
    /* Aqua corporativo */
}

.blog-time {
    font-size: 0.875rem;
    color: #6b7280;
    /* Gris corporativo */
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #101820;
    /* Negro corporativo */
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.blog-title:hover {
    color: #652D90;
    /* Aqua corporativo */
}

.blog-excerpt {
    font-size: 1rem;
    color: #6b7280;
    /* Gris corporativo */
    margin-bottom: 16px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #652D90;
    /* Aqua corporativo */
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #0047BB;
    /* Morado corporativo */
}

.blog-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* Botón para explorar más artículos */
.blog-explore {
    text-align: center;
}

.blog-explore-button {
    display: inline-flex;
    align-items: center;
    background-color: #652D90;
    /* Aqua corporativo */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.blog-explore-button:hover {
    background-color: #0047BB;
    /* Morado corporativo */
}

/* Responsividad */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 150px;
    }
}

/* Estilos generales para la sección de contacto */
.contacto-section {
    padding: 80px 0;
    background-color: white;
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Título y descripción */
.contacto-header {
    text-align: center;
    margin-bottom: 64px;
}

.contacto-header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #101820;
    /* Negro corporativo */
    margin-bottom: 16px;
}

.contacto-header p {
    font-size: 1rem;
    color: #6b7280;
    /* Gris corporativo */
    max-width: 600px;
    margin: 0 auto;
}

/* Contenedor de información y formulario */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

/* Información de contacto */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contacto-icon {
    background-color: rgba(0, 175, 170, 0.1);
    /* Aqua con 10% de opacidad */
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-icon svg {
    width: 24px;
    height: 24px;
    color: #00B0B9;
    /* Aqua corporativo */
}

.contacto-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #101820;
    /* Negro corporativo */
    margin-bottom: 4px;
}

.contacto-item p {
    font-size: 1rem;
    color: #6b7280;
    /* Gris corporativo */
}

/* Formulario de contacto */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    /* Gris corporativo */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    /* Gris claro */
    border-radius: 8px;
    font-size: 1rem;
    color: #101820;
    /* Negro corporativo */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00B0B9;
    /* Aqua corporativo */
    box-shadow: 0 0 0 2px rgba(0, 175, 170, 0.2);
    /* Sombra suave */
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

.contacto-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00B0B9;
    /* Aqua corporativo */
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contacto-button:hover {
    background-color: #652D90;
    /* Morado corporativo */
}

.contacto-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

/* Responsividad */
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .contacto-info {
        gap: 24px;
    }

    .contacto-item {
        gap: 12px;
    }
}

/* Estilos generales para el footer */
.footer {
    background-color: rgb(16 24 32);
    /* Negro corporativo */
    color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Contenedor de columnas */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Estilos para cada columna */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: start;
}

.footer-logo {
    height: 3rem;
    margin-bottom: 1rem;
    max-width: 100%;
    display: block;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #9ca3af;
    /* Gris claro */
}

.footer-title {
    font-size: 1.25rem;
    line-height: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
}

.footer-link {
    font-size: 1rem;
    color: #9ca3af;
    /* Gris claro */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00B0B9;
    /* Aqua corporativo */
}

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    background-color: rgba(255, 255, 255, 0.1);
    /* Fondo semi-transparente */
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.footer-social-link:hover {
    background-color: #00B0B9;
    /* Aqua corporativo */
}

.footer-social-icon {
    width: 20px;
    height: 20px;
    color: white;
}

/* Línea divisoria y derechos reservados */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Línea divisoria */
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #9ca3af;
    /* Gris claro */
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal-link {
    font-size: 0.875rem;
    color: #9ca3af;
    /* Gris claro */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #00B0B9;
    /* Aqua corporativo */
}

/* Responsividad */
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
.icon-branding {
    background-color: #00A651;
}

.icon-web {
    background-color: #0047BB;
}

.icon-marketing {
    background-color: #00B0B9;
}

.icon-audiovisual {
    background-color: #652D90;
}

/* articulos */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}


.article-header {
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    background-color: #00A651;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.article-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 60px;
}

.article-content {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin: 60px 0 24px;
}

.article-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin: 40px 0 20px;
}

.article-content p {
    margin-bottom: 24px;
}

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

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 16px;
}

.highlight-box {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.1) 0%,
            rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #00A651;
    padding: 24px;
    margin: 40px 0;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: #e2e8f0;
}

.trend-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00A651 0%, #00B0B9 100%);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00A651;
    font-weight: 500;
    margin-bottom: 40px;
    transition: gap 0.3s ease;
}

.back-button:hover {
    gap: 12px;
    color: #00B0B9;
}

@media (max-width: 768px) {
    .article-container {
        padding: 100px 20px 60px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-image {
        height: 300px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h2 {
        font-size: 28px;
    }

    .article-content h3 {
        font-size: 22px;
    }
}

/* blog */

.blog-hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    text-align: center;
}

.blog-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.blog-hero p {
    font-size: 20px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-button {
    padding: 10px 24px;
    border: 2px solid #652D90;
    background: transparent;
    color: #cbd5e1;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    border-color: #00B0B9;
    color: #ffffff;
}

.filter-button.active {
    background: linear-gradient(135deg, #652D90 50%, #00B0B9 100%);
    border-color: transparent;
    color: #ffffff;
}

.blog-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.featured-post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 60px;
    cursor: pointer;
}

.featured-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0.7) 60%, transparent 100%);
    padding: 60px 40px 40px;
}

.featured-tag {
    display: inline-block;
    background: linear-gradient(135deg, #652D90 50%, #00B0B9 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.featured-post h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.featured-post p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #94a3b8;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.post-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: #652D90;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-content {
    padding: 24px;
}

.post-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    color: #94a3b8;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.post-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.post-card .excerpt {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #652D90;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
    color: #00B0B9;
}

.navbar-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(16, 24, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img {
    height: 40px;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-back:hover {
    color: #ffffff;
    gap: 12px;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .featured-post {
        height: 400px;
    }

    .featured-overlay {
        padding: 40px 24px 24px;
    }

    .featured-post h2 {
        font-size: 28px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .navbar-simple {
        padding: 16px 20px;
    }
}

.hidden {
    display: none;
}

/* ============================================= */
/* === ESTILOS PARA EL AVISO DE COOKIES === */
/* ============================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #101820;
    /* Tu negro corporativo */
    color: #f9fafb;
    /* Texto blanco/gris claro */
    padding: 20px 40px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    /* Empieza oculto abajo */
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
    /* Se desliza hacia arriba */
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    /* Ancho máximo consistente con tu sitio */
    gap: 20px;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #00B0B9;
    /* Tu color Turquesa para enlaces */
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #652D90;
}

.cookie-banner-actions {
    flex-shrink: 0;
    /* Evita que el botón se encoja */
}

.cookie-button-accept {
    background-color: #00A651;
    /* Tu Verde Corporativo para "Aceptar" */
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cookie-button-accept:hover {
    background-color: #652D90;
    /* Tu Morado de hover */
    transform: scale(1.05);
}

/* --- Responsividad para el banner de cookies --- */

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-button-accept {
        width: 100%;
        padding: 12px;
    }
}
