/* ============================================
    PAGE: SERVICIOS
    ============================================ */

.servicios-section {
    padding: 150px 2% 100px;
    max-width: 100%;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-tag {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.services-header h1 {
    font-size: 4.5rem;
    margin: 15px 0;
    text-transform: uppercase;
    line-height: 1;
}

.services-title-accent {
    color: var(--primary);
    text-shadow: var(--neon-shadow);
}

.services-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--neon-shadow);
    border: 1px solid var(--primary);
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* Cart Overlay Glassmorphism */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: flex;
    opacity: 1;
}

.cart-modal {
    width: 90%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.cart-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    color: var(--secondary);
    transform: scale(1.2);
}

.cart-items {
    margin: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    margin-bottom: 20px;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.checkout-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 212, 0.3);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Services Grid */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    width: 100%;
}

@media (max-width: 1200px) {
    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .servicios-section {
        padding: 80px 10px 50px;
    }
    .services-header h1 {
        font-size: 2.5rem;
    }
    .service-card-image {
        height: 180px; /* Reducción de altura en móvil */
    }
}

/* Service Card Premium - Glassmorphism */
.service-card-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 212, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-card-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-premium:hover .service-card-image img {
    transform: scale(1.1);
}

.service-slider {
    height: 220px;
}

.service-slider .slider-img {
    cursor: zoom-in;
}

.service-card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
}

.service-card-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.service-details-list {
    margin: 20px 0;
    padding: 15px;
    list-style: none;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-details-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-details-list li i {
    color: var(--primary);
    font-size: 0.7rem;
}

/* Service Button Premium */
.service-btn-premium {
    width: 100%;
    margin-top: auto;
    border-radius: 12px;
    padding: 15px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(0, 212, 212, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 212, 0.4) !important;
    color: var(--primary) !important;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 212, 0.1);
}

.service-btn-premium i {
    transition: transform 0.3s ease;
}

.service-btn-premium:hover {
    transform: scale(1.02);
    background: var(--primary) !important;
    color: var(--bg-dark) !important;
    box-shadow: 0 0 20px rgba(0, 212, 212, 0.4) !important;
}

.service-btn-premium:hover i {
    transform: translateX(5px);
}

.service-btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent, transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.service-btn-premium:hover::after {
    left: 100%;
    top: 100%;
}
