/* reset css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* var colors */
:root {
    --color-primary: rgb(77, 34, 39);
    --color-primary-light: #704745;
    --color-secondary: rgb(211, 200, 184);
    /* --color-primary: #4D2227; */
    /* --color-secondary: #D3C8B8; */
    --color-red: #4D2327;
    --color-black: #151515;
}

.object-position-tl {
    object-position: top left;
}

.bg-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-secondary) !important;

    .top-title {
        border: 1px solid var(--color-secondary);
        color: var(--color-secondary);
    }
    h2 {
        color: var(--color-secondary) !important;

        span {
            color: #f5f1ec;
        }
    }
}
.bg-secondary {
    background-color: var(--color-secondary) !important;
    color: #333 !important;
    font-family: "Nata Sans", sans-serif;
}

.bg-red {
    background-color: #552928 !important;
    color: #ded1be !important;

    h2 {
        color: #ded1be;
        span {
            color: #fff;
        }
    }
}


.syne-regular {
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.nata-sans-regular {
  font-family: "Nata Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* incluir fuente que esta en /fonts/rosie */
@font-face {
    font-family: 'Rosie';
    src: url('../fonts/rosie/ROSIE.OTF') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Rosie-bold';
    src: url('../fonts/rosie/ROSIE-BOLD.OTF') format('opentype');

}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.refresh {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;
    z-index: 999999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;

    &.visible {
        opacity: .5;
        visibility: visible;
    }

    a {
        display: block;
        width: 100%;
        height: 100%;
        cursor: pointer;

        i {
            font-size: 2rem;
            color: var(--color-secondary);
            display: inline-block;
        }

        &:hover i {
            animation: spin 2s linear infinite;
        }
    }
}

#loading {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 40px;
    height: 40px;
    z-index: 999999999;
    display: flex;
    justify-content: center;
    align-items: center;

    .loading-circle {
        transform: rotate(-90deg); /* Start from top */

        .progress {
            transition: stroke-dashoffset 0.1s linear;
        }
    }
}


body, html {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    background-color: var(--color-primary);
    /* Permitir scroll normal */
    height: auto;
    /* Evitar scroll horizontal por el zoom */
    /* overflow-x: hidden; */

    /* Ocultar barra de scroll pero mantener funcionalidad */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
}

body.auth-locked #main-content {
    opacity: 0;
    pointer-events: none;
}

body.auth-locked #btn-bottom {
    opacity: 0;
    pointer-events: none;
}

#authWelcomeOverlay {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.25rem 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: rgba(11, 11, 12, 0.15);
}

#authWelcomeOverlay.visible {
    opacity: 1;
}

#authWelcomeOverlay.fade-out {
    opacity: 0;
}

#authWelcomeOverlay .auth-welcome-inner {
    text-align: center;
    max-width: 520px;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(213, 201, 182, 0.08);
    border: 1px solid rgba(213, 201, 182, 0.22);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

#authWelcomeOverlay .auth-welcome-text {
    font-family: "Nata Sans", sans-serif;
    font-size: clamp(0.9rem, 1.7vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.06rem;
    color: #D5C9B6;
    text-transform: uppercase;
}

.quote {
    font-family: "Nata Sans", sans-serif;
    font-size: 3rem;
    font-weight: 100;
}

.h100vh {
    height: 100vh;
}
.h100vhpadd {
    height: calc(100vh - 6rem);
}


.top-title {
    display: inline-block;
    font-family: "Nata Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    margin-bottom: 20px;
}

h2 {
    /* color: var(--color-primary); */
    color: var(--color-primary-light);
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: lowercase !important;

    font-family: 'Rosie-bold';
    line-height: 1;
    letter-spacing: 1px;
    word-spacing: -15px;

    span {
        color: var(--color-primary);
    }
}
.contenido {
    font-family: "Nata Sans", sans-serif;
    font-size: 1.1rem;
}

/* Espaciador invisible para controlar la duración de la animación */
#animation-spacer {
    height: 500vh; /* Duración de la animación extendida para permitir pausas */
    width: 100%;
    pointer-events: none;
}

/* Contenido principal que sube sobre el video */
#main-content {
    position: relative;
    z-index: 50; /* Mayor que video y logo */
    background-color: var(--color-secondary); /* Color de fondo para tapar el video */
    width: 100%;
    /* min-height: 100vh; */
}

