*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --y: #D6DF00;
    --b: #1A1A1A;
    --card: #1e1e1e;
    --w: white;
    --br: rgba(255, 255, 255, .08);
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--b);
    color: var(--w);
    font-family: 'PolySans Trial Neutral', sans-serif !important;
    -webkit-font-smoothing: antialiased
}

/* CURSOR */
#cur {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--w);
    opacity: 0.8;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s, background .15s
}

#cur.h {
    width: 34px;
    height: 34px;
    background: var(--y)
}

@media(hover:none) {
    #cur {
        display: none
    }
}

.home-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* Overlay para legibilidad del texto de esquinas */
#home::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Las esquinas por encima del video y el overlay */
#home .cn,
.central-bottom {
    z-index: 2;
}

.logo-mask-wrap {
    position: relative;
    width: 250px;
    height: 200px;
    -webkit-mask-image: url('../img/logo_blanco.webp');
    mask-image: url('../img/logo_blanco.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
}

.logo-mask-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 225px;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.central-bottom {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: .2em;
    user-select: none;
    transition: color .2s;
    padding: 32px 40px;
    line-height: 1;
    bottom: 0;
}

.landot-link {
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    color: white !important;

    padding: 10px;
    margin-right: 10px;
}

.ld-link {
    display: inline-flex !important;
    text-decoration: none !important;
    cursor: pointer;
    color: white !important;
    text-align: center;
}

.ld-link span {
    display: block;
    padding: 0 6px;
    text-decoration: none !important;
}

.display-between {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: 0.5rem;
}

.mt {
    margin-top: 5% !important;
}

.padding-c {
    flex: 1;
    padding: 0 6% 1%
}

/* .logo-mask-wrap {
    position: relative;
    width: 250px;
    height: 200px;
    -webkit-mask-image: url('../img/logo_blanco.png');
    mask-image: url('../img/logo_blanco.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
}

.logo-mask-wrap video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 225px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: cover;
} */
/* SHELL */
#shell {
    position: fixed;
    inset: 0
}

/* ======= HOME ======= */
#home {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity .45s ease, transform .45s cubic-bezier(.4, 0, .2, 1);
}

#home.out {
    opacity: 0;
    transform: scale(.94);
    pointer-events: none
}

/* 4 corners */
.cn {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: color .2s;
    padding: 32px 40px;
    line-height: 1;
    text-decoration: none;
}

.mb {
    margin-bottom: 2% !important;
}

.cn:hover {
    color: var(--w)
}

.tl {
    top: 0;
    left: 0
}

.tr {
    top: 0;
    right: 0
}

.bl {
    bottom: 0;
    left: 0
}

.br {
    bottom: 0;
    right: 0
}

/* logo */
.hlogo {
    animation: fu .9s cubic-bezier(.16, 1, .3, 1) both;
    text-align: center
}

.ld {

    font-size: clamp(72px, 14vw, 170px);
    line-height: .85;
    letter-spacing: -.02em;
    color: var(--y);
    display: block
}

.lp {

    font-size: clamp(72px, 14vw, 170px);
    line-height: .85;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 3px var(--y);
    display: block
}

/* ticker */
#ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    border-top: 1px solid var(--br);
    padding: 0.8rem 0
}

.ti {
    display: inline-block;
    animation: tk 26s linear infinite;
    font-size: 10px;
    letter-spacing: .2em;
    color: white;
    text-transform: uppercase;
    white-space: nowrap
}

.ti span {
    margin-right: 56px
}

/* ======= PANELS ======= */
.panel {
    position: absolute;
    inset: 0;
    background: var(--b);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transform: scale(.96) translateY(20px);
    transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1);
}

.h-100 {
    height: 100%;
}

.justify-end {
    justify-content: end;
}

.panel.in {
    opacity: 1;
    pointer-events: all;
    transform: none
}

.panel.go {
    opacity: 0;
    transform: scale(.96) translateY(20px);
    pointer-events: none
}

