/*
* Style.css - Versión Corregida Final para Móviles con Menú Hamburguesa Funcionando
* Main stylesheet for LJUDTOPIA website
*/

/* === GLOBAL STYLES === */
:root {
    /* Color palette */
    --dark-blue: #1a2a3a;
    --blue: #2c3e50;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-yellow: #ffcc00;
    --text-dark: #333333;
    --text-light: #888888;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden; /* Previene scroll horizontal */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* === HEADER === */
.site-header {
    background-color: var(--dark-blue);
    padding: 0;
    position: relative; /* Importante para el menú móvil */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 0;
    max-width: none;
    width: 100%;
}

/* Logo ocupa el mismo ancho que la sidebar */
.logo {
    width: 240px;
    background-color: var(--dark-blue);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    align-items: center;
    width: 100%;
}

.logo-img {
    max-height: 80px;
    width: auto;
    margin-bottom: 8px;
}

.logo .tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-align: center;
    margin-top: 5px;
}

/* Área derecha para selectores de idioma y hamburguesa */
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Alinea los elementos a la derecha */
    align-items: center;
    padding: 15px 20px;
    background-color: var(--dark-blue);
}

/* Selectores de idioma (visible en desktop) */
.language-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 20px;
}

.language-selector a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
}

.language-selector a:hover,
.language-selector a.active {
    opacity: 1;
}

.language-selector img {
    width: 24px;
    height: auto;
}

/* Menú toggle (hamburguesa) - OCULTO EN DESKTOP, MOSTRADO EN MOBILE */
.menu-toggle {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002; /* Más alto que el menú y el header */
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animación de la 'X' para el menú hamburguesa */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* === NAVIGATION DESKTOP === */
.main-nav {
    background-color: var(--dark-blue);
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Estilos para desktop */
    display: block; /* Asegura que se muestre en desktop */
    position: relative; /* Ocupa el flujo normal */
    z-index: 998; /* Por debajo del header, pero por encima del contenido */
}

.main-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 240px; /* Alinear con el contenido, no con el logo */
}

.main-nav li {
    margin-right: 30px;
}

.main-nav a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    display: block;
}

.main-nav a span {
    font-size: 12px;
    opacity: 0.7;
    margin-left: 5px;
}

.main-nav a:hover,
.main-nav li.active a {
    color: var(--accent-yellow);
}

.main-nav li.active a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-yellow);
}

/* === MAIN CONTENT STRUCTURE === */
main {
    display: flex;
    min-height: calc(100vh - 150px); /* 150px es la altura combinada de header y footer aprox. */
}

.referencias-page main {
    background-color: var(--dark-blue) !important;
    min-height: 100vh !important;
}

.sidebar {
    width: 240px;
    background-color: var(--dark-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 150px);
    flex-shrink: 0;
}

.referencias-page .sidebar {
    min-height: 100vh !important;
    height: 100vh !important;
    background-color: var(--dark-blue) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 240px !important;
    overflow: hidden !important;
}

.referencias-page .sidebar-image {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--dark-blue) !important;
}

.referencias-page .sidebar-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-image {
    height: 200px;
    overflow: hidden;
}

.sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-nav {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    background-color: var(--dark-blue);
}

.sidebar-nav a {
    color: #fff;
    padding: 10px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--accent-yellow);
}

.content-area {
    flex: 1;
    padding: 40px;
    background-color: var(--white);
    min-width: 0;
}

/* === RESTO DE ESTILOS (sin cambios, exceptuando media queries) === */
.inicio h2,
.servicios h2,
.referencias h2,
.english-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 10px;
}

.sobre-nosotros h3,
.valor-proyecto h3,
.metodo-trabajo h3,
.sostenibilidad h3,
.lista-servicios h3,
.other-works h3,
.reference-column h3,
.english-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.intro-text p,
.valor-proyecto p,
.metodo-trabajo p,
.sostenibilidad p,
.acustica-servicios p,
.english-content p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

.team-info {
    display: flex;
    margin: 30px 0;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
}

.team-text {
    flex: 2;
    padding-right: 20px;
}

.team-text p {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
}

.team-text p.bold {
    font-weight: 700;
    font-size: 13px;
}

.team-photo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-photo img {
    max-width: 150px;
    border-radius: 5px;
}

