/* ====================================================
   ESTILOS GENERALES Y BASE
   ==================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.bg-light { 
    background-color: #f4f4f4; 
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ====================================================
   DISEÑO DEL CATÁLOGO (programacion.html)
   ==================================================== */

.prog-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prog-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.prog-header h1 {
    font-size: 2.5rem; 
    font-weight: 900;
    display: inline-block;
    margin: 0 5px;
    text-transform: uppercase;
}

.title-blue { color: #0062ae; }
.title-black { color: #000; }

.line-victron {
    display: none !important;
}

.prog-header p {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #666;
}

/* Forzamos las 2 columnas en el catálogo */
.prog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.prog-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prog-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.prog-card-icon {
    font-size: 2.5rem;
    color: #0062ae;
    margin-right: 25px;
    min-width: 60px;
    text-align: center;
}

.prog-card-info h3 {
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.prog-card-info p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.prog-card-info span {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0062ae;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prog-card.locked {
    background: #f8f8f8;
    opacity: 0.7;
    cursor: default;
}

/* ====================================================
   DISEÑO DE SUBPÁGINAS (vvc-1-0.html)
   ==================================================== */

.detail-container { 
    max-width: 1100px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

.detail-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.detail-content { 
    background: #fff; 
    padding: 50px; 
    border-radius: 20px; 
    box-shadow: 0 5px 25px rgba(0,0,0,0.05); 
}

.badge { 
    color: #fff; 
    padding: 6px 15px; 
    border-radius: 50px; 
    font-size: 0.7rem; 
    font-weight: 900; 
    text-transform: uppercase;
}

.subtitle { 
    color: #0062ae; 
    font-weight: 700; 
    font-size: 1.1rem;
}

.tech-icons-row { 
    display: flex; 
    justify-content: center; 
    gap: 35px; 
    margin-bottom: 50px; 
    flex-wrap: wrap; 
}

.tech-tag { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
    color: #333; 
    font-weight: 900; 
    font-size: 0.8rem; 
}

.tech-tag i { font-size: 3rem; }

/* BLOQUES CON FOTOS */
.info-block { 
    margin-bottom: 60px; 
    width: 100%;
}

.info-block h3 { 
    font-size: 1.3rem; 
    font-weight: 900; 
    border-bottom: 2px solid #f0f0f0; 
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.info-grid.reverse {
    direction: rtl;
}

.info-grid.reverse .info-text {
    direction: ltr;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.step-clean { 
    display: flex; 
    gap: 20px; 
    align-items: center; 
    margin-bottom: 20px; 
}

.icon-step { 
    font-size: 2.2rem; 
    min-width: 50px; 
    text-align: center; 
}

/* VIDEO Y CONTACTO (Centrados y de 800px) */
.video-placeholder { 
    background: #1a1a1a; 
    height: 350px; 
    border-radius: 15px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    color: #fff; 
    max-width: 800px; 
    margin: 0 auto;
}

.video-placeholder i { font-size: 4rem; margin-bottom: 15px; }

.cta-final { 
    background: #0062ae; 
    color: #fff; 
    padding: 50px; 
    border-radius: 20px; 
    text-align: center; 
    margin: 40px auto 0;
    max-width: 800px; 
}

.btn-cta-white { 
    background: #fff; 
    color: #0062ae; 
    padding: 15px 30px; 
    border-radius: 10px; 
    text-decoration: none; 
    font-weight: 900; 
    display: inline-block; 
    margin-top: 25px; 
}

.main-footer {
    text-align: center;
    padding: 40px;
    background: #000;
    color: #fff;
    margin-top: 60px;
}

/* ====================================================
   DISEÑO RESPONSIVO
   ==================================================== */

@media (max-width: 992px) {
    .prog-grid { 
        grid-template-columns: 1fr !important; 
    }
    .info-grid, .info-grid.reverse { 
        grid-template-columns: 1fr; 
        direction: ltr;
    }
    .info-image { order: 2; margin-top: 20px; }
    .prog-container { padding: 0 20px; }
}

@media (max-width: 768px) {
    .prog-header h1 { font-size: 1.8rem; }
    .detail-content { padding: 30px 20px; }
    .video-placeholder { height: 250px; }
}
/* AGREGADO: ESTILOS PARA EL BOTÓN DE DESCARGA */
.btn-download {
    background: #0062ae;
    color: white !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-download:hover {
    background: #004a85;
    transform: translateY(-2px);
}
.btn-lang {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Contenedor de botones en horizontal */
.language-buttons-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* Ajuste de botones */
.btn-lang {
    width: auto !important;
    min-width: 160px;
    padding: 12px 20px;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo del contador */
.counter-container {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #777;
}

#downloadCount {
    color: #0062ae;
    font-weight: bold;
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .language-buttons-container {
        flex-direction: column !important;
    }
    .btn-lang {
        width: 100% !important;
    }
}