/* header */
.ph {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 40px 18px;
    flex-shrink: 0
}

.ptitle {

    font-size: clamp(28px, 4vw, 1.5rem);
    letter-spacing: .06em
}

.m-top {
    margin-top: 2% !important;
}

.pdot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--w);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, transform .2s
}

.pdot:hover {
    background: var(--y);
    transform: scale(1.3)
}

/* scrollable body */
.pb {
    flex: 1;
    padding: 0 6% 1% !important;
    /* overflow: auto; */
    /* overflow-y: auto;
    overflow-x: auto;
    height: 100%;
    width: 100%; */
}

.pb::-webkit-scrollbar {
    width: 0
}

/* ======= ABOUT ======= */
#p-about .pb {
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-content: start
}

.at p {
    font-size: 0.8rem;
    line-height: 1.85;
    color: white;
    margin-bottom: 16px;
    max-width: 80%;
}

.atag {

    font-size: clamp(18px, 2.5vw, 1.1rem);
    color: var(--y);
    letter-spacing: .05em;
    margin-top: 36px
}

.slist {
    list-style: none;
    /* margin-top: 6px */
}

.slist li {
    padding: 8px 0;
    border-bottom: 1px solid var(--br);
    font-size: 0.8rem;
    letter-spacing: .14em;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color .2s, padding-left .2s;
    cursor: default
}

.slist li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--y);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .2s
}

.slist li:hover {
    color: var(--w);
    padding-left: 8px
}

.slist li:hover::before {
    opacity: 1
}

/* ======= BOOK ======= */
#p-book .pb {
    padding: 0 40px 40px
}

.sw {
    overflow: hidden;
    margin-bottom: 12px
}

.st {
    display: flex;
    /* gap: 12px; */
    transition: transform .6s cubic-bezier(.16, 1, .3, 1)
}

.slide {
    flex: 0 0 100%;
    aspect-ratio: 16/6;
    background: var(--card);
    border-radius: 3px;
    overflow: hidden;
    position: relative
}

.sph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
    font-size: 10px;
    letter-spacing: .2em;
    color: white;
}

.sinfo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9));
    transform: translateY(6px);
    opacity: 0;
    transition: all .28s
}

.slide:hover .sinfo {
    opacity: 1;
    transform: translateY(0)
}

.sinfo h3 {

    font-size: 20px;
    letter-spacing: .08em;
    margin-bottom: 3px
}

.sinfo p {
    font-size: 10px;
    color: white;
    letter-spacing: .1em;
    text-transform: uppercase
}

.sctrl {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px
}

.sbtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--br);
    background: none;
    color: var(--w);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s, color .2s
}

.sbtn:hover {
    background: var(--y);
    border-color: var(--y);
    color: var(--b)
}

.scnt {
    font-size: 10px;
    color: white;
    letter-spacing: .15em
}

.bcta {

    font-size: clamp(20px, 2.5vw, 1.2rem) !important;
    color: var(--y) !important;
    padding-bottom: 3px;
    transition: opacity .2s;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
}

.bcta:hover {
    opacity: .6
}

/* ======= CONTACT ======= */
#p-contact .pb {
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-content: start
}

.clogo {
    position: relative;
}


.clogo .ld2 {

    font-size: clamp(52px, 9vw, 130px);
    line-height: .85;
    letter-spacing: -.02em;
    color: var(--w);
    display: block
}

.clogo .lp2 {

    font-size: clamp(52px, 9vw, 130px);
    line-height: .85;
    letter-spacing: -.02em;
    color: transparent;
    -webkit-text-stroke: 2px var(--w);
    display: block
}

.mlabel {
    font-size: 0.8rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--y);
    position: absolute;
    bottom: 48%;
    left: 2%;
    font-size: 1rem;
    font-weight: 900;
}

.locs {
    margin-top: 10%;
    width: 70%;
}

