.main-servicios {
    padding-top: 80px;
    min-height: calc(100vh - 160px);
    background: linear-gradient(135deg, var(--dark) 0%, #0d0d15 100%);
}

.servicios-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.servicios-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: fadeIn 0.8s ease-out;
}

.search-container {
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.search-container input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    outline: none;
    background: rgba(20, 20, 30, 0.9);
    color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.servicio-card {
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    animation: fadeIn 0.8s ease-out backwards;
}

.servicio-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.servicio-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(30, 30, 50, 0.95));
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    border: 1px solid var(--primary);
    box-shadow: var(--glow-primary), 0 0 60px rgba(0, 240, 255, 0.2);
    animation: fadeIn 0.4s ease-out;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.3s;
}

.close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.modal-content h3 {
    color: var(--secondary);
    margin: 1.5rem 0 0.75rem;
    font-size: 1.1rem;
}

.modal-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.modal-list {
    list-style: none;
    padding: 0;
}

.modal-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.modal-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.precios-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.precio-item {
    background: rgba(0, 240, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.precio-tipo {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.precios-div {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.precios-div span {
    color: rgba(255, 255, 255, 0.7);
}

.precios-div strong {
    color: var(--accent);
}

.modal-tiempo {
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 500;
}

.modal-nota {
    background: rgba(255, 0, 170, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    color: var(--accent);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 0, 170, 0.3);
}

.btn-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .servicios-page h1 {
        font-size: 1.8rem;
    }
    
    .servicios-page {
        padding: 1rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .servicio-card {
        padding: 1.2rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    .precios-modal {
        gap: 0.5rem;
    }
    
    .precio-item {
        padding: 0.8rem;
    }
    
    .precios-div {
        flex-direction: column;
        gap: 0.25rem;
    }
}