/* ---- TIPOGRAFÍA Y RESET BASE ---- */

body,h1,h2,h3,h4,h5,h6,html {
    font-family:Montserrat,sans-serif;
    font-weight:400
}
body,h2,h3,html {
    line-height:1.4rem
}
#menu,body,html {
    -webkit-font-smoothing:antialiased
}
#menuToggle a,.login-box form a,a {
    text-decoration:none
}
#menuToggle a:hover,a {
    color:var(--link)
}
a:active,a:hover {
    color:var(--hover)
}
h1,h2,h3,h4,h5,h6 {
    font-style:normal;
    margin:0
}
h1 {
    font-size:2.4rem;
    line-height:3rem
}
h2 {
    font-size:1.4rem
}
#menu li,h3 {
    font-size:1rem
}
img {
    height:auto;
    border-radius:4px
}
#menu,img {
    width:100%;
}
.txt-center {
    text-align:center;
    margin:0 auto
}
#menu,.station-title {
    margin:0;
    box-sizing:border-box
}

/* ---- VARIABLES ---- */

:root {
    --background-body:#000000;
    --background-nuvoler:#476279c4;
    --background-title:#c3b49f;
    --background-data:#031b30b0;
    --background-origin:#9ebeba;
    --text:#1d2f44;
    --link:#99eeff;
    --hover:#fff;
    --white:#fff;
    --blue-light:#03e9f4;
    --blue-dark:#153647;
    --blue-light02:#99eeff
}

/* ---- FUENTE MONTSERRAT ---- */

@font-face {
    font-family:Montserrat;
    font-style:italic;
    font-weight:100 900;
    font-display:swap;
    src:url(https://fonts.gstatic.com/s/montserrat/v29/JTUQjIg1_i6t8kCHKm459WxRxy7m0dR9pBOi.woff2) format("woff2");
    unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF
}

/* ---- BODY Y HTML ---- */

body,html {
    margin:0 0 0.2rem 0;
    padding:0;
    color:var(--text);
    font-size:1rem;
    background:url(../img/image-bg.jpg) repeat-x fixed;
    background-color:var(--background-body);
    box-sizing:border-box
}
body {
    overflow:auto
}
body:has(#menuToggle input:checked) {
    overflow:hidden
}

/* ---- CABECERAS ---- */

#menuToggle a,h1,li span.units {
    color:var(--white)
}
.station-data li,.station-data p {
    color:var(--blue-light02)
}
.login-box .user-box label,.login-box h2,h1.documentation,h2.documentation,p.documentation,p.text-legals,p.txt-center.txt-end {
    color:var(--white)
}
h1.documentation {
    text-align:left;
    padding:0 0 1rem
}
h2.documentation {
    text-align:left;
    padding:2rem 0 1rem
}

/* ---- NAV Y MENÚ HAMBURGUESA ---- */

nav {
    position:absolute;
    top:0;
    right:0;
    width:auto;
    height:64px;
    display:flex;
    z-index:1000;
}

#menuToggle {
    display: none; /* oculto en escritorio */
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    align-items: flex-end;
    align-content: flex-end;
    margin: 0;
    padding: 0;
}
#menuToggle a {
    color: var(--white);
    text-decoration: none;
    transition: color .3s;
}
#menuToggle a:hover {
    color: var(--link);
}
#menuToggle input {
    display:block;
    width:40px;
    height:32px;
    position:absolute;
    top:0;
    right:0;
    cursor:pointer;
    opacity:0;
    z-index:2;
    -webkit-touch-callout:none
}
#menuToggle span,.login-box .user-box,.login-box form a {
    position:relative
}
#menuToggle span {
    display:block;
    width:33px;
    height:4px;
    margin-bottom:5px;
    background:#cdcdcd;
    border-radius:3px;
    z-index:1;
    transform-origin:4px 0px;
    transition:transform .5s cubic-bezier(.77,.2,.05,1),background .5s cubic-bezier(.77,.2,.05,1),opacity .55s
}
#menuToggle span:first-child {
    transform-origin:0% 0%
}
#menuToggle span:nth-last-child(2) {
    transform-origin:0% 100%
}
#menuToggle input:checked~span {
    opacity:1;
    transform:rotate(45deg) translate(-2px,-1px);
    background:var(--white)
}
#menuToggle input:checked~span:nth-last-child(3) {
    opacity:0;
    transform:rotate(0) scale(.2,.2)
}
#menuToggle input:checked~span:nth-last-child(2) {
    transform:rotate(-45deg) translate(0,-1px)
}
#menu {
    position:absolute;
    top:0;
    right:0;
    height:96vh;
    width:auto;
    padding:50px;
    overflow-y:auto;
    background:#476279fa;
    list-style-type:none;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    opacity:0;
    pointer-events:none;
    border-radius:8px;
    margin:0;
    box-sizing:border-box
}
.logonav {
    width:auto
}
#menu li {
    line-height:1rem;
    text-align:center;
    width:90%;
    margin:4px auto;
    padding:20px 5px;
    border-bottom:1px solid #5b778e
}
#menu li label {
    cursor:pointer
}
#menuToggle input:checked~ul {
    opacity:1;
    pointer-events:all
}