.new-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.site-footer {
    padding: 1.5rem;
    /* background-color: var(--color-primary); */
    background-color: white;
    color: var(--color-secondary);
    text-align: center;

        a {
        color: var(--color-secondary);
        text-decoration: none;

        &:visited {
            color: var(--color-secondary);
        }
        &:hover {
            text-decoration: underline;
        }
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Ocultar barra de scroll para Chrome, Safari y Opera */
body::-webkit-scrollbar {
    display: none;
}

h1 {
    font-size: 2rem;
}


.logo-animation {

    width: 100%;
    height: 100vh;
    pointer-events: none; /* Permitir interactuar con el fondo si hubiera algo */
    z-index: 10;
}

/* Index 2 Animations */
#logo_texto {
    opacity: 0; /* Avoid FOUC, shown by JS */
    transition: opacity 0.5s ease-in-out;
}

#logo_texto .st0.letter {
    stroke: #DDD3C4;
    stroke-width: 1px;
    stroke-opacity: 1;
    fill: #DDD3C4;
    opacity: 0;
    fill-opacity: 0;
    transition: fill-opacity 1s ease-in-out, stroke-opacity 1s ease-in-out;
}

#logo_texto.letters-visible .st0.letter {
    opacity: 1;
}

#logo_texto .st0 {
    fill: #DDD3C4;
}

#logo_texto .st0.letter.filled {
    fill-opacity: 1 !important;
    stroke-opacity: 0 !important;
    fill: white;
}


.logo-animation svg {
    position: absolute;
    /* bottom: 0; */
    left: 0; /* Centrado horizontalmente podría ser mejor: left: 5%; width: 90%; */
    /* width: 90%; */
    height: auto;

    /* Importante para el zoom: definir desde dónde crece */
    transform-origin: center center;
    will-change: transform;
}

#video-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: auto;
    z-index: 20; /* Encima del logo */
    opacity: 0; /* Oculto inicialmente */
    will-change: width, opacity;
}

/* Estilos para superposición de video y SVG */
#vimeo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* Encima del SVG */
    opacity: 0;
    pointer-events: none; /* Permitir click en SVG si fuera necesario, o scroll */
    transition: opacity 1s ease-in-out; /* Fade-in suave */
}

#vimeo-wrapper.visible {
    opacity: 1;
    pointer-events: auto;
}

#pantalla_arca {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

#video-container img, #video-container video {
    width: 100%;
    height: auto;
    display: block;
}






/* Modal Video */
#bg-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 20px #333;
    cursor: pointer;
    transition: transform 0.3s ease;

    img {
        border-radius: 20px;
    }
}

#bg-video:hover {
    transform: scale(1.02);
}





#contenido_logo_texto {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 999999; /* Encima del logo */
    opacity: 0; /* Oculto inicialmente */
    transform: translateY(0);
    transition: opacity 1s ease-in-out, transform 0.8s ease;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;

    /* svg {
        width:400px;
    } */
}

body.auth-modal-open #contenido_logo_texto {
    transform: translateY(clamp(-500px, -18vh, -250px)); /* especio arriba de ARCA tras animación */
}

#info_abajo {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#info_abajo.visible {
    opacity: 1;
}



#btn-bottom,
#btn-bottom2 {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 50px;
    z-index: 999999;

    opacity: 0;
    transition: opacity 1s ease-in-out;

    a {
        display:block;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }
}

#btn-bottom.visible {
    opacity: 1;
}
#btn-bottom2.visible {
    opacity: 1;
}


#btn-bottom2 {
    opacity: 1;
    .scroll-down {
        .mouse {
            border: 2px solid var(--color-primary) !important;
            .scroller {
                background-color: var(--color-primary) !important;
            }
        }
        span {
            color: var(--color-primary) !important;
        }
    }
}





/* scroll down LINE */
.line-container {
  width: 1px;
  height: 44px;
  position: relative;
  margin-bottom: 100px;
/*   overflow: hidden; */
/*   border: 2px blue solid; */

}
.line {
  position: absolute;
  width: 2px;
  height: 0px;
  background-color: rgb(255, 255, 255);
  top: 0;
  bottom: initial;
  animation: line-animation 2.5s ease-in-out 0s infinite normal;
}
@keyframes line-animation {
  0% {height: 0px; top: 0px;}
  50% {height: 44px; top: 0px;}
  100% {height: 0px; top: 44px;}
}
/*   0% {height: 0px; top: 0; bottom: initial;}
  50% {top: initial; bottom: 0;}
  100% {height: 100px; top: initial; bottom: 0;} */



