/* --- Reseteo Básico y Variables --- */
:root {
    --primary-green: #3A5A40; /* Verde oscuro inspirado en tu diseño */
    --light-gray: #f4f4f4;
    --dark-text: #333;
    --white-text: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    background-color: var(--light-gray);
    line-height: 1.6; /* Mejora la legibilidad */
}

/* --- Header y Navegación --- */
.main-header {
    background-color: #fff;
    padding: 0.5rem 5%; /* Ajustamos el padding para alinear mejor */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex; /* La magia de Flexbox ✨ */
    justify-content: space-between; /* Empuja el logo a la izq. y el menú a la der. */
    align-items: center; /* Centra verticalmente ambos elementos */
}

.header-logo img {
    height: 150px; /* Define una altura para tu logo, el ancho será automático */
    width: auto;
    display: block; /* Buena práctica para imágenes */
}

.main-nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

/* --- Página Principal (Cover) --- */
.cover-container {
    max-width: 1100px;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cover-main {
    position: relative;
    height: 500px;
    margin-bottom: 2rem;
}

.photo-placeholder {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 90%;
    border: 3px solid var(--primary-green);
    background-image: url('/img/shutterstock_2587568947.jpg'); /* Placeholder */
    background-size: cover;
    background-position: center;
}

.info-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: auto;
    background-color: var(--primary-green);
    color: var(--white-text);
    padding: 2rem;
    z-index: 10;
}

.info-block h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-block h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.info-block hr {
    border: 1px solid var(--white-text);
    width: 100px;
    margin-bottom: 1rem;
}

.info-block .slogan {
    font-size: 1.2rem;
    font-style: italic;
}

.info-block .profile-year {
    margin-top: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* --- Sección de Contacto e Info --- */
.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap; /* Permite que los elementos se reorganicen */
    gap: 1.5rem; /* Espacio entre elementos cuando se apilan */
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.contact-info .details p,
.contact-info .location p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    margin-right: 8px;
}

/***** CAMBIOS PARA EL LOGO *****/
.logo-placeholder {
    width: 150px;
    height: 150px;
    border: 2px solid #ffffff;
    padding: 5px; /* Espacio interno opcional */
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-placeholder img {
    max-width: 100%; /* La imagen nunca será más ancha que su contenedor */
    height: auto;   /* Mantiene la proporción de la imagen */
    display: block; /* Elimina espacios extra debajo de la imagen */
}

/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--dark-text);
    color: var(--light-gray);
    margin-top: 2rem;
}


/******************************************/
/***** MEDIA QUERIES           *****/
/******************************************/

/* --- Para Tablets (hasta 992px) --- */
@media (max-width: 992px) {
    .info-block {
        width: 65%; /* Hacemos el bloque de info un poco más grande */
    }

    .photo-placeholder {
        width: 80%; /* Y la foto también */
    }

    .contact-info {
        flex-direction: column; /* Apilamos los elementos de contacto */
        align-items: flex-start; /* Los alineamos al inicio */
    }
    
    .logo-placeholder {
        align-self: flex-end; /* Movemos el logo a la derecha */
        margin-top: 1rem;
    }
}

/* --- Para Móviles (hasta 768px) --- */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column; /* Menú en vertical */
        align-items: center; /* Centramos los elementos */
        gap: 1rem;
    }

    .cover-main {
        height: auto; /* Dejamos que la altura se ajuste al contenido */
        display: flex;
        flex-direction: column;
        position: static; /* Quitamos el posicionamiento absoluto */
        margin-bottom: 0;
    }

    .info-block {
        position: static;
        width: 100%; /* Ocupa todo el ancho */
        text-align: center;
    }

    .info-block hr {
        margin: 1rem auto; /* Centramos la línea */
    }

    .photo-placeholder {
        position: static;
        width: 100%;
        height: 250px; /* Altura fija para la foto en móvil */
        order: -1; /* Movemos la foto arriba del texto */
        margin-bottom: -3px; /* Pequeño ajuste para unirlo al borde */
    }
    
    .contact-info {
        align-items: center; /* Centramos todo en móvil */
        text-align: center;
    }

    .logo-placeholder {
        align-self: center; /* Centramos el logo */
    }

    .cover-container {
        padding: 1rem; /* Menos padding en pantallas pequeñas */
    }
}




/******************************************/
/***** Página: Quienes Somos       *****/
/******************************************/

.quienes-somos-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

/* --- Sección Superior --- */
.qs-top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alinea los elementos arriba */
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 2rem;
}

.qs-title-block h1 {
    font-size: 3rem;
    color: var(--primary-green);
    line-height: 1.2;
}

.qs-quote-block {
    text-align: right;
}

.qs-logo {
    width: 120px;
    height: 120px;
    border: 1px solid #ccc;
    margin-left: auto; /* Empuja el logo a la derecha */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qs-logo img {
    max-width: 90%;
    height: auto;
}

.quote {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    position: relative;
    padding-right: 40px; /* Espacio para la comilla */
}

.quote::after {
    content: '”';
    font-size: 5rem;
    color: #e0e0e0;
    position: absolute;
    top: -1.5rem;
    right: 0;
    line-height: 1;
}

/* --- Imagen Principal --- */
.qs-main-image {
    margin-bottom: 2.5rem;
}
.qs-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ccc;
}

