/* ========================================
   Sección Servicios - Dashboard Style
   ======================================== */

   .seccion-servicios {
    padding: var(--padding-seccion);
    position: relative;
    z-index: 10;
    background-color: #000000;
    width: 100%;
    margin: 0;
}

/* Anular el max-width del contenedor para esta sección */
.seccion-servicios .contenedor {
    max-width: none;
    width: 100%;
    padding: 0;
}

.contenido-servicios {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.encabezado-seccion {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
    text-align: center;
}

.etiqueta-seccion {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================
   Grid de Servicios Dashboard - 2 columnas
   ======================================== */

.grilla-servicios-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

/* ========================================
   Tarjetas de Servicio Dashboard
   ======================================== */

.tarjeta-servicio-dashboard {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tarjeta-servicio-dashboard:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

/* Header del dashboard */
.dashboard-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: rgba(58, 58, 58, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.traffic-lights {
    display: flex;
    gap: 8px;
    margin-right: auto;
}

.traffic-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: transparent;
}

.traffic-light.red {
    background-color: #ff5f57;
}

.traffic-light.yellow {
    background-color: #ffbd2e;
}

.traffic-light.green {
    background-color: #28c940;
}

/* Hover effects para traffic lights */
.traffic-light.red:hover {
    background-color: #ff3b30;
    color: white;
}

.traffic-light.yellow:hover {
    background-color: #ffaa00;
    color: black;
}

.traffic-light.green:hover {
    background-color: #1cd852;
    color: white;
}

.dashboard-url {
    color: #d1d1d1;
    font-weight: 500;
    font-size: 0.85rem;
    flex: 1;
    text-align: center;
}

.live-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 100%) !important;
    color: #000000 !important;
    padding: 4px 12px !important;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    border: none !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Body del dashboard */
.dashboard-body {
    padding: 25px;
    background: rgba(44, 44, 44, 0.9);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

/* Iconos PNG del servicio */
.servicio-icono-png {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.servicio-icono-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tarjeta-servicio-dashboard:hover .servicio-icono-png {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.tarjeta-servicio-dashboard h3 {
    font-size: 1.5rem;
    color: var(--texto-blanco);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.servicio-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    color: var(--dorado);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 auto 5px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.servicio-descripcion {
    color: var(--texto-gris);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 5px;
}

/* Precio del servicio */
.servicio-precio {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.precio-cantidad {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dorado);
    margin-right: 8px;
    line-height: 1;
}

.precio-periodo {
    font-size: 0.9rem;
    color: var(--gris-claro);
    display: block;
    margin-top: 5px;
}

/* Bonus del servicio */
.servicio-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid var(--dorado);
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dorado);
}

.servicio-bonus i {
    font-size: 1rem;
}

/* Características del servicio */
.servicio-caracteristicas {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    text-align: left;
}

.servicio-caracteristicas li {
    padding: 6px 0;
    color: var(--texto-gris);
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.servicio-caracteristicas i {
    color: var(--dorado);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Entrega del servicio */
.servicio-entrega {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0;
    padding: 10px 12px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 5px;
    font-weight: 500;
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
    font-size: 0.85rem;
}

.servicio-entrega i {
    font-size: 1rem;
}

/* ========================================
   Botones de Acción - SOLO CONTRATAR
   ======================================== */

.servicio-acciones {
    display: flex;
    margin-top: 15px;
    justify-content: center;
}

.servicio-acciones .boton {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: none;
}

/* Botón de Contratar - UNICO */
.boton-dashboard {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 100%);
    color: #000000 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.boton-dashboard:hover {
    background: linear-gradient(135deg, #FFED4E 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

/* ========================================
   Modal de Video - Oculto temporalmente
   ======================================== */

.video-modal-overlay {
    display: none !important;
}

/* ========================================
   Tarjeta Ancho Completo (Mantenimiento)
   ======================================== */

.tarjeta-servicio-dashboard.ancho-completo {
    grid-column: 1 / -1;
}

.mantenimiento-contenido {
    width: 100%;
}

.mantenimiento-header {
    text-align: center;
    margin-bottom: 30px;
}

.mantenimiento-header h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
    margin-bottom: 10px;
}

.mantenimiento-descripcion {
    color: var(--texto-gris);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Grid de mantenimiento */
.grilla-mantenimiento-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.opcion-mantenimiento-dashboard {
    background: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.opcion-mantenimiento-dashboard:hover {
    border-color: var(--dorado);
    transform: translateY(-5px);
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.opcion-mantenimiento-dashboard.recomendado {
    border: 2px solid var(--dorado);
    position: relative;
}

.etiqueta-recomendado {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dorado);
    color: #000000;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.mantenimiento-icono-png {
    text-align: center;
    margin-bottom: 20px;
}

.mantenimiento-icono-png-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
}

.opcion-mantenimiento-dashboard h4 {
    font-size: 1.5rem;
    color: var(--texto-blanco);
    margin-bottom: 20px;
    font-weight: 700;
}

.mantenimiento-precio {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--texto-blanco);
    margin: 15px 0;
}

.mantenimiento-precio.resaltado {
    color: var(--dorado);
}

.mantenimiento-precio span {
    font-size: 0.9rem;
    color: var(--gris-claro);
    font-weight: 400;
}

.mantenimiento-ahorro {
    color: var(--dorado);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.mantenimiento-caracteristicas {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
    padding: 0;
    text-align: left;
}

.mantenimiento-caracteristicas li {
    padding: 8px 0;
    color: var(--texto-gris);
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mantenimiento-caracteristicas i {
    color: var(--dorado);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.mantenimiento-acciones {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}

.mantenimiento-acciones .boton {
    flex: 1;
    width: 100%;
    max-width: none;
}

/* ========================================
   RESPONSIVE DESIGN MEJORADO
   ======================================== */

/* Desktop Grande (más de 1200px) */
@media (min-width: 1201px) {
    .grilla-servicios-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px - 1200px) */
@media (max-width: 1200px) {
    .grilla-servicios-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .grilla-mantenimiento-dashboard {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contenido-servicios {
        padding: 0 15px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .grilla-servicios-dashboard {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .grilla-mantenimiento-dashboard {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .servicio-acciones {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .servicio-acciones .boton {
        max-width: 100%;
        min-width: 200px;
    }
}

/* Móviles (max-width: 767px) */
@media (max-width: 767px) {
    .grilla-servicios-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }
    
    .tarjeta-servicio-dashboard {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .dashboard-body {
        padding: 20px;
        text-align: center;
    }
    
    .servicio-icono-png {
        width: 60px;
        height: 60px;
        padding: 12px;
        margin: 0 auto 15px;
    }
    
    .tarjeta-servicio-dashboard h3 {
        font-size: 1.3rem;
    }
    
    .servicio-descripcion {
        font-size: 0.9rem;
    }
    
    .precio-cantidad {
        font-size: 2rem;
    }
    
    .servicio-caracteristicas {
        text-align: center;
    }
    
    .servicio-caracteristicas li {
        justify-content: center;
        text-align: center;
    }
    
    .servicio-acciones {
        flex-direction: column;
        align-items: center;
    }
    
    .servicio-acciones .boton {
        width: 100%;
        max-width: 100%;
        padding: 14px;
    }
    
    .mantenimiento-header h3 {
        font-size: 1.5rem;
    }
    
    .mantenimiento-descripcion {
        font-size: 0.9rem;
    }
    
    .mantenimiento-acciones {
        flex-direction: column;
        align-items: center;
    }
    
    .mantenimiento-acciones .boton {
        width: 100%;
        max-width: 100%;
    }
}

/* Móviles pequeños (max-width: 480px) */
@media (max-width: 480px) {
    .contenido-servicios {
        padding: 0 10px;
    }
    
    .tarjeta-servicio-dashboard {
        max-width: 100%;
    }
    
    .dashboard-body {
        padding: 15px;
    }
    
    .servicio-icono-png {
        width: 50px;
        height: 50px;
        padding: 10px;
    }
    
    .tarjeta-servicio-dashboard h3 {
        font-size: 1.2rem;
    }
    
    .servicio-descripcion {
        font-size: 0.85rem;
    }
    
    .precio-cantidad {
        font-size: 1.8rem;
    }
    
    .servicio-bonus, .servicio-entrega {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    .servicio-caracteristicas li {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .servicio-caracteristicas i {
        margin-top: 0;
    }
    
    .mantenimiento-header h3 {
        font-size: 1.3rem;
    }
    
    .mantenimiento-descripcion {
        font-size: 0.85rem;
    }
    
    .opcion-mantenimiento-dashboard {
        padding: 20px 15px;
    }
    
    .opcion-mantenimiento-dashboard h4 {
        font-size: 1.3rem;
    }
    
    .mantenimiento-precio {
        font-size: 1.8rem;
    }
    
    .mantenimiento-caracteristicas li {
        font-size: 0.8rem;
        flex-direction: row;
        text-align: left;
    }
    
    .dashboard-header {
        padding: 10px 15px;
    }
    
    .dashboard-url {
        font-size: 0.7rem;
    }
    
    .live-badge {
        font-size: 0.6rem;
        padding: 3px 8px !important;
    }
}