* {
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --textColor: #132938;
    --buttomColor: #5c676f;
    --buttonHoverColor: #d44347;
    --backgroundColor: #E6E1DE;
    --movilBackgroundColor: rgb(241, 234, 234);
    --filterIconColor: invert(14%) sepia(15%) saturate(1316%) hue-rotate(165deg);
}


/* ----- HEADER ----- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
    background: var(--backgroundColor);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Navegación en escritorio */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--textColor);
    font-weight: bold;
    font-size: 15px;
}

/* Menú hamburguesa (oculto en escritorio) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 4px;
    background: black;
    border-radius: 5px;
}

.logo img {
    width: 180px;
}

nav {
    gap: 8px;
    display: flex;
    align-items: center;
}

.nav-links li {
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--textColor);
    font-weight: 15px;
}

.contacto-btn-header {
    border: 2px solid black;
    padding: 5px 15px;
    border-radius: 20px;
}


body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500; /* Regular */
    line-height: 1.6;
    margin: 0px;
    padding: 0;
    background-color: #E6E1DE;
    display: flex;
    flex-direction: column; /* Cambia la dirección a columna */
    align-items: center;
    min-height: 100vh;
    color: var(--textColor);
}

.container {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto; /* Centra el contenedor */
}

.back-button-container {
    width: 100%;
    text-align: left;
    padding-left: 300px;
    margin: 20px; /* Agrega espacio entre el botón y el contenido */
}

h1, h2, h3 {
    color: var(--textColor);
    font-weight: 700; /* Negrita */
    margin-bottom: 1rem; /* Espacio debajo del título */
    line-height: 1.4; /* Ajusta el interlineado */
}

h1 {
    font-size: 2rem; /* Tamaño grande para el título principal */
    text-align: center; /* Centra el título principal */
}

h2 {
    font-size: 1.8rem; /* Tamaño intermedio */
    margin-top: 2rem; /* Espacio superior */
}

h3 {
    font-size: 1.5rem; /* Tamaño más pequeño */
    margin-top: 1.5rem; /* Espacio superior */
    margin-left: 1.5rem;
}

p {
    font-size: 1rem; /* Tamaño de fuente estándar */
    margin-bottom: 1.5rem; /* Espacio entre párrafos */
    margin-left: 1.5rem;
    text-align: justify; /* Justifica el texto */
    color: var(--textColor);
}

a {
    color: var(--buttonHoverColor); /* Color destacado para enlaces */
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

li{
    list-style: none;
    margin-left: 1.5rem;
}

.breadcrumb-container {
    width: 100%;
    padding: 10px 20px;
    background-color: #f5f5f5;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.breadcrumb {
    margin: 10px;
    margin-bottom: 0px;
    font-size: 14px;
    color: var(--textColor);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--textColor);
    font-weight: bold;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: rgb(255, 0, 0);
}


/* ------------------------------ FOOTER ------------------------------ */
footer {
    background-color: var(--backgroundColor); /* Color de fondo */
    padding: 30px 0;
    font-family: Arial, sans-serif;
    width: 100vw;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: start;
    max-width: 1000px;
    margin: auto;
    color: var(--textColor);

}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--textColor);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    text-decoration: none;
    color: var(--textColor);
    font-size: 0.7rem;
}

.footer-section.logo {
    text-align: left;
}

.footer-section.logo  p{
    font-size: 0.7rem;
}
.footer-section.logo img {
    width: 150px;
    margin-bottom: 10px;
}




                                  /* ------------ RESPONSIVE ------------ */


@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--backgroundColor);
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%); /* Oculta el menú fuera de la pantalla */
        opacity: 0; /* Hace el menú invisible */
        transition: transform 0.3s ease, opacity 0.3s ease; /* Agrega una animación suave */
        pointer-events: none;
        z-index: 9999; /* Un valor alto para estar por encima */
    }
    .nav-links.active {
        transform: translateY(0); /* Muestra el menú */
        opacity: 1; /* Hace el menú visible */
        pointer-events: auto;
        z-index: 9999; /* Un valor alto para estar por encima */
    }

    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 0px;
        padding: 0;
        background-color: #E6E1DE;
        display: flex;
        flex-direction: column; /* Cambia la dirección a columna */
        align-items: center;
        min-height: 100vh;
    }

    .container {
        margin: 30px;
    }

    /* ------------ FOOTER ------------ */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-section.logo {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--backgroundColor);
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%); /* Oculta el menú fuera de la pantalla */
        opacity: 0; /* Hace el menú invisible */
        transition: transform 0.3s ease, opacity 0.3s ease; /* Agrega una animación suave */
        pointer-events: none;
        z-index: 9999; /* Un valor alto para estar por encima */
    }
    .nav-links.active {
        transform: translateY(0); /* Muestra el menú */
        opacity: 1; /* Hace el menú visible */
        pointer-events: auto;
        z-index: 9999; /* Un valor alto para estar por encima */
    }
    .container {
        margin: 30px;
    }

    .back-button-container {
        width: 100%;
        text-align: left;
        padding-left: 10px;
        margin: 20px; /* Agrega espacio entre el botón y el contenido */
        margin-bottom: 0px;
        padding-top: 10px;
    }


    /* ------------ FOOTER ------------ */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-section.logo {
        text-align: center;
    }
}