/* --- Columnas de Texto --- */
.qs-text-columns {
    display: flex;
    gap: 3rem; /* Espacio entre columnas */
}
.qs-column h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.qs-column p {
    color: #444;
}

/***** Media Queries para "Quienes Somos" *****/

/* Para Tablets (hasta 992px) */
@media (max-width: 992px) {
    .qs-text-columns {
        gap: 2rem;
    }
    .qs-title-block h1 {
        font-size: 2.5rem;
    }
}

/* Para Móviles (hasta 768px) */
@media (max-width: 768px) {
    .qs-top-section {
        flex-direction: column; /* Apila el título y el bloque de la cita */
        align-items: center; /* Centra los elementos */
        text-align: center;
    }

    .qs-quote-block {
        text-align: center;
        margin-top: 2rem;
    }

    .qs-logo {
        margin: 0 auto 1rem auto; /* Centra el logo */
    }

    .quote {
        padding-right: 0; /* Quita el padding para centrar */
    }
    .quote::after {
        display: none; /* Oculta la comilla gigante en móvil */
    }
    
    .qs-text-columns {
        flex-direction: column; /* Apila las columnas de texto */
    }
}




/******************************************/
/***** Página: Objetivos y Política   *****/
/******************************************/

.objetivos-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.objetivos-header h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.objetivos-principal h2,
.politica-texto h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.objetivos-principal ul,
.politica-texto ul {
    margin-left: 1.5rem;
    list-style-type: square;
    color: #444;
}

.objetivos-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.politica-texto {
    flex: 1.2;
}

.politica-card {
    flex: 0.8;
    background-color: var(--primary-green);
    color: var(--white-text);
    padding: 1.5rem;
    text-align: center;
}

.politica-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border: 2px solid #fff;
}

.quote-text {
    font-style: italic;
    margin: 1rem 0;
}

.quote-author {
    font-weight: bold;
}

/***** Responsivo *****/
@media (max-width: 768px) {
    .objetivos-content {
        flex-direction: column;
    }
}


/******************************************/
/***** Página: Misión y Visión        *****/
/******************************************/

.mision-vision-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.mv-content {
    display: flex;
    gap: 2rem;
}

.mv-text {
    flex: 1.2;
}

.mv-text h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.mv-text p {
    margin-bottom: 1rem;
    color: #444;
}

.mv-text h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.mv-text ul {
    margin-left: 1.5rem;
    list-style-type: square;
    color: #444;
    margin-bottom: 1.5rem;
}

.mv-card {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-green);
    color: var(--white-text);
    padding: 1rem;
    text-align: center;
}

.mv-image img {
    max-width: 100%;
    height: auto;
    border: 2px solid #fff;
    margin-bottom: 1rem;
}

