/* ==========================================================================
   VARIABLES GLOBALES
   ========================================================================== */
:root {
    --mg-dark-blue: #0A192F; /* Azul oscuro profundo */
    --mg-accent-blue: #1E3A8A; /* Azul eléctrico para detalles */
    --mg-white: #FFFFFF;
    --mg-black: #050505;
}

/* ==========================================================================
   EFECTOS GLOBALES PARA BOTONES (SHINY & GLOW)
   ========================================================================== */

/* Clase base para activar el destello brillante */
.mg-effect-shiny, .btn-reparar, .ra-btn-shiny, .ra-youtube-btn {
    position: relative !important;
    overflow: hidden !important;
}

/* El destello blanco que cruza los botones automáticamente */
.mg-effect-shiny::after, .btn-reparar::after, .ra-btn-shiny::after, .ra-youtube-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(255, 255, 255, 0.4) 50%, 
                rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: mg-global-shine 3.5s infinite ease-in-out !important;
}

/* Clase opcional para añadir la sombra de neón azul */
.mg-effect-glow {
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4) !important;
}

/* Animación del destello unificado */
@keyframes mg-global-shine {
    0% { left: -30%; }
    20% { left: 130%; }
    100% { left: 130%; }
}

/* ==========================================================================
   SEPARADOR LINEAL CON EFECTO GLOW LASER
   ========================================================================== */
.mg-glow-separator {
    position: relative;
    width: 100%;
    height: 1px;
    background-color: #050505; /* Fondo negro para que combine con el sitio */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0; /* Margen vertical para dar aire a las secciones */
    overflow: visible;
}

/* La línea láser con degradado que se difumina a los extremos */
.mg-separator-laser {
    position: absolute;
    width: 80%; /* No toca los bordes de la pantalla para un look más fino */
    max-width: 1140px;
    height: 1px;
    background: linear-gradient(90deg, 
                rgba(74, 144, 226, 0) 0%, 
                rgba(74, 144, 226, 0.8) 50%, 
                rgba(74, 144, 226, 0) 100%);
    /* El brillo difuminado detrás de la línea */
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.6), 
                0 0 4px rgba(74, 144, 226, 0.4);
}

/* El núcleo o punto brillante central estilo microcomponente */
.mg-separator-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border: 1px solid #4A90E2;
    border-radius: 50%;
    box-shadow: 0 0 15px #4A90E2, 
                0 0 30px #4A90E2;
    z-index: 2;
}

/* Ajuste sutil para PCs (Escritorio) */
@media (min-width: 769px) {
    .mg-glow-separator {
        padding: 60px 0; /* Un poco más de espacio en pantallas grandes */
    }
    .mg-separator-laser {
        width: 60%; /* En monitores grandes se ve más elegante si es más corta */
    }
}

/* ==========================================================================
   SECCIÓN HERO PREMIUM (DISEÑO ASIMÉTRICO LAB - MOBILE-FIRST)
   ========================================================================== */
.mg-hero {
    width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important; /* Evita que la barra del navegador móvil corte el botón */
    display: flex !important;
    align-items: center !important;
    position: relative;
    overflow: hidden;
    padding: 80px 16px 40px 16px;
    background-color: #050505;
}

/* Capa de fondo avanzada: degradado agresivo para legibilidad y textura tech */
.mg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                rgba(5, 5, 5, 0.85) 0%, 
                rgba(10, 25, 47, 0.9) 50%, 
                rgba(5, 5, 5, 0.95) 100%),
                url('../images/local-fachada2.webp') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

.mg-hero .container {
    position: relative;
    z-index: 2;
    padding: 0;
}

/* Contenedor de texto con efecto Glassmorphism sutil de laboratorio */
.hero-content-box {
    background: rgba(10, 25, 47, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(74, 144, 226, 0.08);
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Badge con punto parpadeante (Efecto "En Vivo / Activo") */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.25);
    color: #4A90E2;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #4A90E2;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7);
    animation: badge-pulse 1.6s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 144, 226, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0); }
}