/* scroll down MOUSE*/
.scroll-down {
  position: absolute;
  top: 0;
 right: auto;
  bottom: 0;
  left: 50%;
  margin: auto;
  width: 140px;
  height: 65px;
  transform: translate(-50%);
  

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ccc;
    font-size: .9rem;

    span {
        padding-top: 5px;
    }
}

.mouse {
  width: 3px;
  padding: 8px 10px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #fff;
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}

@keyframes scroll {
  0% { opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0;}
}


#ubicacion {
    /* position:sticky;
    top:0; */
    position: relative;
    z-index: 99;
}
#mapa {
    position: relative;
    background-color: #D3C8B8;
    padding: 25px 25px 0px 25px;
    z-index: 9999;
}

#lifestyle {
    padding-left: 10px;
    padding-right: 10px;
    /* margin-top: -7px;

    position: sticky;
    top: 0; */
    /* height: 100vh !important; */

    z-index: 9999;
}

#proyecto {
    /* display: flex;
    align-items: center;
    justify-content: center; */

    background-color: white;
    /* min-height: 100vh !important; */

    position: relative;
    z-index: 9999;
}
.cuadro {
    background-color: #f5f0f1;
    color:rgb(77, 34, 39);
    line-height: 1.4;
    font-family: "Nata Sans", sans-serif;
}

#full-section {
    position: relative;
    /* z-index: 9999; */

    position: sticky;
    top: 0;
    z-index: 9999999;

    height: 100vh !important;
        overflow: hidden;

    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    video.home-cover {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
    }

    .capa-imagen {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.3);
    }
}


.bg-gradient {
    background-image: linear-gradient(0deg, #ffffff 0%, #D3C8B8 100%) !important;
}


.fancybox-container {
    z-index: 9999999 !important;
}



/* form */
#contact-form-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* transform: translate(-50%, -40%); */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 90%;
    max-width: 700px;

    h2 {
        font-size: 2rem;
    }
}
.contenidor_form {
    background-color: rgba(211, 200, 184, 0.9) !important;
}
input[type="email"] {
    border:1px solid var(--color-primary) !important;
    background-color: #f5f5f5 !important;
    font-size: 1rem;
}
.form-check-input {
    border-radius: 0px;
    width: 20px;
    height: 20px;
    border:1px solid var(--color-primary) !important;
}
.form-check-label {
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
    padding-left: 5px;
}
input[type="submit"] {
    border:1px solid var(--color-primary) !important;
    background-color: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.6s ease;

    &:hover {
        background-color: var(--color-primary) !important;
        color: var(--color-secondary) !important;
    }
}




/* Animation menu */
#animation-menu {
    /* position: sticky;
    top: 0; */

    /* height: 100vh !important; */
    /* background-image: url('../img/PORTADA_2.jpg'); */
    color: var(--color-secondary);
    background-size: cover;
    background-position: center;

    .menu {
        display: flex;
        justify-content: end;

        .vertical-item {
            width: 100px;
            height: 100vh;
            border-left: 1px solid var(--color-secondary);
            position: relative;
            transition: width 1s ease;

            a {
                text-decoration: none;
            }
            h3 {
                transform: rotate(-90deg);
                position: absolute;
                bottom: 50%;
                right: -50px;
                left: auto;
                width: 200px;
                text-align: center;
                font-size: 2rem;
                opacity: 1;
                transition: opacity 0.2s ease 0.8s; /* Retraso de .8s al volver a aparecer */
            }

            .info {
                opacity: 0;
                margin: 30px;
                .thumbnail {
                    width: 100%;
                    height: 400px;
                    background-color: var(--color-secondary);
                }
                h2 {
                    font-family: 'Rosie-bold';
                    line-height: 1.1;
                    letter-spacing: 1px;
                    word-spacing: -15px;

                    color: var(--color-secondary);
                    font-size: 2.5rem;
                    margin-top: 30px;
                    opacity: 0;
                    height: 150px;
                    transition: opacity 0.2s ease;
                }

                .numero {
                    font-family: 'Rosie-bold';
                    font-size: 25rem;
                    letter-spacing: -2px;
                    color: #999;
                    display:flex;
                    align-items: start;
                    opacity: 0;
                    transition: opacity 0.2s ease;

                    span {
                        line-height: .5;
                    }
                }

                h4 {
                    opacity: 0;
                }
            }

            &:hover {
                width: 30vw;
                height: 100vh;
                cursor: pointer;

                background-color: rgba(77, 34, 39, 0.7);
                backdrop-filter: blur(7px);

                h3 {
                    opacity: 0;
                    transition: opacity 0.2s ease 0s; /* Desaparece rápido sin retraso en hover */
                }
                .info {
                    opacity: 1;

                    h2{
                        opacity: 1;
                        transition: opacity 0.5s ease .7s;
                    }
                    .numero {
                        opacity: 0.2;
                        transition: opacity 0.5s ease .6s;
                    }

                    h4 {
                        position: absolute;
                        border: 1px solid;
                        padding: 5px 15px;
                        bottom: 30px;
                        opacity: 0.5;
                        font-size: 1rem;
                        color: var(--color-secondary);
                        transition: opacity 0.5s ease .4s;
                    }
                }
            }
        }
    }

    .quote-text {
        position: absolute;
        top: 0;
        left: 100px;
        width: auto;
        height: 100vh;
        text-align: center;
        font-size: 2rem;
        font-style: italic;
        color: var(--color-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
    }

}