/* ---- CONTENEDOR PRINCIPAL ---- */

#nuvoler {
    position:relative;
    width:90%;
    max-width:1530px;
    min-height:80vh;
    margin:0 auto;
    padding:0 0.5rem 1rem !important;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    box-sizing:border-box;
    background-color:var(--background-nuvoler)
}

/* ---- HEADER BLOCK ---- */

.header-block {
    display:flex;
    justify-content:space-between;
    align-items:stretch;
    min-height:64px;
    background-color:#1e3144;
    margin-left:-0.5rem;
    margin-right:-0.5rem;
    margin-bottom:1.5rem;
}
.header-block .logo {
    display:flex;
    align-items:center;
    max-width:124px;
    margin-right:2rem;
    margin-left:27px;
}
.header-block .logo img {
    max-width:124px;
    width:100%;
    height:auto;
    display:block;
}

/* ---- NAV HORIZONTAL DESKTOP ---- */

.nuvoler-nav {
    flex:1;
    display:flex;
    justify-content:flex-end;
    align-items:center;
}
.nuvoler-nav > ul {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
    margin-right:13px;
}
.nuvoler-nav > ul li {
    display:flex;
    align-items:center;
    white-space:nowrap;
}
.nuvoler-nav > ul li:not(:last-child)::after {
    color:#ffffff;
    margin:0 10px;
}
.nuvoler-nav a {
    display:block;
    padding:10px 16px;
    color:#ffffff;
    font-weight:500;
    text-decoration:none;
    border-radius:8px;
    transition:all .2s ease;
}
.nuvoler-nav a:hover {
    background:#163d60;
}
.nuvoler-nav a i {
    opacity:0.8;
    margin-right:6px;
    color:#fbca97;
}
.nuvoler-nav a:hover i {
    opacity:1;
}

/* ---- STATION TITLE Y DATA ---- */

.station-title {
    background-color:var(--background-title);
    border-radius:13px 13px 0 0;
    width:100%;
    padding:.5rem;
    min-height:70px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column
}
.station-data {
    width:100%;
    background-color:var(--background-data);
    border-radius:0 0 12px 12px;
    margin:0 0 2rem;
    padding:1rem;
    box-sizing:border-box
}
.station-data>div>img {
    width:30%;
    height:auto;
    padding:0;
    margin:0
}
.station-data ul {
    display:grid;
    grid-template-columns:50% 50%;
    margin:0;
    padding:0
}
.station-data>ul>li:first-child {
    grid-column-start:1;
    grid-column-end:3;
    padding:4rem;
    font-size:3rem;
    background-color:#476279
}
.station-data li {
    font-size:2rem;
    display:block;
    padding:1rem;
    border:1px solid #99eeff9c;
    margin:.4rem;
    border-radius:8px
}
.station-data li span {
    font-size:1.2rem;
    line-height:2rem;
    display:block
}
li span.units {
    font-size:1.4rem;
    display:contents
}
li span.info {
    font-size:1.2rem;
    display:block;
    color:#c4b4a3
}

/* ---- GALERÍA ---- */

.gallery-station {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-gap:1rem
}

/* ---- LOGIN BOX ---- */

