/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #2c3e50;
    color: white;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1rem 0;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: #3498db;
}

/* Navegación */
.navbar {
    display: flex;
}

.menu {
    display: flex;
    list-style: none;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    color: white;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    display: block;
    transition: background-color 0.3s;
    font-weight: 500;
}

.menu > li > a:hover {
    background-color: #34495e;
}

.menu > li.active > a {
    background-color: #3498db;
    color: white;
}

.menu > li > a i {
    margin-right: 8px;
}

/* Submenú */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
}

.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    border-bottom: 1px solid #f1f1f1;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    display: block;
    transition: background-color 0.2s;
}

.submenu li a:hover,
.submenu li a.active {
    background-color: #f8f9fa;
    color: #3498db;
}

/* Botón menú móvil */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Contenido principal 
Fondo encabezado y pie de página 
.contenido-principal {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
*/
/* Estilos para las páginas */
.pagina-contenido {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.pagina-contenido h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.pagina-contenido h2 {
    color: #34495e;
    margin: 1.5rem 0 1rem 0;
}

.pagina-contenido p {
    margin-bottom: 1rem;
    color: #555;
}

/* Estilos específicos para Office */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.office-card {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
    transition: transform 0.3s;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.office-card h3 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.office-card h3 i {
    margin-right: 10px;
    color: #3498db;
}

.office-card ul {
    padding-left: 1.2rem;
}

.office-card li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Tabla de comparación */
.comparacion-tabla {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparacion-tabla th,
.comparacion-tabla td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e1e1e1;
}

.comparacion-tabla th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

.comparacion-tabla tr:nth-child(even) {
    background-color: #f9f9f9;
}

.comparacion-tabla .disponible {
    color: #27ae60;
    font-weight: 600;
}

.comparacion-tabla .no-disponible {
    color: #e74c3c;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem;
    text-align: center;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo i {
    margin-right: 10px;
    color: #3498db;
}

.footer-info {
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.footer-derechos {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    width: 100%;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .navbar.active {
        display: block;
    }
    
    .menu {
        flex-direction: column;
    }
    
    .menu > li > a {
        padding: 1rem;
        border-bottom: 1px solid #34495e;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #34495e;
        display: none;
    }
    
    .dropdown.active .submenu {
        display: block;
    }
    
    .submenu li a {
        color: #ecf0f1;
        padding-left: 2rem;
    }
    
    .contenido-principal {
        padding: 1rem;
    }
    
    .pagina-contenido {
        padding: 1.5rem;
    }
    
    .office-grid {
        grid-template-columns: 1fr;
    }
    
    .comparacion-tabla {
        display: block;
        overflow-x: auto;
    }
}