#menu-visible {
    position: fixed;
    top: -100px;
    right: 0;
    min-width: 500px;
    height: 40px;
    /* background-color: rgba(77, 34, 39, 1); */
    background-image: url('../img/PORTADA_2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 99999999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;

    .item {
        width: 100px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid var(--color-secondary);
        color: var(--color-secondary);
        transition: all 0.5s ease;
        text-align: center;
        position: relative;

        a {
            color: var(--color-secondary);
            text-decoration: none;
        }

        span.txt {
            opacity: 0;
            position: absolute;
            bottom: -30px;
            left: 0;
            width: 100%;
            height: 40px;
            text-transform: uppercase;
            transition: all 0.5s ease;
        }
        span.num {
            text-align: center;
            opacity: 1;
            position: absolute;
            top: 5px;
            left: 0;
            width: 100%;
            height: 40px;
            transition: all 0.5s ease;
        }

        &:hover {
            width: 200px;
            cursor: pointer;

            span.num {
                opacity: 0;
                top: -30px;
            }

            span.txt {
                opacity: 1;
                bottom: -7px;
            }
        }

        &.active {
            width: 200px;
            cursor: pointer;

            span.num {
                opacity: 0;
                top: -30px;
            }

            span.txt {
                opacity: 1;
                bottom: -7px;
            }
        }
    }
}




#menu-vertical {
    position: fixed;
    top: 0;
    right: 0;
    width: 70px;
    height: 100vh;

    background-color: rgba(77, 34, 39, 1);

    z-index: 99999999999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;

    &.visible {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .item {
        width: 100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;

        a {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-secondary);
            text-decoration: none;
        }

        span.num {
            display: none;
        }

        span.txt {
            opacity: 1;
            position: static;
            width: auto;
            height: auto;
            text-transform: uppercase;
            writing-mode: vertical-rl;
            transform: rotate(180deg);
            letter-spacing: 0.08em;
            font-size: 0.85rem;
        }
    }

    .item.item-small {
        flex: 0 0 60px;
    }

    .item:hover,
    .item.active {
        background-color: rgba(255, 255, 255, 0.06);
    }
}




#amenities {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 9999;
    background-color: white;
    /* padding-bottom: 50px; */
}