.language-help {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.language-help > p {
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.language-options {
    display: flex;
    justify-content: space-around;
    gap: 15px;
}

.lang-option {
    flex: 1;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lang-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-option a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lang-option a:hover {
    color: inherit;
    background-color: rgba(0, 0, 0, 0.05);
}

.lang-option img {
    width: 40px;
    margin-bottom: 10px;
}

.lang-option h4 {
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--dark-blue);
}

.lang-option p {
    font-size: 12px;
    color: var(--text-light);
}

/* === SERVICES PAGE STYLES === */
.valor-proyecto {
    margin: 30px 0;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
}

.valor-proyecto h4 {
    margin: 15px 0 10px;
    font-size: 16px;
    color: var(--dark-blue);
}

.value-points {
    margin-bottom: 20px;
    padding-left: 20px;
}

.value-points li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
}

.metodo-trabajo {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.method-points {
    margin: 15px 0;
}

.method-points li {
    margin-bottom: 8px;
    font-weight: 500;
}

.sostenibilidad {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
    text-align: center;
}

.service-columns {
    display: flex;
    margin: 20px 0;
    gap: 15px;
}

.column {
    flex: 1;
    padding: 0 15px;
}

.column ul {
    list-style: none;
}

.column ul li {
    margin-bottom: 10px;
    position: relative;
}

.lista-servicios h3 {
    margin-top: 25px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.lista-servicios ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.lista-servicios li {
    margin-bottom: 8px;
}

.acustica-servicios {
    margin: 20px 0;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.acustica-servicios ul {
    margin: 15px 0;
    padding-left: 20px;
}

.acustica-expertise {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

.acustica-expertise h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.soluciones-ruido {
    margin: 30px 0;
}

.noise-problems {
    margin-top: 20px;
}

.problem {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.problem h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.problem ul {
    padding-left: 20px;
}

.problem li {
    margin-bottom: 8px;
}

.arquitectura-salud {
    margin: 30px 0;
    overflow: hidden;
}

.arquitectura-salud h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark-blue);
    text-align: center;
    clear: both;
}

.health-section {
    overflow: visible;
}

.heart-icon {
    float: left;
    width: 18%;
    margin: 0 20px 10px 0;
}

.heart-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.health-text p,
.acoustic-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.health-text strong,
.acoustic-section strong {
    color: var(--dark-blue);
}

.health-text a {
    color: var(--dark-blue);
    text-decoration: underline;
}

.health-text a:hover {
    color: var(--text-light);
}

/* === LANGUAGE PAGES STYLES === */
.english-content,
.swedish-content {
    padding-bottom: 40px;
}

.english-flag,
.swedish-flag {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.english-flag img,
.swedish-flag img {
    width: 40px;
    margin-right: 15px;
}

.english-flag h2,
.swedish-flag h2 {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.about-section,
.services-section,
.resources-section {
    margin: 30px 0;
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
}

.service-category {
    margin-bottom: 25px;
}

.service-category h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.service-category h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark-blue);
    font-weight: 600;
}

.service-category ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-category li {
    margin-bottom: 8px;
}

.resources-section ul {
    padding-left: 20px;
}

.resources-section li {
    margin-bottom: 10px;
}

.experience {
    margin: 30px 0;
}

.experience p {
    margin-bottom: 15px;
    text-align: justify;
}

.experience p.highlight {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark-blue);
}

.cta-presupuesto {
    margin: 40px 0 20px;
    padding: 20px;
    background-color: #ffcc00;
    border-radius: 5px;
    text-align: center;
}

.cta-presupuesto h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--dark-blue);
}

.cta-presupuesto a {
    font-weight: 700;
    color: var(--dark-blue);
    word-break: break-all;
}

.cta-presupuesto a:hover {
    text-decoration: underline;
}

/* === REFERENCES PAGE STYLES === */
.referencias {
    padding-bottom: 40px;
}

.contact-info {
    margin: 20px 0;
    text-align: center;
}

.contact-info p {
    margin-bottom: 5px;
    font-weight: 600;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.legal-links a {
    margin: 0 10px 10px;
    font-size: 13px;
    color: var(--text-light);
}

.legal-links a:hover {
    color: var(--dark-blue);
}

.references-columns {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.reference-column {
    flex: 1;
}

.reference-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--dark-blue);
    color: var(--dark-blue);
}

.reference-column h4 {
    font-size: 16px;
    margin: 15px 0 10px;
    color: var(--dark-blue);
}

.reference-category {
    margin-bottom: 25px;
}

.reference-category h5 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--dark-blue);
    font-weight: 600;
}