/* Títulos con tipografía masiva e impactante */
.hero-title {
    color: var(--mg-white) !important;
    font-size: 2.3rem !important;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem !important;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-text strong {
    color: var(--mg-white);
    font-weight: 600;
}

/* Área inferior de conversión */
.hero-action-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* Ajuste del botón para adecuarlo a la cuadrícula de contacto táctil */
.btn-reparar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--mg-dark-blue) !important;
    color: #ffffff !important;
    padding: 18px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 14px !important;
    border: 2px solid #4A90E2 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%; /* Ancho cómodo en teléfonos */
    transition: all 0.25s ease !important;
}

.btn-reparar:active {
    transform: scale(0.97) !important;
}

.hero-guarantee-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   MEJORAS PARA ESCRITORIO (MEDIA QUERIES INTEGRADOS INVERSOS)
   ========================================================================== */
@media (min-width: 992px) {
    .mg-hero {
        padding: 0;
    }
    
    /* En PC la imagen se desplaza hacia un lado permitiendo un balance asimétrico premium */
    .mg-hero::before {
        background: linear-gradient(90deg, 
                    rgba(5, 5, 5, 0.95) 0%, 
                    rgba(10, 25, 47, 0.85) 45%, 
                    rgba(5, 5, 5, 0.3) 100%),
                    url('../images/local-fachada2.webp') no-repeat center right;
        background-size: cover;
    }

    .hero-content-box {
        padding: 50px 45px;
        background: rgba(10, 25, 47, 0.15);
    }

    .hero-title {
        font-size: 4rem !important;
        line-height: 1.1;
    }

    .hero-text {
        font-size: 1.15rem !important;
    }

    .hero-action-area {
        flex-direction: row; /* En PC se ponen uno al lado del otro */
        gap: 25px;
    }

    .btn-reparar {
        width: auto; /* El botón recupera su tamaño original */
        padding: 18px 40px !important;
    }

    .btn-reparar:hover {
        background-color: #4A90E2 !important;
        color: var(--mg-dark-blue) !important;
        transform: translateY(-4px) !important;
        box-shadow: 0 12px 30px rgba(74, 144, 226, 0.6) !important;
    }
}
/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS (TRUST CARDS)
   ========================================================================== */
.ra-features {
    background-color: #ffffff;
    padding: 80px 0;
}

.ra-tagline {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #0A192F;
    opacity: 0.7;
}

.ra-features h2 {
    font-weight: 800;
    color: #0A192F;
    margin-top: 10px;
}

.ra-trust-card {
    background: #ffffff;
    border: 1px solid rgba(10, 25, 47, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.ra-trust-card:hover {
    transform: translateY(-8px);
    border-color: #0A192F;
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.15);
}

.ra-trust-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #0A192F;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.ra-trust-card:hover::before {
    transform: scaleX(1);
}

.trust-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.trust-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 25, 47, 0.04);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ra-trust-card:hover .trust-icon {
    background-color: #0A192F;
    transform: rotateY(180deg);
}

.ra-trust-card:hover .trust-icon img {
    filter: brightness(0) invert(1);
}

.trust-icon img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.trust-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 12px;
}

.trust-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   SECCIÓN YOUTUBE (RA-YOUTUBE)
   ========================================================================== */
.ra-youtube {
    background-color: var(--mg-black);
    padding: 100px 0;
    position: relative;
}

.ra-youtube-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                0 0 25px rgba(74, 144, 226, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}

.ra-youtube-video:hover {
    transform: translateY(-4px);
}

.yt-lite {
    position: relative;
    display: block;
    cursor: pointer;
    background-position: center;
    background-size: cover;
    aspect-ratio: 16 / 9;
}

.yt-lite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.yt-lite:hover img {
    filter: brightness(0.85);
}

.yt-play {
    width: 68px;
    height: 48px;
    background-color: rgba(10, 25, 47, 0.9);
    border: 2px solid #4A90E2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.yt-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #ffffff;
}