/* MENU HORIZONTAL */
#animation-menu {
    z-index: 9999999999999;

    .menu-horizontal {
        .contenidor_menu {
            /* display: flex;
            align-items: center;
            justify-content: space-around; */
            z-index: 9999999;

            .item-menu {
                /* max-width: 15%; */

                a {
                    text-decoration: none;
                    .num {
                        font-size: 3.5rem;
                        color: var(--color-secondary);
                        font-family: "Rosie";
                    }
                    h2 {
                        /* font-size: 1.6rem;
                        line-height: 1.2; */
                        color: var(--color-secondary);
                        word-spacing: 0px;
                    }
                    .thumbnail {
                        max-width: 400px;
                        margin: 50px auto;
                        overflow: hidden;

                        img {
                            transition: transform 0.5s ease;
                        }
                    }
                    .seccion {
                        font-size: 1.1rem;
                        color: var(--color-secondary);
                        text-transform: uppercase;
                        position: relative;
                    }

                    .seccion-main {
                        display: block;
                        padding-bottom: 10px;
                        border-bottom: 1px solid var(--color-secondary);
                        position: relative;
                        z-index: 2;
                    }

                    .seccion-reveal {
                        position: absolute;
                        left: 0;
                        right: 0;
                        top: calc(100% - 1px);
                        height: 5em;
                        overflow: hidden;
                        pointer-events: none;
                        z-index: 1;
                    }

                    .seccion-hover {
                        display: block;
                        color: transparent;
                        -webkit-text-stroke: 1px var(--color-secondary);
                        transform: translateY(-100%);
                        transition: transform 0.45s ease;

                        ul {
                            padding-top: 10px;
                            li {
                                font-size: .8rem !important;
                                font-weight: 100 !important;
                                font-family: "Nata Sans", sans-serif !important;
                                -webkit-text-stroke-color: #999 !important;
                                padding-top: 5px !important;
                            }
                        }
                    }

                    &:hover {
                        .thumbnail {
                            img {
                                transform: scale(1.1) rotate(3deg);
                            }
                        }
                        .seccion-hover {
                            transform: translateY(0);
                        }
                    }
                }
            }

        }
    }

}





.amenities-swiper {
    width: 100%;
}

.amenities-swiper .swiper-wrapper,
.amenities-swiper .swiper-slide {
    height: 100%;
}

.amenities-swiper img {
    display: block;
}

.amenities-swiper .swiper-slide {
    position: relative;
}

.amenities-swiper .swiper-slide .txt {
    position: absolute;
    top: 20px;
    right: 80px;
    z-index: 5;
    max-width: 420px;
    padding: 30px 30px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-family: "Nata Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.35;
    border-radius: 2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.amenities-swiper .swiper-slide-active .txt {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

@media (max-width: 991.98px) {
    .amenities-swiper .swiper-slide .txt {
        display: none;
    }
}

.amenities-swiper .autoplay-progress {
    position: absolute;
    left: 24px;
    bottom: 50px;
    /* transform: translateY(-50%); */
    z-index: 10;
    width: 48px;
    height: 48px;
    color: #fff;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.15s linear;
}

.amenities-swiper.is-transitioning .autoplay-progress {
    opacity: 0;
}

.amenities-swiper .autoplay-progress svg {
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
    --progress: 0;
}

.amenities-swiper .autoplay-progress circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 125.6;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
}

.amenities-swiper .autoplay-progress span {
    font-family: "Nata Sans", sans-serif;
    font-size: 14px;
    line-height: 1;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* LIFESTYLE */
#carouselLifestyle {

    .carousel-control-next,
    .carousel-control-prev {
        position: absolute;
        bottom: 0px;
        top: auto;
        width: 5%;
    }

    .carousel-control-next {
        right: -10px;
    }
    .carousel-control-prev {
        left: auto !important;
        right: 20px;
    }

    .carousel-item {
        min-height: 200px;
        border: 0px solid red;
    }
}



/* Lugares */
.lugares {
    .bloque {
        h3 {
            font-size: 1rem;
            margin-bottom: 10px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.7s ease;
            display: inline-block;

            &:hover {
                /* border-left: 20px solid #a33d3d; */
                span {
                    padding-left: 10px;
                }
            }
        }
        ul {
            list-style: none;
            padding-left: 0;

            li {
                height: 100%;
                display: flex;

                span {
                    font-size: 0.9rem;
                    display: block;
                    width: 20px;
                    height: 27px;
                    line-height: 27px;
                    background-color: #a33d3d;
                    text-align: center;
                    margin-right: 10px;
                }

                &.active {
                    background-color: #fff !important;
                    color:#333;
                    display: inline-flex;
                    padding-right: 10px;
                }

                &:hover {
                    cursor: pointer;
                }
            }
        }

        &#blk_educacion {
            h3 {
                &:hover {
                    border-left: 20px solid #a33d3d;
                }
                &.active {
                    border-left: 20px solid #a33d3d;
                    span {
                        padding-left: 10px;
                    }
                }

            }
            li {
                span {
                    background-color: #a33d3d;
                    color: #fff;
                }
            }
        }
        &#blk_hosteleria {
            h3 {
                &:hover {
                    border-left: 20px solid #a3943d;
                }
                &.active {
                    border-left: 20px solid #a3943d;
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #a3943d;
                    color: #fff;
                }
            }
        }
        &#blk_ocio {
            h3 {
                &:hover {
                    border-left: 20px solid #698787;
                }
                &.active {
                    border-left: 20px solid #698787;
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #698787;
                    color: #fff;
                }
            }
        }
        &#blk_cultura {
            h3 {
                &:hover {
                    border-left: 20px solid  #a18787; /* #706ba3; */
                }
                &.active {
                    border-left: 20px solid #a18787;
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #a18787;
                    color: #fff;
                }
            }
        }
        &#blk_comercio {
            h3 {
                &:hover {
                    border-left: 20px solid #d6921c;
                }
                &.active {
                    border-left: 20px solid #d6921c;
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #d6921c;
                    color: #fff;
                }
            }
        }
        &#blk_salud {
            h3 {
                &:hover {
                    border-left: 20px solid #706ba3;
                }
                &.active {
                    border-left: 20px solid #706ba3;
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #706ba3;
                    color: #fff;
                }
            }
        }
        &#blk_jardines {
            h3 {
                &:hover {
                    border-left: 20px solid #42614a; /* #d6921c; */
                }
                &.active {
                    border-left: 20px solid #42614a; /* #d6921c; */
                    span {
                        padding-left: 10px;
                    }
                }
            }
            li {
                span {
                    background-color: #42614a; /* #d6921c; */
                    color: #fff;
                }
            }
        }

        span {
            &.transp {
                background-color: transparent !important;
            }
        }

    }
}