.reference-category ul {
    padding-left: 15px;
}

.reference-category li {
    margin-bottom: 6px;
    font-size: 14px;
    position: relative;
    list-style-type: none;
}

.reference-category li:before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--dark-blue);
}

.other-works {
    margin: 40px 0;
}

.other-works h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--dark-blue);
    color: var(--dark-blue);
}

.other-works-list {
    display: flex;
    flex-wrap: wrap;
}

.other-works-list li {
    flex: 0 0 50%;
    margin-bottom: 8px;
    padding-right: 15px;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
    list-style-type: none;
}

.other-works-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--dark-blue);
}

.footer-menu {
    margin: 40px 0 20px;
    text-align: center;
}

.footer-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin: 0 10px 10px;
}

.footer-menu a {
    font-size: 14px;
    color: var(--dark-blue);
}

.footer-menu a:hover {
    color: var(--text-light);
}

.footer-contact {
    text-align: center;
    margin: 20px 0;
}

.footer-contact p {
    margin-bottom: 5px;
    font-weight: 600;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 20px 0;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-nav li {
    margin: 0 15px 10px;
}

.footer-nav a {
    color: #fff;
    font-size: 13px;
}

.footer-nav a:hover {
    color: var(--accent-yellow);
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* === MEDIA QUERIES === */

/* Tablet styles (Desktop intermedio) */
@media (max-width: 992px) {
    .container {
        padding: 0 10px;
    }

    .content-area {
        padding: 30px 20px;
    }

    .service-columns {
        flex-direction: column;
        gap: 10px;
    }

    .references-columns {
        flex-direction: column;
        gap: 20px;
    }

    .other-works-list li {
        flex: 0 0 100%;
    }

    .team-info {
        flex-direction: column;
    }

    .team-text {
        margin-bottom: 20px;
        padding-right: 0;
    }

    /* Ajustes específicos para que el menú horizontal funcione bien en tablets */
    .main-nav ul {
        justify-content: center; /* Centra los elementos de navegación */
        margin-left: 0; /* Elimina el margen del logo */
    }

    .main-nav li {
        margin-right: 20px; /* Reduce un poco el espacio entre elementos */
    }

    .main-nav a {
        font-size: 13px; /* Ajusta el tamaño de la fuente si es necesario */
    }
}

/* ================================================================\
 * ESTILOS MÓVILES (hasta 768px)
 * ================================================================*/
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* === HEADER MÓVIL === */
    .site-header .container {
        justify-content: space-between; /* Logo a la izquierda, hamburguesa y banderas a la derecha */
        padding: 0 15px;
        flex-direction: row; /* Vuelve a flex-direction row para que logo y derecha estén en fila */
        align-items: center; /* Centra verticalmente */
        height: auto; /* Permite que la altura se ajuste */
    }

    .logo {
        width: auto; /* El logo toma el ancho que necesita */
        padding: 10px 0; /* Reduce el padding */
        border-right: none;
        flex-shrink: 1; /* Permite que el logo se encoja si es necesario */
    }

    .logo-img {
        max-height: 50px; /* Reduce el tamaño del logo */
        margin-bottom: 0; /* Elimina margen inferior */
    }

    .logo .tagline {
        display: none; /* Oculta el tagline en móviles */
    }

    .header-right {
        padding: 10px 0;
        margin-right: 0;
        justify-content: flex-end; /* Alinea elementos a la derecha dentro de header-right */
        flex-shrink: 1; /* Permite que se encoja */
    }

    .language-selector {
        display: none; /* Oculta las banderas en la cabecera en móviles */
    }

    /* === MOSTRAR MENÚ HAMBURGUESA EN MÓVIL === */
    .menu-toggle {
        display: flex; /* Muestra el icono de la hamburguesa */
        margin-left: 15px; /* Espacio entre el selector de idioma (si estuviera) y la hamburguesa */
        z-index: 1002; /* Asegura que la hamburguesa esté por encima del menú */
    }

    /* === NAVEGACIÓN MÓVIL (DESLIZANTE) === */
    .main-nav {
        position: fixed; /* Fijo en la pantalla */
        top: 0; /* Desde la parte superior */
        right: -100%; /* Inicialmente fuera de la pantalla a la derecha */
        width: 100%; /* Ocupa todo el ancho */
        height: 100vh; /* Ocupa toda la altura de la ventana */
        background-color: var(--dark-blue);
        transition: right 0.3s ease-in-out; /* Transición suave para el deslizamiento */
        z-index: 1000; /* Por debajo de la hamburguesa, pero por encima del contenido */
        overflow-y: auto; /* Permite scroll si hay muchos elementos */
        padding-top: 80px; /* Espacio para que el menú no quede debajo del header */
        display: flex; /* Para centrar el contenido verticalmente si es necesario */
        align-items: center; /* Centra los elementos verticalmente */
        justify-content: center; /* Centra los elementos horizontalmente */
        border-top: none; /* Elimina el borde superior que tenía en desktop */
    }

    .main-nav.active {
        right: 0; /* Mueve el menú a la pantalla */
    }

    .main-nav .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .main-nav ul {
        flex-direction: column; /* Apila los elementos del menú verticalmente */
        margin-left: 0; /* Elimina el margen izquierdo para el menú móvil */
        width: 100%;
        text-align: center; /* Centra el texto de los enlaces */
    }

    .main-nav li {
        margin: 0 0 20px 0; /* Espacio entre los elementos del menú */
        width: 100%;
    }

    .main-nav a {
        font-size: 18px; /* Aumenta el tamaño de la fuente para mejor legibilidad */
        padding: 10px 0;
    }

    /* Línea activa en móvil - se puede quitar o redefinir si no se necesita */
    .main-nav li.active a:after {
        display: none; /* Oculta la línea activa en móvil si no quieres */
    }
    
    .main-nav li.active a {
        color: var(--accent-yellow); /* Color de texto para el activo */
    }

    /* === LAYOUT PRINCIPAL MÓVIL === */
    main {
        flex-direction: column;
    }

    .sidebar {
        /* Oculta completamente la sidebar en móviles para optimizar espacio */
        display: none; 
    }

    .content-area {
        padding: 20px; /* Reduce el padding del área de contenido para móviles */
    }

    /* === TÍTULOS MÓVILES === */
    .inicio h2,
    .servicios h2,
    .referencias h2,
    .english-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .sobre-nosotros h3,
    .valor-proyecto h3,
    .metodo-trabajo h3,
    .sostenibilidad h3,
    .lista-servicios h3,
    .other-works h3,
    .reference-column h3,
    .english-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .intro-text p,
    .valor-proyecto p,
    .metodo-trabajo p,
    .sostenibilidad p,
    .acustica-servicios p,
    .english-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    /* === SECCIONES CON COLUMNAS APILADAS EN MÓVIL === */
    .service-columns {
        flex-direction: column;
    }

    .column {
        padding: 0;
        margin-bottom: 20px;
    }

    .team-info {
        flex-direction: column;
    }

    .team-text {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .team-photo {
        margin-top: 15px;
    }

    .language-options {
        flex-direction: column;
        gap: 15px;
    }

    .lang-option a {
        padding: 15px;
    }

    .cta-presupuesto {
        padding: 15px;
    }

    .cta-presupuesto h3 {
        font-size: 18px;
    }

    /* Footer ajustes */
    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .footer-nav li {
        margin: 0 0 10px 0;
    }

    .contact-info {
        margin-bottom: 15px;
    }

    .legal-links {
        flex-direction: column;
    }

    .legal-links a {
        margin-bottom: 8px;
    }

    /* Specific adjustments for referencias.html sidebar on mobile */
    .referencias-page .sidebar {
        display: none !important; /* Asegura que la sidebar de referencias se oculta */
    }
}

/* ================================================================\
 * MÓVILES PEQUEÑOS (hasta 480px)
 * ================================================================*/
@media (max-width: 480px) {
    .logo-img {
        max-height: 45px; /* Reduce el tamaño del logo aún más en pantallas muy pequeñas */
    }

    .main-nav a {
        font-size: 16px; /* Ajusta el tamaño de fuente para pantallas muy pequeñas */
    }

    .content-area {
        padding: 15px; /* Más reducción de padding */
    }
}