/* ==========================================================================
   1. VARIABLES Y RESET (Base común para todas las páginas)
   ========================================================================== */
:root {
    --primary: #004001;
    --accent: #00ce07;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --white: #ffffff;
    --soft-green: #f0f7f0;
    --urgent: #ff4d4d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Open Sans', sans-serif; 
    line-height: 1.6; 
    color: var(--dark); 
    background-color: var(--white);
    overflow-x: hidden;
    top: 0 !important; 
}

/* ==========================================================================
   2. HEADER Y NAVEGACIÓN (Universal)
   ========================================================================== */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    font-size: 1.5rem; 
    color: var(--primary); 
    text-decoration: none; 
}

#menu { display: flex; gap: 1.5rem; align-items: center; }

#menu a, .dropbtn { 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: 0.3s;
    cursor: pointer;
    background: none;
    border: none;
}

#menu a:hover, #menu a.active, .active-parent .dropbtn { color: var(--accent) !important; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 3px solid var(--accent);
}
.dropdown-content.show { display: block; }
.dropdown-content a { 
    padding: 10px 20px !important; 
    display: block !important; 
    color: var(--dark) !important; 
    font-size: 0.9rem !important;
}

/* ==========================================================================
   3. ESTRUCTURA DEL INDEX (Hero y Grids)
   ========================================================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('../img/139.jpg') no-repeat center/cover;
    min-height: 70vh;
    gap: 4rem;
}

.hero-text { flex: 1; max-width: 600px; }
.hero-text h1 { font-family: 'Montserrat'; font-size: 3.5rem; color: var(--primary); line-height: 1.1; margin-bottom: 1.5rem; }
.hero img.image-placeholder { flex: 1; max-width: 500px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

.container { max-width: 1100px; margin: 0 auto; padding: 5rem 5%; }

.grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    margin-bottom: 6rem; 
}

.grid.reverse { direction: rtl; }
.grid.reverse .content-box { direction: ltr; }

.content-box h2 { color: var(--primary); font-family: 'Montserrat'; font-size: 2.2rem; margin-bottom: 1.5rem; }
.image-placeholder { width: 100%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* ==========================================================================
   4. ESTRUCTURA DE NOTICIAS (Blog)
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.blog-card:hover { transform: translateY(-10px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-content { padding: 1.5rem; flex-grow: 1; }

.tag {
    display: inline-block;
    background: var(--soft-green);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    display: inline-block !important;
    margin-top: auto;
    transition: 0.3s;
}

.read-more:hover { color: var(--primary) !important; letter-spacing: 1px; }

/* Noticia Urgente */
.urgent-card { border: 2px solid var(--urgent); position: relative; }
.urgent-badge {
    position: absolute; top: 15px; left: 15px; background: rgba(255, 77, 77, 0.9);
    color: white; padding: 5px 15px; border-radius: 20px; font-weight: 700;
    display: flex; align-items: center; gap: 8px; z-index: 10;
}
.dot { width: 8px; height: 8px; background: white; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==========================================================================
   5. ESTRUCTURA DE SERVICIOS
   ========================================================================== */
.services-hero { background: var(--primary); color: var(--white); text-align: center; padding: 5rem 5%; }
.services-hero h1 { font-family: 'Montserrat'; font-size: 2.8rem; margin-bottom: 1rem; }

.container-services { max-width: 1200px; margin: 0 auto; padding: 5rem 5%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.service-content { padding: 2rem; }
.service-content h2 { color: var(--primary); font-family: 'Montserrat'; font-size: 1.5rem; margin-bottom: 1rem; }

/* ==========================================================================
   6. ASISTENCIA REMOTA
   ========================================================================== */
.remote-container { max-width: 1000px; margin: 4rem auto; padding: 0 5%; text-align: center; }
.support-card { background: var(--white); padding: 3.5rem; border-radius: 20px; box-shadow: 0 15px 45px rgba(0,0,0,0.08); border: 1px solid #eee; }
.support-card h1 { font-family: 'Montserrat'; color: var(--primary); font-size: 2.5rem; margin-bottom: 1.5rem; }
.instruction-text { font-size: 1.1rem; color: #555; margin-bottom: 2.5rem; line-height: 1.8; }

.btn-download {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    padding: 18px 40px !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}
.btn-download:hover { background-color: var(--accent) !important; transform: translateY(-3px); }

.security-note { margin-top: 2.5rem; padding: 1rem; background: var(--soft-green); border-radius: 10px; font-size: 0.9rem; color: #444; }
.image-strip { display: flex; justify-content: center; gap: 2rem; margin-top: 4rem; }
.image-strip img { height: 60px; opacity: 0.5; transition: 0.3s; }

/* ==========================================================================
   7. SECCIÓN LEGAL (NUEVO PARA AVISO-LEGAL.PHP)
   ========================================================================== */
.container h1 { margin-bottom: 2rem; }
.container h2 { font-family: 'Montserrat'; color: var(--primary); margin: 2rem 0 1rem 0; font-size: 1.8rem; }
.container ul { margin-bottom: 1.5rem; padding-left: 20px; }
.container li { margin-bottom: 0.5rem; }

.data-box {
    background: var(--soft-green);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent);
    margin-bottom: 2rem;
}
.data-box p { margin-bottom: 0.5rem !important; font-size: 0.95rem; }
.legal-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.last-review { margin-top: 3rem; font-style: italic; color: #888; font-size: 0.85rem; }

/* ==========================================================================
   8. BOTONES Y ELEMENTOS COMUNES
   ========================================================================== */
.btn-main {
    background: var(--primary) !important;
    color: white !important;
    padding: 15px 35px !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.btn-google {
    background: #4285F4 !important;
    color: white !important;
    padding: 16px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.reviews-section {
    background: var(--soft-green);
    padding: 5rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Traductor de Google */
.goog-te-gadget-simple { background-color: var(--white) !important; border: 1px solid #eee !important; padding: 6px 12px !important; border-radius: 8px !important; }
.goog-te-gadget-icon { display: none !important; }
.goog-te-menu-value { color: var(--primary) !important; font-weight: 600; }
.goog-te-banner-frame { display: none !important; }

/* ==========================================================================
   9. FOOTER Y COOKIES (VERSIÓN VERDE TUPECÉ)
   ========================================================================== */

footer {
    background: #0a3d0a; /* Verde oscuro elegante */
    color: #e8ffe8;      /* Verde claro suave */
    padding: 3.5rem 5%;
    text-align: center;
    border-top: 4px solid #1f7a1f; /* Línea superior verde brillante */
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #b8ffb8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color .2s ease;
}

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

/* Banner de cookies versión verde */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    color: #004d00;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #1f7a1f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    max-width: 300px;
    z-index: 9999;
    display: none;
}

.btn-cookie {
    background: #1f7a1f;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background .2s ease;
}

.btn-cookie:hover {
    background: #145214;
}

/* ==========================================================================
   10. RESPONSIVO (Móvil)
   ========================================================================== */
.menu-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    width: 30px; height: 21px; background: transparent; border: none; cursor: pointer;
}
.menu-toggle span { width: 100%; height: 3px; background-color: var(--accent); border-radius: 10px; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    #menu {
        display: none; flex-direction: column; width: 100%; position: absolute;
        top: 60px; left: 0; background: white; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    #menu.active { display: flex; }
    .hero, .grid, .services-grid, .blog-grid { grid-template-columns: 1fr !important; flex-direction: column; text-align: center; }
    .grid.reverse { direction: ltr; }
    .hero img.image-placeholder { margin-top: 2rem; }
    .image-strip { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   11. PÁGINAS LEGALES (Aislado para Aviso Legal y Cookies)
   ========================================================================== */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.legal-container h1, .article-container h1 { 
    font-family: 'Montserrat'; 
    color: var(--primary); 
    margin-bottom: 2rem; 
}

.legal-container h2, .article-container h2 { 
    font-family: 'Montserrat'; 
    color: var(--primary); 
    margin: 2.5rem 0 1rem 0; 
    font-size: 1.8rem; 
}

.legal-container p, .article-container p { margin-bottom: 1.2rem; }

/* ==========================================================================
   12. ESTILOS PARA ARTÍCULOS DE NOTICIAS (LECTURA AISLADA)
   ========================================================================== */

/* Contenedor de lectura optimizado */
.article-container {
    max-width: 850px !important;
    margin: 0 auto;
    padding: 4rem 5% !important;
}

.article-container h1 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.article-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
}

.article-container p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.back-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Etiquetas y Avisos */
.status-badge {
    background: var(--urgent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Cajas de Información (Panda y Software Libre) */
.highlight-box, .warning-box, .tips-box, .info-box, .plan-b {
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
}

.highlight-box, .info-box {
    background: var(--soft-green);
    border-left: 5px solid var(--primary);
}

.warning-box {
    background: #fff5f5;
    border-left: 5px solid var(--urgent);
}

.tips-box, .plan-b {
    background: #f8f9fa;
    border: 1px solid #eee;
}

/* Cuadrícula de características (Noticia Panda) */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Tablas dentro de noticias */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid #eee;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 0.9rem;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

tr:nth-child(even) {
    background: #fafafa;
}

/* Firma y Cierre */
.footer-firma {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.final-trust {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    margin-top: 3rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr; }
    .article-container h1 { font-size: 2rem; }
}

/* ==========================================================================
   13. ESTILOS ESPECÍFICOS PARA NOTICIA POP VS IMAP
   ========================================================================== */

/* Cajas de comparación en paralelo */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2.5rem 0;
}

.box {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
}

.pop-box { background-color: var(--soft-green); border-left: 5px solid var(--primary); }
.imap-box { background-color: #f9f9f9; border-left: 5px solid var(--accent); }

/* Tabla de comparativa técnica */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th {
    background: var(--primary);
    color: white;
    padding: 12px;
    text-align: left;
}

.table-container td {
    padding: 12px;
    border: 1px solid #eee;
    font-size: 0.95rem;
}

/* Caja de veredicto final */
.verdict-box {
    background: var(--dark);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.verdict-box h3 { color: var(--accent); margin-bottom: 1rem; }

/* Ajuste móvil para las cajas */
@media (max-width: 768px) {
    .comparison-box { grid-template-columns: 1fr; }
}
/* ==========================================================================
   14. ESTILOS ESPECÍFICOS PARA ARTÍCULO DE BISAGRAS
   ========================================================================== */

/* Introducción destacada */
.intro-lead {
    font-size: 1.25rem !important;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 2.5rem;
}

/* Caja de análisis físico */
.physics-box {
    background-color: #f0f7f0; /* var(--soft-green) */
    border-left: 5px solid var(--primary);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    margin: 2rem 0;
}

.physics-box strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Caja de prevención y consejos */
.prevention-box {
    background-color: var(--dark);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 4rem;
}

.prevention-box h3 {
    color: var(--accent);
    font-family: 'Montserrat';
    margin-bottom: 1.5rem;
}

.prevention-box ul {
    list-style: none;
    padding: 0;
}

.prevention-box li {
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
    color: #ccc !important;
}

.prevention-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}
/* ==========================================================================
   15. ESTILOS ESPECÍFICOS PARA LA TABLA DE SOFTWARE LIBRE
   ========================================================================== */

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Diseño de la Tabla Maestra */
.master-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.master-table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.master-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.master-table tr:hover {
    background-color: var(--soft-green);
}

/* Etiquetas de Categoría y Alternativa */
.cat-tag {
    background: #eef2ee;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.alt-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Tarjeta de Notas Técnicas (Info Card) */
.info-card {
    background: var(--dark);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 4rem 0;
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat';
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.info-card li:last-child { border: none; }

.migration-invite {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3rem;
}

/* Responsivo para la tabla */
@media (max-width: 768px) {
    .master-table {
        display: block;
        overflow-x: auto; /* Permite scroll lateral en móviles */
    }
}
/* ==========================================================================
   16. ESTILOS ESPECÍFICOS PARA NOTICIA URGENTE (CORREOS)
   ========================================================================== */

/* Etiqueta superior de aviso */
.urgent-label {
    background-color: var(--urgent);
    color: white;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Caja de alerta roja */
.urgent-box {
    background-color: #fff5f5;
    border-left: 5px solid var(--urgent);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2.5rem 0;
    font-size: 1.1rem;
    color: #b91c1c;
}

/* Caja de pasos a seguir */
.steps-box {
    background-color: var(--soft-green);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.steps-box h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Tarjeta de llamada a la acción final */
.action-card {
    background: linear-gradient(135deg, var(--primary) 0%, #002a01 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 64, 1, 0.2);
}

.action-card h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.action-card p {
    color: #e2e8f0 !important;
}
/* ==========================================================================
   18. UTILIDAD: TEST DE SALUD DIGITAL
   ========================================================================== */

.security-test-form {
    margin-top: 2rem;
}

.test-question {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.test-question:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.test-question p {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.test-question label {
    display: block;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.test-question label:hover {
    background: var(--soft-green);
}

.test-question input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--accent);
}

/* Botones del Test */
.btn-submit-test {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: 0.3s;
}

.btn-submit-test:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Contenedor de Resultados */
.test-result-container {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #eee;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Barra de Puntuación */
.score-bar {
    width: 100%;
    background: #eee;
    height: 20px;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
}

#scoreFill {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 1s ease-in-out;
}

.recommendations-box {
    background: var(--soft-green);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
    border-left: 5px solid var(--primary);
}

.btn-retry {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-retry:hover {
    background: var(--primary);
    color: white;
}

/* Ajustes Móviles */
@media (max-width: 768px) {
    .test-question {
        padding: 1rem;
    }
    .btn-submit-test {
        font-size: 1rem;
    }
}
/* ==========================================================================
   19. UTILIDAD: ESCÁNER DE PUERTOS (DIAGNOSIS)
   ========================================================================== */
.scan-form {
    text-align: center;
    padding: 2.5rem 0;
    background: var(--soft-green);
    border-radius: 15px;
    margin: 2rem 0;
}

/* Etiquetas de estado */
.badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
}

.status-open {
    background-color: #ffebeb;
    color: var(--urgent);
    border: 1px solid var(--urgent);
}

.status-closed {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--accent);
}

/* Ajuste de tabla para móviles */
@media (max-width: 600px) {
    .master-table, .master-table tbody, .master-table tr, .master-table td {
        display: block;
        width: 100%;
    }
    .master-table thead { display: none; }
    .master-table tr { margin-bottom: 15px; border: 1px solid #eee; border-radius: 8px; }
    .master-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #f9f9f9;
    }
    .master-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: var(--primary);
    }
}
/* ==========================================================================
   20. ESTILOS ESPECÍFICOS PARA NOTICIA URGENTE (GOOGLE/THUNDERBIRD)
   ========================================================================== */

/* Badge de estado en la parte superior */
.status-badge {
    background-color: var(--urgent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Caja de solución destacada (Thunderbird) */
.highlight-box {
    background: var(--soft-green);
    border-left: 5px solid var(--accent);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    margin: 2.5rem 0;
}

.highlight-box h2 {
    color: var(--primary) !important;
    margin-top: 0 !important;
    font-size: 1.5rem !important;
}

.highlight-box ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
}

/* Icono de check para la lista de beneficios */
.highlight-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Caja de Plan B (Webmail) */
.plan-b {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.plan-b h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Títulos de sección específicos */
.section-title-legal {
    color: var(--primary);
    border-bottom: 2px solid var(--soft-green);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Firma final */
.footer-firma {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
}

/* Ajustes para el contenedor de lectura (noticias) */
.container h1 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.container p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .highlight-box {
        padding: 1.5rem;
    }
    .container h1 {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   21. PERSONALIZACIÓN DEL TRADUCTOR DE GOOGLE
   ========================================================================== */

/* Contenedor principal */
#google_translate_element {
    margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
}

/* Estilo de la caja del traductor */
.goog-te-gadget-simple {
    background-color: var(--white) !important;
    border: 1px solid #eee !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.85rem !important;
    cursor: pointer;
    transition: 0.3s;
    display: flex !important;
    align-items: center;
}

.goog-te-gadget-simple:hover {
    border-color: var(--accent) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Ocultar el logo de Google */
.goog-te-gadget-icon {
    display: none !important;
}

/* Estilo del texto "Seleccionar idioma" */
.goog-te-menu-value {
    color: var(--primary) !important;
    font-weight: 600;
}

.goog-te-menu-value span {
    color: var(--primary) !important;
}

/* Ocultar el separador | y la flecha por defecto */
.goog-te-menu-value img {
    display: none !important;
}

/* Añadir nuestra propia flecha personalizada */
.goog-te-menu-value:after {
    content: ' ▼';
    font-size: 0.7rem;
    color: var(--accent);
    margin-left: 5px;
}

/* ==========================================================================
   22. ESTILOS ESPECÍFICOS PARA DIAGNOSTICO
   ========================================================================== */
   
.diagnostic-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.step {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    align-items: flex-start;
}
.step-number {
    background: var(--primary);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}