/* mapa */
#capa_lugares {
    .numero_mapa {
        &.filter {
            filter: grayscale(100%);
            opacity: 0;
        }
        &.big {
            transform-box: fill-box;
            transform-origin: center;
            transform: scale(1.5);
        }
    }
    .grupo {
        &.hide {
            display: none;
        }
    }
}



#resetear {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 100;
    width:100%;
    opacity: 0;
    a {
        border: 1px solid #552928;
        padding: 10px 10px;
        border-radius: 0px;
        width: 100%;
        display: block;
        text-align: center;
        font-size: 1rem;
        text-transform: uppercase;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease-in-out;

        &:hover {
            background-color: #552928;
            color: #fff;
        }
    }

    &.visible {
        opacity: 1;
    }
}


.conexiones {
    h3 {
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
        margin-bottom: 20px;

        background-image: url("../img/icono-titulo-pie.png");
        background-repeat: no-repeat;
        background-position: right bottom;
        background-size: 30px auto;

        &.coche {
            background-image: url("../img/icono-titulo-coche.png");
            background-size: auto 30px ;
        }
    }
    strong {
        font-weight: bold;
    }
    h4 {
        font-size: 1rem;
    }
}



.texto-presto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    h2 {
        color: white;
        display: inline-block;
    }
}

.texto-presto .info-texto-presto {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.6s ease, transform 0.6s ease;

    span {
        color: #ccc;
        font-style: italic;
    }
}

.texto-presto.is-typed-done .info-texto-presto {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.texto-presto.typed-enabled h2 {
    opacity: 0;
}

.texto-presto.typed-enabled.is-typed-ready h2 {
    opacity: 1;
}

.texto-presto.typed-enabled.is-typing h2::after,
.texto-presto.typed-enabled.is-typed-done h2::after {
    content: '|';
    margin-left: 0.08em;
    opacity: 1;
    animation: presto-caret 0.9s steps(1, end) infinite;
}

@keyframes presto-caret {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Accordion */
#accordionFlushCalidades {
    position: relative;
    z-index: 100;
    --bs-accordion-border-color: #552928;

    .accordion-item {
        background-color: #e6dcce;

        &.font-lower {
            h2 {
                button {
                    span {
                        text-transform: uppercase;
                        /* border:1px solid red; */
                    }
                }
            }
        }
    }

    .accordion-button {
        background-color: #552928;
        border: none;
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        /* text-transform: uppercase; */
        transition: all 0.3s ease-in-out;
        span {
            color: var(--color-secondary);
            text-transform: lowercase;
        }
        .st0,
        .st1,
        .st2,
        .st3,
        .st4 {
            stroke: #fff;
            fill: none;
        }

        #icon_7 {
            .st1 {
                fill: #704745;
            }
        }

        &:hover {
            background-color: #552928;
            color: #fff;
        }
        &.collapsed {
            background-color: var(--color-secondary);
            color: #552928;

            span {
                color: #552928;
            }
            .st0,
            .st1,
            .st2,
            .st3,
            .st4 {
                stroke: #552928;
            }

            #icon_7 {
                .st1 {
                    fill: var(--color-secondary);
                }
            }
        }

        &:focus {
            box-shadow: none;
            outline: none;
        }

    }

    .accordion-body {
        font-family: sans-serif;
        font-size: 0.9rem;

        div {
            display: flex;
            span {
                display: inline-block;
                padding-left: 10px;
                position: relative;
            }
            div {
                display: inline-block;
            }
        }
    }

}





