/* Estilos para el banner de cookies */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(5, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.cookie-consent.active {
    bottom: 0;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
}

.cookie-content a {
    color: #14e682;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.cookie-content a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(20, 230, 130, 0.7);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-accept,
.cookie-decline {
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
}

.cookie-accept {
    background: #14e682;
    color: #090f1b;
    box-shadow: 0 2px 8px rgba(20, 230, 130, 0.3);
}

.cookie-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-accept:hover {
    background: #11b96a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 230, 130, 0.4);
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px;
        bottom: -200%;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 10px;
        font-size: 14px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-accept, 
    .cookie-decline {
        padding: 10px 20px;
        min-width: 120px;
    }
}

/* ESTILOS PARA LA SECCIÓN DE SERVICIOS CATEGORIZADA */
/* Navegación de categorías */
.services-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 2rem auto;
    max-width: 900px;
}

.category-btn {
    background: rgba(5, 10, 15, 0.5);
    border: 1px solid rgba(20, 230, 130, 0.2);
    color: #f0f0f0;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 230, 130, 0.1), transparent);
    transform: translateX(-100%);
    transition: all 0.6s ease;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(20, 230, 130, 0.15);
    background: rgba(20, 230, 130, 0.1);
    border-color: rgba(20, 230, 130, 0.4);
}

.category-btn:hover::before {
    transform: translateX(100%);
}

.category-btn.active {
    background: rgba(20, 230, 130, 0.2);
    color: #fff;
    border-color: rgba(20, 230, 130, 0.6);
    box-shadow: 0 0 15px rgba(20, 230, 130, 0.3);
}

/* Estilo de las tarjetas de servicio con etiquetas de categoría */
.service-card {
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid rgba(20, 230, 130, 0.1);
    background: rgba(4, 9, 18, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    transform: translateY(0);
    opacity: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    will-change: transform, opacity;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #14e682, rgba(20, 230, 130, 0.2));
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(20, 230, 130, 0.1), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(20, 230, 130, 0.2);
    border-color: rgba(20, 230, 130, 0.3);
}

.service-card:hover::after {
    opacity: 1;
}

.category-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(5, 10, 15, 0.8);
    color: #14e682;
    border-radius: 15px;
    border: 1px solid rgba(20, 230, 130, 0.3);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.2s ease;
}

.service-icon {
    margin: 0 auto 20px;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #14e682;
    background: rgba(4, 9, 18, 0.8);
    border: 1px solid rgba(20, 230, 130, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(20, 230, 130, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(20, 230, 130, 0.3);
    border-color: rgba(20, 230, 130, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: all 0.2s ease;
    text-align: center;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: center;
}

.service-card:hover h3 {
    color: #14e682;
    text-shadow: 0 0 10px rgba(20, 230, 130, 0.3);
}

/* Estilos para la transición de filtro */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    transition: height 0.2s ease;
}

/* Media queries para adaptarse a diferentes tamaños de pantalla */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .services-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }
    
    .services-categories {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin: 1.5rem auto;
        max-width: 95%;
        padding: 0 10px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 12px;
        margin: 3px;
        flex: 0 0 auto;
        min-width: 100px;
        text-align: center;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .service-card {
        padding: 25px 15px;
        border-radius: 12px;
        min-height: 200px;
    }
    
    .service-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .service-card p {
        font-size: 13px;
    }
    
    .category-tag {
        font-size: 10px;
        padding: 3px 8px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }
    
    .services-categories {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin: 1rem auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
        margin-bottom: 12px;
        border-radius: 15px;
    }
    
    .service-card {
        padding: 18px 12px;
        min-height: 180px;
    }
    
    .service-card h3 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* Mejoras para pantallas muy pequeñas */
@media (max-width: 480px) {
    .services-categories {
        gap: 6px;
        margin: 1rem auto 1.5rem;
        max-width: 100%;
        padding: 0 5px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-btn {
        padding: 7px 10px;
        font-size: 11px;
        margin: 2px;
        width: 100%;
        min-width: unset;
        border-radius: 15px;
    }
    
    .category-btn[data-category="all"] {
        grid-column: span 2;
        max-width: 80%;
        margin: 0 auto 4px;
    }
    
    .services-grid {
        padding: 0 5px;
    }
    
    .service-card {
        padding: 15px 10px;
        min-height: 160px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .service-card h3 {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .service-card p {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .category-tag {
        font-size: 8px;
        padding: 2px 6px;
        top: 8px;
        right: 8px;
    }
}

/* Variables globales */
:root {
    --primary-color: #14e682;
    --secondary-color: #00c4cc;
    --accent-color: #a9ff53;
    --dark-bg: #010714;
    --darker-bg: #010409;
    --card-bg: #041428;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
    --section-spacing: 80px;
    --card-radius: 12px;
    --transition-default: all 0.3s ease;
}

body {
    background-color: transparent;
    background-image: none;
}

/* SECCIÓN DE SERVICIOS - MEJORAS VISUALES */
.services-section {
    position: relative;
    overflow: hidden;
    background-color: rgba(1, 7, 20, 0.95);
    padding: 80px 0;
    z-index: 1;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(20, 230, 130, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 196, 204, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(20, 230, 130, 0.025)' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
        linear-gradient(135deg, rgba(1, 7, 20, 0.97) 0%, rgba(4, 20, 40, 0.97) 100%);
    background-size: 150px 150px, 100% 100%;
    opacity: 0.9;
    z-index: -2;
}

.services-section .section-title {
    position: relative;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.services-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(20, 230, 130, 0.7), rgba(0, 196, 204, 0.7));
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(20, 230, 130, 0.5);
}

.services-section .section-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
}

/* Efectos de neón para los botones de categoría */
.services-categories {
    position: relative;
    z-index: 2;
}

.category-btn {
    position: relative;
    overflow: hidden;
    background: rgba(4, 9, 18, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(20, 230, 130, 0.3);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #14e682, #00c4cc, #14e682);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: neonGlow 3s ease infinite;
}

.category-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20, 230, 130, 0.2);
    border-color: rgba(20, 230, 130, 0.5);
    color: #fff;
}

.category-btn:hover::before {
    opacity: 1;
}

.category-btn:hover::after {
    transform: translateX(100%);
}

.category-btn.active {
    background: rgba(20, 230, 130, 0.15);
    border-color: rgba(20, 230, 130, 0.6);
    color: #14e682;
    box-shadow: 0 0 15px rgba(20, 230, 130, 0.3), inset 0 0 8px rgba(20, 230, 130, 0.2);
    transform: translateY(-2px);
}

.category-btn.active::before {
    opacity: 0.3;
}

@keyframes neonGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animación del fondo de las tarjetas */
.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(20, 230, 130, 0.8), rgba(0, 196, 204, 0.8));
    z-index: 1;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.service-card:hover::before {
    width: 5px;
    box-shadow: 0 0 15px rgba(20, 230, 130, 0.5);
}

/* Efecto de partículas futuristas */
@keyframes floatingParticles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.8;
    }
}

/* Animación para la etiqueta de categoría */
.category-tag {
    transition: all 0.2s ease;
    border: 1px solid rgba(20, 230, 130, 0.3);
}

.service-card:hover .category-tag {
    background: rgba(20, 230, 130, 0.15);
    border-color: rgba(20, 230, 130, 0.5);
    box-shadow: 0 0 10px rgba(20, 230, 130, 0.3);
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-section .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    
    .services-section .section-description {
        font-size: 15px;
        margin: 0 auto 30px;
        padding: 0 15px;
        max-width: 90%;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .services-section {
        padding: 40px 0;
    }
    
    .services-section .section-title {
        font-size: 24px;
        margin-bottom: 22px;
    }
    
    .services-section .section-description {
        font-size: 14px;
        line-height: 1.5;
        margin: 0 auto 25px;
        padding: 0 10px;
        max-width: 95%;
    }
} 