/* =============================================
   LTG Header
   ============================================= */

.ltg-header {
    background-color: var(--ltg-dark);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    font-family: var(--ltg-font);
}
.ltg-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.ltg-header__logo a img {
    height: 80px;
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}
.ltg-header__logo a:hover img { opacity: 0.85; }

/* Título central */
.ltg-header__title {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0;
    flex: 1;
    text-align: center;
}

/* Nav Desktop */
.ltg-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ltg-nav__list li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.25s ease, color 0.25s ease;
    display: block;
}
.ltg-nav__list li a:hover,
.ltg-nav__list li.current-menu-item a {
    background-color: var(--ltg-teal);
    color: var(--ltg-dark);
}

/* Hamburger */
.ltg-header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.ltg-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ltg-teal);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/* Animación X cuando está abierto */
.ltg-header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.ltg-header__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.ltg-header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.ltg-header__mobile-menu {
    display: none;
    background-color: var(--ltg-dark-alt);
    padding: 12px 24px 16px;
    border-top: 1px solid rgba(0,221,194,0.15);
}
.ltg-header__mobile-menu.open { display: block; }
.ltg-nav__mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ltg-nav__mobile-list li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 6px;
    display: block;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.ltg-nav__mobile-list li a:hover { background-color: #00ddc2; color: #11242b; }

/* Skip link (accesibilidad) */
.ltg-skip-link {
    position: absolute;
    top: -100px;
    left: 24px;
    background: #00ddc2;
    color: #11242b;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    z-index: 100000;
    transition: top 0.2s ease;
}
.ltg-skip-link:focus { top: 0; }

/* Responsive */
@media (max-width: 768px) {
    .ltg-header__nav         { display: none; }
    .ltg-header__hamburger   { display: flex; }
    .ltg-header__title       { font-size: 28px; }
}