/* Accordion Mapa */
#accordionFlushMapa {
    position: relative;
    z-index: 100;
    --bs-accordion-border-color: transparent;

    .accordion-item {
        &.bloque {
            background-color: transparent;
        }

        &#blk_educacion {
            h2 {
                border-left: 20px solid #a33d3d;
            }
        }
        &#blk_hosteleria {
            h2 {
                border-left: 20px solid #a3943d;
            }
        }
        &#blk_jardines {
            h2 {
                border-left: 20px solid #42614a;
            }
        }
        &#blk_cultura {
            h2 {
                border-left: 20px solid #a18787;
            }
        }
        &#blk_salud {
            h2 {
                border-left: 20px solid #706ba3;
            }
        }
        &#blk_ocio {
            h2 {
                border-left: 20px solid #698787;
            }
        }
        &#blk_comercio {
            h2 {
                border-left: 20px solid #d6921c;
            }
        }

        h2 {
         
            button {
                padding-top: 0px !important;
                padding-bottom: 0px !important;
                padding-left: 10px;
                margin-bottom: 10px;

                &:after {
                    content:'' !important;
                    background-image: none !important;
                }

                span {
                    color : var(--color-secondary);
                    text-transform: lowercase;
                }
            }
        }

        &:last-child {
            h2 {
                button {
                    span {
                        text-transform: uppercase;
                    }
                }
            }
        }
    }

    .accordion-button {
        background-color: transparent;
        border: none;
        color: #fff;
        font-size: 1rem;
        font-weight: bold;
        /* text-transform: uppercase; */
        transition: all 0.3s ease-in-out;

        &:hover {
            background-color: #552928;
            color: #fff;
        }
        &.collapsed {
            background-color: transparent;
            color: #552928;
        }

        &:focus {
            box-shadow: none;
            outline: none;
        }
    }

    .accordion-body {
        /* font-family: sans-serif;
        font-size: 0.9rem; */
        padding: 0px;

        ul {
            padding: 0px;
            li {
                color: #ded1be;

                &.active {
                    color: var(--color-primary);
                }
            }
        }
    }
}



#calidades {
    background-image: url("../img/logo-animation_claro.svg");
    background-size: 60%;
    background-position: left bottom;
    background-repeat: no-repeat;

    small {
        font-size: .9rem;
        font-style: italic;
    }
}




.flecha-top {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%);
    width: 30px;
    height: 30px;
}

.object-position-bottom {
    object-position: bottom;
}



.cuadro-absolute {
    position: absolute;
    top: 60px;
    right: 140px;
    border:0px solid white;
    z-index: 9;
    width: 450px;

    .cuadro {
        background: transparent;
        color: rgb(211, 200, 184);
        text-align: justify;
        line-height: 1.3;
    }
}

.info-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    text-align: center;

    .lema {
        padding-top: 100px;
        font-family: "Rosie-bold", sans-serif;
        font-size: 2rem;
        letter-spacing: 0px;
        word-spacing: -15px;
        color: var(--color-secondary) !important;
    }
}

.coming {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 1.5rem;
    font-family: "Syne", sans-serif;
    letter-spacing: 0px;
    word-spacing: 0px;
    text-transform: uppercase;
    color: white !important;
    opacity: 0.6;
}


.author {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white !important;
    font-size: 0.7rem;
}
