:root {
    --valery-blue: #0067b8;
    --text-soft: #5f6368;
    --success: #107c10;
    --text-dark: #333;
}

/* --- Header Principal --- */
.main-header {
    text-align: center;
    padding: 20px 20px 10px 20px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.main-header h1 {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.vigencia {
    font-size: 1rem;
    color: #777;
    margin: 0 0 10px 0;
    font-weight: 400;
}

.tasa-bcv-display {
    text-align: center;
    font-size: 0.95rem;
    color: var(--success);
    font-weight: 600;
}    

#tasa-valor {
    color: #0067b8;
    margin-left: 5px;
}

.highlight { color: var(--valery-blue); }

/* --- MATRIZ DE PRECIOS Y TABLA COMPARATIVA --- */
.matriz-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    width: 95%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.matriz-precios {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
}

.matriz-precios td:first-child,
.matriz-precios th:first-child {
    position: sticky;
    left: 0;
    background-color: #ffffff;
    z-index: 10;
    border-right: 2px solid #f0f0f0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.05);
}

.matriz-precios th {
    background-color: #fff;
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.row-logos td {
    padding-bottom: 15px;
    border: none !important;
    background-color: #fff;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
}

.logo-container img {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.row-logos td:not(:first-child) .logo-container::after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--valery-blue);
    border-radius: 2px;
}

.matriz-precios td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    color: #3c4043;
    vertical-align: middle;
    height: 70px;
}

.matriz-precios tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: #777;
    padding-left: 15px;
    font-size: 0.85rem;
    min-width: 140px;
}

.price-box {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    line-height: 1.2;
}

.precio-bs {
    display: block;
    color: #0067b8 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-top: 4px;
}

/* --- NOTAS LEGALES --- */
.notas-legales-section {
    padding: 1px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
}

.notas-container {
    max-width: 1200px;
    width: 95%;
    margin: 20px auto;
    padding: 0;
}

.notas-container h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.lista-notas {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 0px;
}

.lista-notas li {
    background: #fff;
    padding: 15px;
    border-left: 4px solid var(--valery-blue);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    line-height: 1.4;
}

/* --- TABLA 2: CARACTERÍSTICAS (Compacta) --- */
#cuerpoCaracteristicas tr {
    height: auto !important;
}

#cuerpoCaracteristicas td {
    height: auto !important; 
    padding: 8px 10px !important;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.88rem;
    text-align: center;
    color: #444;
    font-weight: 400 !important; 
}

#cuerpoCaracteristicas td:first-child {
    text-align: left;
    padding-left: 20px !important;
    min-width: 220px;
    font-weight: 400 !important; 
}

.check-cell {
    color: var(--valery-green) !important;
    font-weight: bold;
    font-size: 1.1rem;
}

#cuerpoCaracteristicas tr:nth-child(even) {
    background-color: #fafafa;
}

#cuerpoCaracteristicas td strong {
    font-weight: 400 !important;
}

/* --- MEDIA QUERY --- */
@media (max-width: 768px) {
    .matriz-wrapper::after {
        content: "← Desliza para ver por Versión →";
        display: block;
        text-align: center;
        padding: 8px;
        background: #eef6ff;
        color: var(--valery-blue);
        font-size: 0.75rem;
        font-weight: 600;
        border-top: 1px solid #dcebfb;
    }
}