/*
 * front-page.css — HOME
 * Swiper slider con anchos variables por imagen (replica slider de producción).
 * Logo top-left, nav secundaria top-right, nav primaria bottom-left.
 */

html {
    overflow: hidden !important;
}

html, body {
    margin: 0;
    padding: 0;
}

body.lm-home {
    overflow: hidden;
    background: #1A1A1A;
}

body.lm-home .laynav,
body.lm-home .sitetitle,
body.lm-home #lay-nav,
body.lm-home .lay-intro,
body.lm-home .lay-content,
body.lm-home .sticky-footer-region,
body.lm-home #sticky-footer {
    display: none !important;
}

.lm-home-wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: #1A1A1A;
}

/* ===================== SWIPER SLIDER ===================== */
.lm-home-swiper {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.lm-home-swiper .swiper-wrapper {
    height: 100%;
}

.lm-home-swiper .swiper-slide {
    height: 100%;
    overflow: hidden;
}

.lm-home-swiper .swiper-slide img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ===================== LOGO — overlay top-left ===================== */
.lm-home-logo {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 200;
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.lm-home-logo:hover { text-decoration: underline; }

/* ===================== NAV SECUNDARIA — top-right (About / Contacto) ===================== */
.lm-home-nav-secondary {
    position: fixed;
    top: 40px;
    right: 48px;
    z-index: 200;
}
.lm-home-nav-secondary .lm-home-nav-list {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lm-home-nav-secondary .lm-home-nav-list a {
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-size: 15px;
    color: #ffffff;
    text-decoration: none;
}
.lm-home-nav-secondary .lm-home-nav-list a:hover { text-decoration: underline; }

.lm-home-nav-secondary .lm-home-nav-list li:nth-child(3) { display: none; }
.lm-home-nav-list .sub-menu {
    display:none; list-style:none; margin:2px 0 0; padding:0;
}
.lm-home-nav-list li.is-submenu-open > .sub-menu { display:block; }
.lm-home-nav-primary .lm-home-nav-list .sub-menu a {
    font-size: 11px;
    line-height: 1.35;
}

/* ===================== NAV PRIMARIA — bottom-left ===================== */
.lm-home-nav-primary {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 200;
}
.lm-home-nav-primary .lm-home-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.lm-home-nav-primary .lm-home-nav-list a {
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
}
.lm-home-nav-primary .lm-home-nav-list a:hover { text-decoration: underline; }

/* ===================== HAMBURGER ===================== */
.lm-home-hamburger {
    display: none;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 200;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    font-family: 'Lucida Console', 'Courier New', monospace;
}

/* ===================== MOBILE MENU OVERLAY ===================== */
.lm-home-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.95);
    z-index: 9999;
    flex-direction: column;
    padding: 60px 24px 40px;
    overflow-y: auto;
}
.lm-home-mobile-menu.is-open { display: flex; }
.lm-home-mobile-menu__close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    font-family: 'Lucida Console', 'Courier New', monospace;
}
.lm-home-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lm-home-mobile-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.lm-home-mobile-list > li { position: relative; }
.lm-home-mobile-list a {
    display: block;
    padding: 14px 0;
    font-family: 'Lucida Console', 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}
.lm-home-mobile-list a:hover { text-decoration: underline; }
.lm-home-mobile-list .sub-menu { display:none; list-style:none; padding:0 0 8px 16px; }
.lm-home-mobile-list li.is-submenu-open > .sub-menu { display:block; }
.lm-home-mobile-list .submenu-toggle { color:#fff; }

/* ===================== RESPONSIVE — tablet ≤900px ===================== */
@media (max-width: 900px) {
    .lm-home-logo { top: 24px; left: 24px; font-size: 16px; }
    .lm-home-nav-primary { bottom: 24px; left: 24px; }
    .lm-home-nav-secondary { top: 24px; right: 24px; }
}

/* ===================== RESPONSIVE — mobile ≤600px ===================== */
@media (max-width: 600px) {
    .lm-home-logo {
        top: 14px;
        left: 14px;
        font-size: 14px;
        white-space: normal;
        max-width: 55vw;
    }

    .lm-home-nav-primary, .lm-home-nav-secondary { display:none; }
    .lm-home-nav-primary .lm-home-nav-list a { font-size: 13px; }
    .lm-home-nav-secondary { top: 14px; right: 14px; }
    .lm-home-nav-secondary .lm-home-nav-list { gap: 1.2rem; }
    .lm-home-nav-secondary .lm-home-nav-list a { font-size: 12px; }

    .lm-home-hamburger { display:block !important; }
}


/* Same left/right cursor interaction used by the original Lay carousel. */