.locrow {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--br);
    font-size: 0.8rem
}

.lcity {
    color: white;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    padding-top: 1px
}

.laddr {
    color: white;
    font-size: 0.8rem;
    s
}

.cright {
    padding-top: 16px;
    width: 70%;
}

.border-1 {
    border-bottom: 1px solid var(--y);
    padding: 0px !important;
}

.cinfo {
    list-style: none;
    margin-top: 15px;
}

.cinfo li {
    padding: 13px 0;
    border-bottom: 1px solid var(--br);
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cinfo li span:first-child {
    font-size: 0.8rem;
    letter-spacing: .15em;
    /* text-transform: uppercase; */
    color: white;
    min-width: 68px
}

/* ======= LANG ======= */
#p-lang .pb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0
}

.lopt {

    font-size: clamp(52px, 10vw, 110px);
    letter-spacing: .06em;
    cursor: pointer;
    color: white;
    transition: color .25s, transform .25s;
    padding: 0 28px
}

.lopt:hover {
    color: rgba(255, 255, 255, .6)
}

.lopt.active {
    color: var(--w)
}

.ldiv {

    font-size: clamp(52px, 10vw, 110px);
    color: white;
}

/* marquee */
.mq {
    overflow: hidden;
    padding: 13px 0;
    flex-shrink: 0
}

.mqi {
    display: inline-block;
    animation: tk 20s linear infinite;

    font-size: 1.1rem;
    letter-spacing: .22em;
    color: white;
    white-space: nowrap
}

.text-decoration-none {
    text-decoration: none;
    color: white;
    font-size: 10pxs;
}

.mqi span {
    margin-right: 10px
}

.mqi .hl {
    color: var(--y);
}

/* ======= KEYFRAMES ======= */
@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes tk {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.contact-info {
    display: flex;
    align-self: end;
    flex-direction: row;
    justify-content: flex-end;
}

@media (hover: none) {
    #cur {
        display: none !important;
    }
}

/* ======= MOBILE ======= */
@media(max-width:640px) {

    .sthumb {
        flex: 0 0 clamp(180px, 20vw, 280px) !important;
    }

    #sliderWrap {
        min-height: clamp(240px, 60vh, 230px) !important;
    }

    .sthumbs-wrap {
        height: clamp(80px, 30vh, 125px) !important;
    }


    /* Thumb activo un poco más ancho */
    .sthumb.act {
        flex: 0 0 clamp(190px, 22vw, 300px) !important;
    }

    #sliderWrap {
        flex: none !important;
    }

    .contact-info {
        align-self: center;
        justify-content: center;
    }

    .cn {
        padding: 22px 20px
    }

    .ph {
        padding: 22px 20px 14px
    }

    .locs {
        width: 100% !important;
        margin-top: 0px !important;
        order: 2;
    }

    .cright {
        width: 100% !important;
        order: 1;
    }

    .logopb {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .bcta {
        width: 100%;
        text-align: center;
    }

    #p-about .pb,
    #p-contact .pb {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 10% 0px;
    }

    #p-book .pb {
        padding: 0 20px 28px
    }

    .slide {
        flex: 0 0 84%
    }

    .sthumbs {
        display: none
    }

    .cright {
        padding-top: 0;
        align-self: center;
        justify-content: center;
        display: grid;
    }

    .at p {
        max-width: 100% !important;
    }

    .slist li {
        gap: 0px;
    }

    .atag {
        margin-top: 0px !important;
        font-size: 1.5rem;
        letter-spacing: 0.4rem;
        font-weight: bold;
    }

    .slist {
        margin-bottom: 2rem !important;
    }

    .mt {
        margin-top: 12% !important;
    }

    .logo-mask-wrap {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cinfo {
        width: 100% !important;
    }

    #infoContact {
        padding: 10% 10% 10% !important;
    }
    .m-top{
        margin-top: 12% !important;
    }
    .dnonemovil{
        display: block !important;
    }
}