/* ==========================================================================
   NOSOLOCHIPS - ESTILOS DE SERVICIO TÉCNICO (INTEGRADO PARA WORDPRESS)
   ========================================================================== */

/* Contenedor principal con scoping para evitar conflictos en WordPress */
.nsc-wrapper {
    --nsc-primary: #0d47a1;
    --nsc-primary-light: #e3f2fd;
    --nsc-primary-hover: #1565c0;
    --nsc-accent: #22aeff;
    --nsc-dark: #212121;
    --nsc-text-muted: #666666;
    --nsc-light: #f8fafc;
    --nsc-white: #ffffff;
    --nsc-border: #e2e8f0;
    --nsc-success: #25D366;
    --nsc-success-hover: #128C7E;
    --nsc-warning-bg: #fff3e0;
    --nsc-warning-border: #ffe0b2;
    --nsc-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --nsc-shadow-md: 0 4px 12px rgba(13, 71, 161, 0.08);
    --nsc-shadow-lg: 0 10px 25px rgba(13, 71, 161, 0.12);
    --nsc-transition: all 0.3s ease;
    
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--nsc-dark);
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Reset local para elementos dentro de nuestro wrapper */
.nsc-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- TÍTULOS Y TEXTO --- */
.nsc-wrapper h2 {
    color: var(--nsc-primary);
    font-size: 1.85rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.nsc-wrapper h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--nsc-accent);
    margin: 8px auto 0;
    border-radius: 2px;
}

.nsc-wrapper p.nsc-intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--nsc-text-muted);
    max-width: 700px;
    margin: 0 auto 35px;
}

.nsc-grid-dispositivos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 50px;
}

@media (min-width: 480px) {
    .nsc-grid-dispositivos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .nsc-grid-dispositivos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nsc-card-dispositivo {
    background-color: var(--nsc-white);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: var(--nsc-shadow-sm);
    border: 1px solid var(--nsc-border);
    border-top: 4px solid var(--nsc-primary);
    text-align: center;
    transition: var(--nsc-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nsc-card-dispositivo:hover {
    transform: translateY(-5px);
    box-shadow: var(--nsc-shadow-md);
    border-color: var(--nsc-primary-light);
    border-top-color: var(--nsc-accent);
}

.nsc-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--nsc-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--nsc-transition);
}

.nsc-card-dispositivo:hover .nsc-icon-container {
    background-color: var(--nsc-primary);
}

.nsc-card-dispositivo:hover .nsc-icon-container img {
    filter: brightness(0) invert(1);
}

.nsc-icon-container img {
    width: 32px;
    height: 32px;
    transition: var(--nsc-transition);
}

.nsc-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nsc-primary);
    margin-bottom: 6px;
}

.nsc-card-subtitle {
    font-size: 0.85rem;
    font-weight: normal;
    color: var(--nsc-text-muted);
}

/* --- SECCIÓN QUÉ REPARAMOS --- */
.nsc-que-reparamos {
    margin-bottom: 50px;
}