.login-box {
    width:60%;
    padding:40px;
    box-sizing:border-box;
    border-radius:10px;
    margin:0 auto
}
.login-box h2 {
    margin:0 0 30px;
    padding:0;
    text-align:center
}
.login-box .user-box input {
    width:100%;
    padding:10px 0;
    font-size:16px;
    color:var(--white);
    margin-bottom:30px;
    border:none;
    border-bottom:1px solid var(--white);
    outline:0;
    background:0 0
}
.login-box .user-box label {
    top:0;
    left:0;
    padding:10px 0;
    font-size:1.2rem;
    transition:.5s;
    pointer-events:none;
    position:absolute
}
.login-box .user-box input:focus~label,.login-box .user-box input:valid~label {
    top:-20px;
    left:0;
    color:var(--blue-light);
    font-size:12px
}
.login-box form a {
    display:inline-block;
    padding:10px 20px;
    color:var(--blue-light);
    font-size:16px;
    text-transform:uppercase;
    overflow:hidden;
    transition:.5s;
    margin-top:40px;
    letter-spacing:4px;
    position:relative
}

/* ---- ACCIONES ---- */

.action {
    padding:1rem;
    text-align:center
}
.action-button {
    padding:1rem 4rem;
    border-radius:8px;
    background-color:var(--blue-light02);
    font-size:1.2rem
}

/* ---- FOOTER STATION ---- */

.footer-station {
    display:grid;
    grid-template-columns:1fr 1fr 1fr 1fr;
    grid-gap:1rem;
    margin:0
}
.footer-station p {
    text-align:center
}
.footer-station img {
    width:60%
}

/* ---- TEXTOS VARIOS ---- */

p.text-legals {
    font-size:.8rem;
    text-align:center
}
p.txt-center.txt-end {
    font-size:.8rem;
    padding:0;
    color:var(--white)
}
#map {
    height:640px;
    z-index:0
}

/* ---- FOOTER NUVOLER ---- */

.nuvoler-footer {
    padding:4rem 0 1rem;
    display:flex;
    flex-direction:column;
    align-items:center
}
.logo-footer {
    padding:0;
    max-width:220px
}


/* ============================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width:1024px) {

    body,html {
        width:100%;
        padding:0;
        margin:0 auto
    }
    h1 {
        font-size:1.4rem;
        line-height:1.8rem
    }
    h2 {
        font-size:1.2rem;
        line-height:1.4rem
    }
    h3 {
        font-size:1rem;
        line-height:1.2rem
    }
    #nuvoler {
        width:98%;
        margin:0 auto;
        padding:.5rem
    }
    .station-data {
        padding:.5rem
    }
    .login-box {
        width:100%;
        padding:40px 10px;
        box-sizing:border-box;
        border-radius:10px;
        margin:0 auto
    }
    ul {
        padding:0
    }
    .station-data ul {
        grid-template-columns:1fr;
        margin:0;
        padding:0
    }
    .station-data>ul>li:first-child {
        padding:2rem
    }
    .station-data>ul>li {
        grid-column-start:1;
        grid-column-end:3
    }
    .gallery-station {
        grid-template-columns:1fr 1fr;
        grid-gap:.5rem
    }
    .action-button {
        padding:1rem 3rem
    }
    .nuvoler-footer {
        padding:2rem 0 1rem
    }
    .footer-station img {
        width:100%
    }
    .logonav {
        width:100%
    }
    .header-block {
        height:64px;
        min-height:64px;
        flex-direction:row;
        justify-content:center;
        align-items:center;
    }
    .nuvoler-nav > ul li {
        display:none; /* desaparecen botones nav horizontal */
    }
    #menuToggle {
        display:flex;
        position:absolute;
        top:19px;
        right:1.3rem;
    }
}


/* ============================================================
   RESPONSIVE — MÓVIL (max-width: 767px)
   ============================================================ */

@media (max-width:767px) {

    h1 {
        font-size:1.4rem;
        line-height:1.8rem
    }
    h2 {
        font-size:1.2rem;
        line-height:1.4rem
    }
    h3 {
        font-size:1rem;
        line-height:1.2rem
    }
    #nuvoler {
        width:100%;
        padding:0 0.3rem 1rem !important
    }
    .station-data {
        padding:.5rem
    }
    .login-box {
        width:100%;
        padding:40px 10px
    }
    ul {
        padding:0
    }
    .station-data ul {
        grid-template-columns:1fr
    }
    .station-data>ul>li:first-child {
        padding:2rem
    }
    .station-data>ul>li {
        grid-column-start:1;
        grid-column-end:3
    }
    .gallery-station {
        grid-template-columns:1fr;
        grid-gap:.5rem
    }
    .action-button {
        padding:1rem 3rem
    }
    .nuvoler-footer {
        padding:2rem 0 1rem
    }
    .footer-station img {
        width:100%
    }
    .logonav {
        width:100%
    }
    .header-block {
        height:64px;
        min-height:64px;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        padding-top:0;
    }
    .logo {
        margin-bottom:0;
    }
    .nuvoler-nav > ul {
        justify-content:center;
        padding:0 0 .4rem;
    }
    .nuvoler-nav > ul li {
        display:none;
    }
}