.yt-lite:hover .yt-play {
    background-color: #4A90E2;
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.ra-youtube-content {
    padding-left: 30px;
}

.ra-youtube-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4A90E2;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.ra-youtube-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mg-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.ra-youtube-content h2 span {
    color: #4A90E2;
    position: relative;
}

.ra-youtube-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.ra-youtube-btn {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    color: #4A90E2;
    border: 2px solid rgba(74, 144, 226, 0.4);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ra-youtube-btn:hover {
    background-color: rgba(74, 144, 226, 0.1);
    border-color: #4A90E2;
    color: var(--mg-white);
    transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN CTA PREMIUM (RA-CTA-PREMIUM)
   ========================================================================== */
.ra-cta-premium {
    background: linear-gradient(135deg, #0A192F 0%, #050505 100%);
    border-top: 1px solid rgba(74, 144, 226, 0.15);
    border-bottom: 1px solid rgba(74, 144, 226, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ra-cta-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--mg-white);
    margin-bottom: 15px;
}

.ra-cta-premium .text-red {
    color: #4A90E2 !important; 
    text-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 35px auto;
}

/* --- BOTÓN CTA PREMIUM (ESTILO PÍLDORA) --- */
.ra-btn-shiny {
    display: inline-block;
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--mg-dark-blue);
    border: 2px solid #4A90E2;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.ra-btn-shiny:hover {
    background-color: #4A90E2;
    color: var(--mg-dark-blue) !important;
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.7) !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.mg-footer {
    background-color: #0A192F;
    color: #ffffff;
    padding: 80px 0 0 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.mg-footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.mg-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #4A90E2;
}

.mg-footer-links {
    list-style: none;
    padding: 0;
}

.mg-footer-links li {
    margin-bottom: 12px;
}

.mg-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mg-footer-links a:hover {
    color: #4A90E2;
    padding-left: 8px;
}

.mg-social-links {
    display: flex;
    gap: 15px;
}

.mg-social-links a img {
    width: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: 0.3s;
}

.mg-social-links a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.mg-map-container {
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.mg-map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(0.9) opacity(0.5);
}

.mg-footer-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-btn-footer {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
    font-size: 0.9rem;
}

.btn-navy {
    background-color: #1E3A8A;
    color: white;
}

.btn-navy:hover {
    background-color: #4A90E2;
    color: white;
}

.btn-outline-blue {
    border: 1px solid #4A90E2;
    color: #4A90E2;
}

.btn-outline-blue:hover {
    background: #4A90E2;
    color: white;
}

.mg-footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mg-footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.mg-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
}

.mg-legal-links a:hover {
    color: #ffffff;
}

.text-accent {
    color: #4A90E2;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   MEDIA QUERIES (DESKTOP ENHANCEMENTS - PROCESO INVERSO DE MEDIA QUERY)
   ========================================================================== */
@media (min-width: 769px) {
    .mg-hero {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 3.5rem !important; /* Crece elegantemente en pantallas grandes */
        line-height: 1.15;
    }
    .hero-text {
        font-size: 1.2rem !important;
    }
    .hero-content-box {
        padding: 60px 40px;
        background: rgba(10, 25, 47, 0.2);
    }
    .btn-reparar:hover {
        background-color: #4A90E2 !important;
        color: var(--mg-dark-blue) !important;
        transform: translateY(-4px) !important;
        box-shadow: 0 10px 25px rgba(74, 144, 226, 0.7) !important;
    }
}

@media (max-width: 991px) {
    .ra-youtube {
        padding: 60px 0;
    }
    .ra-youtube-content {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }
    .ra-youtube-content h2 {
        font-size: 2rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-subtitle {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .ra-features {
        padding: 50px 0;
    }
}

/* ==========================================================================
   NUEVA ESTRUCTURA FAQ (DISEÑO ASIMÉTRICO LAB - MOBILE-FIRST)
   ========================================================================== */
.mg-faq-layout {
    background-color: var(--mg-black);
    padding: 60px 16px;
    position: relative;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

/* Columna de título lateral */
.mg-faq-sidebar {
    text-align: center;
    position: relative;
}

.mg-faq-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4A90E2;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.mg-faq-title {
    font-size: 2.2rem !important;
    font-weight: 800;
    color: var(--mg-white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.mg-faq-lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    line-height: 1.5;
}

/* Contenedor del Grid de Tarjetas */
.mg-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

/* Estructura de cada Tarjeta expuesta */
.mg-faq-card {
    background: rgba(10, 25, 47, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(74, 144, 226, 0.08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column; /* Mobile first: Icono arriba, texto abajo */
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Iconos de las tarjetas */
.mg-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.mg-card-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Contenido de la Tarjeta */
.mg-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mg-white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.mg-card-body p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
}

.mg-card-body strong {
    color: #4A90E2;
    font-weight: 600;
}

/* ==========================================================================
   MEJORAS EN PANTALLAS GRANDES (DESKTOP GRID ASIMÉTRICO)
   ========================================================================== */
@media (min-width: 769px) {
    .mg-faq-layout {
        padding: 100px 0;
    }

    .mg-faq-sidebar {
        text-align: left;
        position: sticky;
        top: 120px; /* Se queda fijo mientras el usuario baja leyendo */
    }

    .mg-faq-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 Columnas de tarjetas */
        gap: 20px;
        margin-top: 0;
    }

    /* La última tarjeta (Modelos) toma el ancho completo de las 2 columnas */
    .mg-card-fullwidth {
        grid-column: span 2;
    }

    .mg-faq-card {
        flex-direction: row; /* Horizontal en PC: Icono al lado del texto */
        align-items: flex-start;
        padding: 28px;
    }

    /* Efecto Glow Tech Premium al pasar el cursor */
    .mg-faq-card:hover {
        border-color: rgba(74, 144, 226, 0.3);
        background: rgba(10, 25, 47, 0.4);
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 
                    0 0 20px rgba(74, 144, 226, 0.1);
    }
}

/* ==========================================================================
   SECCIÓN DE VENTA DE SOFTWARE (ESTILO PREMIUM INDUSTRIAL)
   ========================================================================== */
.mg-software-promo {
    background-color: #050505;
    padding: 60px 16px;
    border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.software-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4A90E2;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
}

.mg-software-header h2 {
    color: var(--mg-white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.software-lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 0;
}

/* Tarjetas de Producto */
.software-card {
    background: rgba(10, 25, 47, 0.2);
    border: 1px solid rgba(74, 144, 226, 0.08);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenedor de la foto del Software */
.software-img-container {
    position: relative;
    width: 100%;
    height: 210px;
    background: rgba(5, 5, 5, 0.5);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(74, 144, 226, 0.05);
}

.software-img-container img {
    width: auto;
    height: 80%; /* Evita deformaciones y mantiene la caja centrada */
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card-status-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--mg-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

/* Cuerpo de la Tarjeta */
.software-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Empuja el botón al fondo para que todas las tarjetas midan lo mismo */
}

.software-card-body h3 {
    color: var(--mg-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.software-card-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Fila de Precios */
.software-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto; /* Se ancla abajo del bloque de texto */
    padding-top: 15px;
    border-top: 1px dashed rgba(74, 144, 226, 0.15);
    margin-bottom: 16px;
}

.price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4A90E2;
}

/* Botón de compra directo */
.btn-software {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--mg-white);
    border: 1px solid rgba(74, 144, 226, 0.3);
    padding: 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.btn-software:active {
    transform: scale(0.98);
}

/* ==========================================================================
   HOVERS Y RESPONSIVE (PC)
   ========================================================================== */
@media (min-width: 769px) {
    .mg-software-promo {
        padding: 100px 0;
    }

    .software-card:hover {
        border-color: rgba(74, 144, 226, 0.25);
        background: rgba(10, 25, 47, 0.35);
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }

    .software-card:hover .software-img-container img {
        transform: scale(1.06); /* Animación suave al pasar el mouse por encima */
    }

    .btn-software:hover {
        background: #4A90E2;
        color: #0A192F;
        border-color: #4A90E2;
        box-shadow: 0 0 15px rgba(74, 144, 226, 0.4);
    }
}/* ==========================================================================
   HOJA DE ESTILOS: CONTACTO Y DIAGNÓSTICO AVANZADO (contacto.css)
   ========================================================================== */

/* 1. Tarjetas Informativas de Canales Rápidos y Datos */
.info-card {
    background: rgba(10, 25, 47, 0.3);
    border: 1px solid rgba(74, 144, 226, 0.08);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.info-card h3 {
    color: var(--mg-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

/* 2. Botones de Conversión Rápida (Optimización Táctil Móvil) */
.btn-contact-quick {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--mg-white) !important;
    transition: transform 0.2s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp-direct {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.btn-phone-direct {
    background: rgba(74, 144, 226, 0.08);
    border: 1px solid rgba(74, 144, 226, 0.25);
}

/* Respuesta de presión al pulsar con el pulgar en celulares */
.btn-contact-quick:active {
    transform: scale(0.98);
}

/* 3. Lista Estructural de Detalles de Laboratorio */
.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-details-list li i {
    font-size: 1.15rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 4. Contenedor de Ficha Técnica Translúcida (Glassmorphism) */
.form-container-wrapper {
    background: rgba(10, 25, 47, 0.15);
    border: 1px solid rgba(74, 144, 226, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.form-container-wrapper h3 {
    color: var(--mg-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

/* 5. Estilización Industrial del Formulario */
.mg-technical-form .form-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inputs y Selectores Integrados a la Paleta Oscura */
.mg-technical-form .form-control,
.mg-technical-form .form-select {
    background-color: rgba(5, 5, 5, 0.7) !important;
    border: 1px solid rgba(74, 144, 226, 0.15) !important;
    color: var(--mg-white) !important;
    border-radius: 10px !important;
    padding: 13px 16px;
    font-size: 0.95rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Comportamiento al hacer foco (Efecto Energizado) */
.mg-technical-form .form-control:focus,
.mg-technical-form .form-select:focus {
    background-color: var(--mg-dark-blue) !important;
    border-color: #4A90E2 !important;
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.25) !important;
    outline: none;
}

/* Marcador de posición de texto */
.mg-technical-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Personalización del menú desplegable nativo */
.mg-technical-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234A90E2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3csvg%3e") !important;
}

/* 6. Entrada Especial de Ingeniería para Código de Error */
.technical-code-input {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: bold;
    color: #4A90E2 !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 7. Botón de Envío de Ficha con Integración de Identidad */
.btn-submit-technical {
    background-color: var(--mg-accent-blue) !important;
    border: 2px solid #4A90E2 !important;
    color: var(--mg-white) !important;
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.1s ease;
}

.btn-submit-technical:active {
    transform: scale(0.98);
}

/* ==========================================================================
   MEDIA QUERIES (Ajustes de resolución y estados de Escritorio)
   ========================================================================== */
@media (min-width: 992px) {
    .form-container-wrapper {
        padding: 40px;
    }

    /* Efectos de Iluminación Hover en PC */
    .info-card:hover {
        border-color: rgba(74, 144, 226, 0.2);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    }

    .btn-whatsapp-direct:hover {
        background: #25D366;
        border-color: #25D366;
        color: #000000 !important;
        font-weight: 700;
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
    }

    .btn-phone-direct:hover {
        background: #4A90E2;
        border-color: #4A90E2;
        color: var(--mg-black) !important;
        font-weight: 700;
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.35);
    }

    .btn-submit-technical:hover {
        background-color: #4A90E2 !important;
        color: var(--mg-dark-blue) !important;
        box-shadow: 0 0 25px rgba(74, 144, 226, 0.4) !important;
        cursor: pointer;
    }
}