/* --- BANNER PRESUPUESTO --- */
.nsc-banner-presupuesto {
    background-color: var(--nsc-primary-light);
    border-left: 6px solid var(--nsc-primary);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    box-shadow: var(--nsc-shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nsc-banner-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.nsc-banner-content h3 {
    color: var(--nsc-primary);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.nsc-banner-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
}

/* --- OPCIONES DE ENVÍO --- */
.nsc-opciones-envio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

.nsc-opcion-card {
    background-color: var(--nsc-white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: var(--nsc-shadow-sm);
    border: 1px solid var(--nsc-border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--nsc-transition);
}

.nsc-opcion-card:hover {
    box-shadow: var(--nsc-shadow-md);
    transform: translateY(-2px);
}



.nsc-opcion-card h3 {
    font-size: 1.25rem;
    color: var(--nsc-primary);
    border-bottom: 2px solid var(--nsc-light);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 700;
}

.nsc-direccion-sat {
    background-color: var(--nsc-light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px dashed var(--nsc-border);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
}

.nsc-precio-mrw {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.15rem;
    color: #166534;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
}

.nsc-precio-mrw span {
    display: block;
    font-size: 0.85rem;
    font-weight: normal;
    color: #15803d;
    margin-top: 4px;
}

/* --- INSTRUCCIONES DE EMBALAJE --- */
.nsc-embalaje-seccion {
    background-color: var(--nsc-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--nsc-shadow-sm);
    border: 1px solid var(--nsc-border);
    margin: 50px 0;
}

.nsc-embalaje-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.nsc-embalaje-header img {
    width: 32px;
    height: 32px;
}

.nsc-embalaje-header h2 {
    margin: 0;
    text-align: left;
}

.nsc-embalaje-header h2::after {
    display: none;
}

.nsc-lista-embalaje {
    list-style-type: none;
    margin-top: 20px;
}

.nsc-lista-embalaje li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
}

.nsc-lista-embalaje li img.nsc-li-icon {
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
}

.nsc-importante-nota {
    background-color: var(--nsc-warning-bg);
    border: 1px solid var(--nsc-warning-border);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    position: relative;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.nsc-importante-nota img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.nsc-nota-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #c05621;
    margin-bottom: 6px;
}

.nsc-nota-content p {
    font-size: 0.95rem;
    color: #7b341e;
    line-height: 1.6;
}

/* --- SECCIÓN CTA DE ACCIÓN FINAL --- */
.nsc-cta-seccion {
    text-align: center;
    margin: 60px 0 30px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--nsc-light), #ecf4fc);
    border-radius: 20px;
    border: 1px solid var(--nsc-border);
}

.nsc-cta-seccion h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.nsc-cta-seccion h2::after {
    margin-top: 12px;
}

.nsc-cta-seccion p.nsc-cta-desc {
    font-size: 1.15rem;
    margin: 20px auto 35px;
    max-width: 600px;
    color: var(--nsc-text-muted);
}

.nsc-botones-contacto {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-direction: row; /* Uno al lado del otro por defecto en pantallas grandes */
    flex-wrap: wrap;
    width: 100%;
}

.nsc-btn-contacto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    color: var(--nsc-white);
    transition: var(--nsc-transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 290px;
}

.nsc-btn-contacto img {
    width: 22px;
    height: 22px;
    fill: currentColor;
    filter: brightness(0) invert(1); /* Convierte el icono a blanco */
}

.nsc-btn-whatsapp {
    background-color: var(--nsc-success);
}

.nsc-btn-whatsapp:hover {
    background-color: var(--nsc-success-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.nsc-btn-telefono {
    background-color: var(--nsc-primary);
}

.nsc-btn-telefono:hover {
    background-color: var(--nsc-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.25);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 768px) {
    .nsc-wrapper {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .nsc-wrapper h2 {
        font-size: 1.5rem;
    }
    

    .nsc-opciones-envio {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nsc-opcion-card {
        padding: 25px 20px;
    }
    
    .nsc-embalaje-seccion {
        padding: 25px 20px;
    }
    
    .nsc-embalaje-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .nsc-cta-seccion {
        padding: 35px 20px;
    }
    
    .nsc-cta-seccion h2 {
        font-size: 1.6rem;
    }
    
    /* MODIFICACIÓN CRÍTICA SOLICITADA POR EL USUARIO:
       Botones apilados uno sobre el otro, centrados y ocupando todo el ancho */
    .nsc-botones-contacto {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .nsc-btn-contacto {
        width: 100%;
        max-width: 380px; /* Evita que se estire demasiado en pantallas móviles grandes */
        text-align: center;
        padding: 15px 25px;
    }
}

/* ==========================================================================
   NOSOLOCHIPS - ESTILOS ADICIONALES PARA LA PÁGINA EXPRESS
   ========================================================================== */

.nsc-wrapper {
    --nsc-destaque: #ff6d00;
}

/* --- HERO EXPRESS --- */
.nsc-hero-express {
    background: linear-gradient(135deg, var(--nsc-primary), var(--nsc-primary-hover));
    color: var(--nsc-white);
    text-align: center;
    padding: 65px 20px;
    border-radius: 20px;
    border-bottom: 4px solid var(--nsc-accent);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--nsc-shadow-md);
}

.nsc-hero-express h1 {
    color: var(--nsc-white) !important;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.nsc-hero-express p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 25px auto;
    opacity: 0.94;
    line-height: 1.6;
}

.nsc-badge-express {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--nsc-destaque);
    color: var(--nsc-white);
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 109, 0, 0.3);
    animation: nscPulse 2s infinite;
}

.nsc-badge-express img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@keyframes nscPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* --- CONDICIONES EXPRESS --- */
.nsc-banner-condiciones {
    background-color: var(--nsc-warning-bg);
    border-left: 6px solid var(--nsc-destaque);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    box-shadow: var(--nsc-shadow-sm);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.nsc-banner-condiciones img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.nsc-condiciones-content h3 {
    color: #c05621;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.nsc-condiciones-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #7b341e;
}

/* --- SERVICIOS EXPRESS (GRID DE 3 COLUMNAS) --- */
.nsc-grid-servicios {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.nsc-card-servicio {
    background-color: var(--nsc-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--nsc-shadow-sm);
    border: 1px solid var(--nsc-border);
    border-top: 5px solid var(--nsc-primary);
    transition: var(--nsc-transition);
    display: flex;
    flex-direction: column;
}

.nsc-card-servicio:hover {
    transform: translateY(-5px);
    box-shadow: var(--nsc-shadow-md);
    border-top-color: var(--nsc-accent);
}

.nsc-img-contenedor {
    width: 100%;
    height: 220px;
    background-color: var(--nsc-light);
    overflow: hidden;
    position: relative;
}

.nsc-img-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--nsc-transition);
}

.nsc-card-servicio:hover .nsc-img-contenedor img {
    transform: scale(1.05);
}

.nsc-card-contenido {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nsc-card-contenido h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    color: var(--nsc-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.nsc-card-contenido h3 img {
    width: 24px;
    height: 24px;
}

.nsc-card-contenido p {
    font-size: 0.95rem;
    color: var(--nsc-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.nsc-card-contenido ul {
    list-style: none;
    margin-top: auto;
}

.nsc-card-contenido ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.4;
}

.nsc-card-contenido ul li::before {
    content: "✓";
    color: #16a34a;
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* --- PASOS REPARACIÓN CITA (3 COLUMNAS) --- */
.nsc-como-funciona {
    background-color: var(--nsc-white);
    padding: 45px 35px;
    border-radius: 16px;
    box-shadow: var(--nsc-shadow-sm);
    border: 1px solid var(--nsc-border);
    margin: 50px 0;
}

.nsc-pasos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.nsc-paso-item {
    text-align: center;
    padding: 10px 15px;
}

.nsc-paso-icono {
    width: 76px;
    height: 76px;
    background-color: var(--nsc-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid var(--nsc-accent);
    transition: var(--nsc-transition);
}

.nsc-paso-item:hover .nsc-paso-icono {
    background-color: var(--nsc-primary);
    border-color: var(--nsc-primary);
    transform: rotate(5deg);
}

.nsc-paso-icono img {
    width: 32px;
    height: 32px;
    transition: var(--nsc-transition);
}

.nsc-paso-item:hover .nsc-paso-icono img {
    filter: brightness(0) invert(1);
}

.nsc-paso-item h3 {
    font-size: 1.2rem;
    color: var(--nsc-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.nsc-paso-item p {
    font-size: 0.95rem;
    color: var(--nsc-text-muted);
    line-height: 1.6;
}

/* --- MEDIA QUERIES PARA PÁGINA EXPRESS --- */
@media (min-width: 576px) {
    .nsc-grid-servicios {
        grid-template-columns: repeat(2, 1fr);
    }
    .nsc-pasos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .nsc-grid-servicios {
        grid-template-columns: repeat(3, 1fr);
    }
    .nsc-pasos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nsc-hero-express {
        padding: 45px 15px;
        border-radius: 12px;
    }
    .nsc-hero-express h1 {
        font-size: 1.9rem;
    }
    .nsc-banner-condiciones {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }
    .nsc-como-funciona {
        padding: 30px 15px;
    }
}