/* ============================================================
   SOLO HOME — incluir únicamente en home CSS
   ============================================================ */



.other-spots {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    grid-gap:1rem;
}
.other-spots-item {
    position:relative;
    display:block;
    width:100%;
    height:250px;
    overflow:hidden;
    border-radius:6px;
    cursor:pointer;
    text-decoration:none;
    color:inherit;
}
.other-spots-bg {
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center center;
    transition:filter .3s ease;
}
.other-spots-item:hover .other-spots-bg {
    filter:brightness(1.3);
}
.other-spots-play {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:3rem;
    color:white;
    pointer-events:none;
    text-shadow:0 0 6px rgba(0,0,0,0.7);
    user-select:none;
}
.other-spots p {
    color:#fff;
    font-weight:400;
    font-size:1.1rem;
    margin-top:.5rem;
    text-align:center;
    letter-spacing:.3px;
}
.logo-station .logo img {
    max-width:224px;
    width:100%;
    height:auto;
    display:block;
}
.logo-station .logo {
    display:flex;
    align-items:center;
    width:fit-content;
    max-width:224px;
}

@media (max-width:1024px) {
    .other-spots {
        grid-template-columns:1fr 1fr;
    }
}
@media (max-width:767px) {
    .other-spots {
        grid-template-columns:1fr;
    }
}




/* ============================================================
   SOLO SPOT — incluir únicamente en spot CSS
   ============================================================ */



.station-header {
    padding:1.5rem clamp(1rem, 5vw, 4rem);
    text-align:center;
    margin-bottom:.1rem;
    box-sizing:border-box;
}
.station-header-title {
    font-family:Arial,sans-serif;
    font-weight:700;
    font-size:3rem;
    color:white;
    margin:0 auto 1rem;
    line-height:2.4rem;
}
.station-header-description {
    font-family:Arial,sans-serif;
    font-weight:400;
    font-size:1.1rem;
    color:#001928;
    text-align:center;
    margin:0 auto;
    max-width:100%;
    line-height:1.6rem;
    padding:0 clamp(1.5rem, 6vw, 5rem);
    box-sizing:border-box;
}
.gallery-station--video {
    display:block;
    max-width:none;
    padding:0;
}
.gallery-station--video .card {
    max-width:100%;
    margin:0 auto;
}
.nuvoler-active a {
    padding:.4rem 2rem;
    background-color:var(--blue-dark);
    border-radius:8px;
}
.nuvoler-active a:hover,
.nuvoler-inactive {
    padding:.4rem 2rem;
    background-color:var(--blue-light02);
    color:var(--blue-dark);
    border-radius:8px;
}
.logo-station {
    padding:1rem 0;
}

@media (max-width:1024px) {
    .logo-station {
        display:grid;
        grid-template-columns:100%;
        padding:1rem 0;
    }
    .logo-station > img {
        max-width:100px;
    }
    .header-block {
        margin-top:-0.5rem;
    }
    nav[role="navigation"] {
        display:none;
    }
}

@media (max-width:767px) {
    .logo-station {
        display:grid;
        grid-template-columns:100%;
        padding:1rem 0;
    }
    .logo-station > img {
        max-width:100px;
    }
    .gallery-title-station.station-title {
        flex-direction:column;
        gap:.6rem;
        padding:.8rem .5rem;
        min-height:unset;
    }
    .gallery-title-station.station-title a {
        position:static !important;
        align-self:center;
        font-size:13px;
        padding:6px 12px;
    }
    .gallery-title-station.station-title h2 {
        width:100%;
        text-align:center;
        font-size:1.1rem;
        line-height:1.4rem;
        order:-1;
    }
}

