:root {
    --verde-yaxha: #004b34;
    --rojo-yaxha: #b73229;
    --amarillo-yaxha: #f8b133;
    --blanco: #ffffff;
    --texto-oscuro: #333333;
    --fondo-claro: #f4f7f6;
    --fuente-principal: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fuente-principal);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    background-color: var(--fondo-claro);
    color: var(--texto-oscuro);
    overflow-x: hidden;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: all 0.4s ease-in-out;
}

.main-header.scrolled {
    padding: 1rem 5%;
    background: rgba(0, 75, 52, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--amarillo-yaxha);
}

.logo-container h2 {
    color: var(--blanco);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.logo-container h2 span {
    color: var(--amarillo-yaxha);
}

.menu-toggle {
    display: none;
    color: var(--blanco);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    color: var(--amarillo-yaxha);
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--blanco);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: var(--amarillo-yaxha);
    color: var(--verde-yaxha);
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .main-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .nav-menu {
        width: 100%;
        background: rgba(0, 75, 52, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        gap: 2rem;
        border-bottom: 3px solid var(--amarillo-yaxha);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    .main-header {
        padding: 1rem 5%;
        background: rgba(0, 75, 52, 0.95);
    }
}

.main-footer {
    background-color: var(--verde-yaxha);
    color: var(--blanco);
    padding: 4rem 5% 1.5rem 5%;
    border-top: 4px solid var(--rojo-yaxha);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-col h3 span {
    color: var(--amarillo-yaxha);
}

.footer-col h4 {
    color: var(--amarillo-yaxha);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #d1d8d5;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: #d1d8d5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--amarillo-yaxha);
}

.footer-col i {
    width: 25px;
    color: var(--amarillo-yaxha);
}

.footer-bottom {
    text-align: center;
    color: #d1d8d5;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.container {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}