:root {
    --white: #ffffff;
    --gray-bg: #fdfdfd;
    --gray-subtle: #f8f9fa;
    --border: #e9ecef;
    --dark-text: #111111;
    --muted-text: #6c757d;
    --accent: #000000;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
}

/* Navbar */
.m20-nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 2rem;
}
.back-link { text-decoration: none; color: var(--muted-text); font-size: 0.9rem; }
.nav-title { font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-quote { background: var(--accent); color: var(--white); border: none; padding: 0.5rem 1.2rem; cursor: pointer; font-size: 0.85rem; font-weight: 500; }

/* Hero */
.m20-hero {
    padding: 10rem 2rem 5rem 2rem;
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    text-align: center;
}
.hero-wrapper { max-width: 800px; margin: 0 auto; }
.badge { display: inline-block; background: var(--gray-subtle); border: 1px solid var(--border); padding: 0.3rem 0.8rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 0.5px;}
h1 { font-size: 3.8rem; font-weight: 700; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.25rem; color: var(--muted-text); font-weight: 300; margin-bottom: 4rem; }

/* Quick Specs Widgets */
.quick-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 2.5rem;}
.spec-item h3 { font-size: 2rem; font-weight: 600; }
.spec-item p { font-size: 0.85rem; color: var(--muted-text); }

/* Table Elements */
.specs-table-section { padding: 4rem 2rem 8rem 2rem; background: var(--gray-bg); }
.table-container { max-width: 1000px; margin: 0 auto; }
h2 { font-size: 1.6rem; margin-bottom: 2rem; font-weight: 600; letter-spacing: -0.5px; }

.tech-table {
    width: 100%; border-collapse: collapse; text-align: left; background: var(--white); box-shadow: 0 4px 30px rgba(0,0,0,0.01);
}
.tech-table th, .tech-table td { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.tech-table th { background: #000; color: var(--white); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }

.section-divider { background: var(--gray-subtle); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #333; }
.feature { font-weight: 500; color: #222; width: 35%; }
.center-text { text-align: center; color: #444; }
.highlight-cell { font-weight: 600; background-color: rgba(0,0,0,0.01); }
.option { color: var(--muted-text); font-style: italic; }
.status-yes { background: #111; color: #fff; padding: 0.2rem 0.5rem; font-size: 0.75rem; font-weight: bold; border-radius: 2px; }

.m20-footer { text-align: center; padding: 3rem; font-size: 0.85rem; color: var(--muted-text); border-top: 1px solid var(--border); }

@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .quick-specs { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .tech-table th, .tech-table td { padding: 0.8rem; font-size: 0.85rem; }
}

.imagen-x30 {
    width: 100%;
}

.imagen-x302 {
    width: 50%;
    padding: 20px;

}

@media(max-width: 768px) {
   .imagen-x302 {
    width: 100%;

}
}

.imagenesx30 {
    display: flex;
    flex-direction: row;
}

@media(max-width: 768px) {
   .imagenesx30 {
    display: flex;
    flex-direction: column;
}
}

@media(max-width: 768px) {
   .nav-title {
        font-size: 10px;
        padding: 15px;

}

    .back-link {
        font-size: 15px;
    }
}

/* Desplazamiento row tabla */

/* --- ESTILOS DE LA SECCIÓN DE LA TABLA --- */
.specs-table-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.table-container {
    max-width: 1200px;
    margin: 0 auto;
}

.table-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 30px;
}

/* --- TRUCO RESPONSIVO: CONTENEDOR CON DESPLAZAMIENTO --- */
.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto; /* Permite el scroll horizontal si la tabla excede la pantalla */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Scroll ultra suave en dispositivos iOS (Safari) */
    margin-bottom: 20px;
    border: 1px solid #eef2f5;
    border-radius: 8px;
}

/* Estilización opcional de la barra de scroll para que se vea minimalista */
.table-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.table-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}
.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 8px;
}
.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

/* --- ESTILOS ESPECÍFICOS DE LA TABLA --- */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px; /* Al forzar un ancho mínimo, evitamos que las columnas se aplasten en celulares */
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
}

/* Encabezados */
.tech-table th {
    background-color: #f8f9fa;
    color: #111111;
    font-weight: 600;
    padding: 16px 20px;
    border-bottom: 2px solid #eef2f5;
    white-space: nowrap; /* Evita que los títulos de los modelos se corten en dos líneas */
}

/* Celdas generales */
.tech-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f5;
    vertical-align: top;
    line-height: 1.5;
}

/* Columna de características (Primera columna fija en concepto) */
.tech-table td.feature {
    font-weight: 500;
    color: #111111;
    background-color: #fafbfc;
    width: 220px;
}

/* Separadores de sección (Filas grises con colspan) */
.tech-table tr.section-divider td {
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-bottom: 1px solid #eef2f5;
}

/* Celdas destacadas (como la del LiDAR) */
.tech-table td.highlight-cell {
    background-color: #f8f9ff;
    border-left: 1px dashed #e0e4ff;
    border-right: 1px dashed #e0e4ff;
}

/* Formateo para opciones no disponibles u opcionales */
.tech-table td.option, 
.tech-table td.option {
    color: #868e96;
    font-style: italic;
}

/* Ajustes finos para pantallas móviles */
@media (max-width: 768px) {
    .table-container h2 {
        font-size: 1.5rem;
    }
    
    .tech-table {
        font-size: 0.88rem; /* Tipografía ligeramente más pequeña en celulares */
    }
    
    .tech-table th, 
    .tech-table td {
        padding: 12px 14px; /* Menos espacio interno para aprovechar la pantalla */
    }
}