.mv-quote {
    background-color: var(--primary-green);
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

/***** Responsivo *****/
@media (max-width: 768px) {
    .mv-content {
        flex-direction: column;
    }
}



/******************************************/
/***** Sección Trayectoria (Línea de tiempo + highlight) *****/
/******************************************/

/* --- Línea de tiempo (ya definido arriba, no lo borres) --- */
.trayectoria-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.trayectoria-container h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 3px solid var(--primary-green);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item.left .timeline-content {
    order: 1;
    text-align: left;
    margin-right: 1rem;
}

.timeline-item.left .timeline-year {
    order: 2;
    margin-left: 1rem;
}

.timeline-item.right .timeline-year {
    order: 1;
    margin-right: 1rem;
}

.timeline-item.right .timeline-content {
    order: 2;
    text-align: left;
    margin-left: 1rem;
}

.timeline-year {
    background-color: var(--primary-green);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    flex: 1;
}

.timeline-content img {
    max-width: 120px;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #444;
}

/* --- Bloque destacado --- */
.trayectoria-highlight {
    display: flex;
    margin-top: 3rem;
    background-color: var(--primary-green);
    color: var(--white-text);
}

.highlight-image {
    flex: 1;
}

.highlight-image img {
    width: 100%;
    height: auto;
    display: block;
}

.highlight-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

.highlight-block h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.highlight-block p {
    font-size: 0.95rem;
    line-height: 1.4;
}


/***** Responsivo *****/
@media (max-width: 768px) {
    .timeline {
        border-left: none;
        padding-left: 0;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-year {
        margin: 0 0 1rem 0;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .trayectoria-highlight {
        flex-direction: column;
    }
    .highlight-text {
        padding: 1.5rem;
    }
}


/******************************************/
/***** Página: Oferta de Servicios   *****/
/******************************************/

.servicios-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.servicios-container h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

/* --- Primera parte: listado de áreas --- */
.servicios-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.servicio-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-left: 5px solid var(--primary-green);
}

.servicio-card h2 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-star {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.servicio-card ul {
    margin-left: 2.5rem;
    list-style-type: disc;
    color: #444;
}
.servicio-card li {
    padding: 0.25rem;
}

/* --- Segunda parte: fortalecimiento --- */
.fortalecimiento h1 {
    font-size: 2rem;
    color: var(--primary-green);
    margin: 2rem 0 1rem 0;
}

.fort-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.fort-item h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.fort-item p {
    color: #444;
    font-size: 0.95rem;
}

.fort-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- círculo de progreso --- */
.circle-progress {
    width: 100px;
    height: 100px;
    border: 6px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/***** Responsivo *****/
@media (max-width: 768px) {
    .servicios-grid,
    .fort-grid {
        grid-template-columns: 1fr;
    }
}


/******************************************/
/***** Página: Áreas de Experiencia   *****/
/******************************************/

.experiencia-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.experiencia-container h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

/* --- Primera parte --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-card {
    background: #f9f9f9;
    padding: 1.5rem;
}

.area-card h2 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.area-card img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

/* --- Segunda parte --- */
.exp-destacados {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.exp-block {
    background: var(--primary-green);
    color: var(--white-text);
    padding: 1.5rem;
}

.exp-block h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.exp-block p {
    font-size: 0.95rem;
}

/* Imagen + íconos */
.image-block img {
    width: 100%;
    height: auto;
    display: block;
    background: #ddd;
}

.icon-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.exp-icon {
    font-size: 2rem;
    background: #fff;
    color: var(--primary-green);
    border-radius: 50%;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

/***** Responsivo *****/
@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .exp-row {
        grid-template-columns: 1fr;
    }
}



/******************************************/
/***** Página: Nuestra Participación  *****/
/******************************************/

.participacion-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.participacion-container h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

/* --- Consultorías --- */
.consultorias {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.consultorias-text {
    flex: 1.2;
}

.consultorias-text h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.consultorias-text p {
    margin-bottom: 1rem;
    color: #444;
}

.consultorias-text ul {
    margin-left: 1.5rem;
    list-style-type: square;
    color: #444;
}

.consultorias-img {
    flex: 0.8;
}

.consultorias-img img {
    max-width: 100%;
    height: auto;
    border: 2px solid #eee;
    display: block;
}

/******************************************/
/***** Ciclo PDCA (Circular)          *****/
/******************************************/
.pdca {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.pdca-cycle {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 3rem auto;
    border-radius: 50%;
}

/* Círculos */
.pdca-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--white-text);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    position: absolute;
}

/* Posiciones alrededor del ciclo */
.plan {
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.do {
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}
.check {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.act {
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

/* Flechas para simular el ciclo */
.pdca-cycle::before,
.pdca-cycle::after {
    content: "";
    position: absolute;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
}

.pdca-cycle::before {
    width: 350px;
    height: 350px;
    top: 25px;
    left: 25px;
}

.pdca-cycle::after {
    width: 370px;
    height: 370px;
    top: 15px;
    left: 15px;
    border-style: dashed;
}

/***** Responsivo *****/
@media (max-width: 768px) {

    .pdca {
        gap: 1rem;
    }

    
    .pdca-cycle {
        width: 300px;
        height: 300px;
    }

    .pdca-circle {
        width: 90px;
        height: 90px;
        font-size: 0.85rem;
    }

    .pdca-cycle::before {
        width: 260px;
        height: 260px;
        top: 20px;
        left: 20px;
    }

    .pdca-cycle::after {
        width: 280px;
        height: 280px;
        top: 10px;
        left: 10px;
    }
}


/***** Responsivo *****/
@media (max-width: 768px) {
    .consultorias {
        flex-direction: column;
    }

    
}


/******************************************/
/***** Página: Contáctanos            *****/
/******************************************/

.contacto-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
}

.contacto-container h1 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    margin-top: 0.3rem;
    border-radius: 5px;
}

.contact-form button {
    margin-top: 1.5rem;
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: #2e4a33;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-green);
}

.contact-info a:hover {
    text-decoration: underline;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/***** Responsivo *****/
@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}



/* ==== HEADER GENERAL ==== */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e1e1e1;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* ==== LOGO ==== */
.logo img {
    height: 50px;
    width: auto;
}


/* ==== MENÚ DESKTOP ==== */
.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.nav ul li a:hover {
    color: #1f4e79;
}

/* ==== BOTÓN HAMBURGUESA ==== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 3px;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 850px) {

    /* Ocultar menú desktop */
    .nav {
        position: absolute;
        top: 72px;
        right: 0;
        background: white;
        width: 220px;
        border-left: 1px solid #e1e1e1;
        border-bottom: 1px solid #e1e1e1;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav.open {
        max-height: 400px; /* abre */
    }


    .nav ul {
        flex-direction: column;
        gap: 10px;
        padding-left: 20px;
    }

    /* Mostrar hamburguesa */
    .hamburger {
        display: flex;
    }
}
