:root {
    --toolbar-width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.reset-btn {
    -webkit-appearance: none;
    border-radius: 0;
    text-align: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;
}

#immobilienanfrage-rsform-wrapper {
    display: none;
    margin-top: 81px;
}

.property-header-text {
    text-align: left;
}

.property-main-image {
    width: 964px;
    height: 642px;
    object-fit: cover;
}

.property-thumb {
    width: 276px;
    height: 214px;
    object-fit: cover;
}

.more-info {
    display: flex;
    gap: 3%;
    flex-direction: row;
    flex-wrap: wrap;
    /* padding: 0 18.5px; */
}

#energieinformationen,
#beschreibung,
#ubersicht,
#finanzierung,
#lage {
    margin-bottom: 80px;
}

@media (max-width: 1024px) {
    .more-info {
        flex-direction: column-reverse;
    }
}

/* START HEADER GALLERY*/

/* START GO BACK BUTTON */
.link-back {
    display: flex;
    align-items: center;
}

.link-back > .link-back__button {
    -webkit-appearance: none;
    border-radius: 0;
    text-align: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;

    color: rgba(0, 48, 94, 0.65);
    font-weight: 600;
    font-size: 14px;
    font-family: Inter;
    text-decoration: none;
    transition: color 0.5s ease;
    letter-spacing: 0.25px;
    line-height: 22px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.link-back > .link-back__button:hover {
    color: #00305e;
}

.link-back > .link-back__button > .link-back__icon {
    display: inline-flex;
    transition: transform 0.5s ease;
    /* margin: 40px 0 25px 8px; */
}

.link-back > .link-back__button:hover > .link-back__icon {
    transform: translateX(-4px);
}

.link-back > .link-back__button > .link-back__text {
    display: inline;
}

@media (max-width: 1024px) {
    .link-back > .link-back__button > .link-back__icon {
        margin: 0;
    }

    .link-back > .link-back__button > .link-back__text {
        display: none !important;
    }
}
/* END GO BACK BUTTON */

.agent-card span svg {
    transition: transform 0.3s ease;
}

/* header gallery */

.header-section {
    /* background: #FFF;
    background: linear-gradient(155deg, rgba(0, 48, 94, 0.08) 13.18%, rgba(0, 48, 94, 0.03) 82%);
    background: rgba(0, 48, 94, 0.03); */
    /* background: linear-gradient( */
    /* to bottom, */
    /* #fff 0%, */
    /* Fondo blanco hasta el 25% */
    /* #fff 25%, */
    /* rgba(0, 48, 94, 0.03) 25%, */
    /* rgba(0, 48, 94, 0.03) 90%, */
    /* Degradado azul claro hasta el 95% */
    /* Degradado azul claro hasta el 95% */
    /* rgba(0, 48, 94, 0.08) 90%, */
    /* rgba(0, 48, 94, 0.08) 100%  */
    /* Azul muy suave el resto */
    /* ); */

    justify-content: center;
    display: flex;
    /* position: relative; */
    /* padding: 0px 18.5px; */
}

/* .layout > .inner-layout-full.header-section {
    margin-top: 81px;
} */

.header-gallery {
    /* background: linear-gradient(155deg, rgba(0, 48, 94, 0.08) 13.18%, rgba(0, 48, 94, 0.03) 82%); */
    /* max-width: 1240px; */
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        to bottom,
        white 0px,
        white 236px,
        #f6f8fa 236px,
        #f6f8fa 100%
    );
}

/* Padding top solo en escritorio */
/* @media (min-width: 768px) {
    .header-gallery {
        padding-top: 81px;
    }
} */

/* ✅ Alineación horizontal de toda la sección de links */
.header-gallery .links-section {
    width: 100%;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 12px 0;
    background-color: white;
    max-width: 1240px;
    margin-inline: auto;

    @media (max-width: 1024px) {
        height: 60px;
        padding: 13px;
    }
}

.gallery-section > .gallery-section__padded {
    padding: 0 18.5px;
    max-width: 1240px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    box-sizing: content-box;
}

/* carousel <3 images*/
.gallery-section .carrousel-header-images {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.gallery-section .slick-arrow-inside {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-section .slick-prev.slick-arrow-inside {
    left: 10px;
}
.gallery-section .slick-next.slick-arrow-inside {
    right: 10px;
}
.gallery-section .carrousel-header-images .slick-dots {
    bottom: 10px;
}

/* Grupo de iconos de galería */
.header-gallery .links-section .gallery-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Galería de imágenes */
.header-gallery .gallery-images {
    /* display: grid; */
    /* grid-template-columns: 1fr 23%; */
    /* gap: 4px; */
    /* align-items: stretch;  */
    width: 100%;
    margin-bottom: 37px;
    max-width: 1240px;
    margin-inline: auto;

    .small-images img,
    .img-gallery-open {
        flex: 1 1 0;
        min-height: 0;
        width: 100%;
        object-fit: cover;
        /* border-radius: 12px; */
        display: block;
        position: relative;
    }
}

/* START OF IMAGE GRID STYLES */
.property-image-grid {
    display: grid;
    grid-template-columns: 1fr 23%;
    gap: 4px;
    align-items: stretch;
    box-shadow: 0 4px 8px 0 rgba(32, 35, 39, 0.08),
        0 4px 48px 0 rgba(32, 35, 39, 0.08);
}

.property-image-grid.property-image-grid--big {
    display: block;
    width: 100%;
}

.property-image-grid.property-image-grid--big
    .property-image-grid__big-overlay {
    aspect-ratio: initial;
}

.property-image-grid__big {
    position: relative;
    border-radius: 5px 0px 0px 5px;
    overflow: hidden;
}

.property-image-grid__big-overlay {
    position: relative;
    aspect-ratio: 390 / 260;
    overflow: hidden;
}

.property-image-grid__big-overlay > .play-fab-wrapper {
    height: 100%;
}

.property-image-grid__big-img-button {
    cursor: pointer;
    display: flex;
    height: 100%;
}

.property-image-grid__big-img-button::after,
.property-image-grid__small-img-button::after,
.property-image-grid__big-slider-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    /* Oscurecimiento */
    pointer-events: none;
    /* Para que los clics pasen a la imagen */
    transition: background-color 0.15s ease;
}

.property-image-grid__big-img-button:hover::after,
.property-image-grid__small-img-button:hover::after,
.property-image-grid__big-slider-button:hover::after {
    background-color: rgba(0, 0, 0, 0.1);
}

@media (pointer: coarse) and (hover: none) {
    /* Disable hover effect on touch devices */
    .property-image-grid__big-img-button:hover::after,
    .property-image-grid__small-img-button:hover::after,
    .property-image-grid__big-slider-button:hover::after {
        background-color: rgba(0, 0, 0, 0);
    }
}

.property-image-grid__big-img-button:active::after,
.property-image-grid__small-img-button:active::after,
.property-image-grid__big-slider-button:active::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.property-image-grid__big-img {
    aspect-ratio: 482/321;
    max-width: 100%;
    height: auto;
    max-height: 642px;
    object-fit: cover;
    object-position: center;
}

.property-image-grid__big-slider {
    display: none;
}

.property-image-grid__big-slider-button {
}

.property-image-grid__big-video-buttons {
}

.property-image-grid__big-video-buttons-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
}

.property-image-grid__big-video-buttons-separator__separator {
    display: block;
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
}

.property-image-grid__big-fab {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.property-image-grid__big-fab__icon {
    width: 26px;
    height: 29px;
    margin-top: 2px;
    margin-left: 4px;
    transition: opacity 0.15s ease;
}

.property-image-grid__big-fab:hover {
    background: rgba(0, 0, 0, 0.75);
}

.property-image-grid__big-fab:active {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: none;
}

.property-image-grid__big-fab:active .property-image-grid__big-fab__icon {
    opacity: 0.75;
}

.property-image-grid__big-slider-info {
    align-items: center;
    justify-content: center;
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Body/400/Body Small 400 */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 150% */
    letter-spacing: 0.25px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 16px;
    right: 16px;
    height: 25px;
    padding: 0px 8px;
    white-space: pre-wrap;
    display: none;
    width: 60px;
}

.property-image-grid__small {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
}

.property-image-grid__small-item {
    position: relative;
    flex: 1 1 0;
    overflow: hidden;
}

.property-image-grid__small-item:nth-child(1) {
    border-radius: 0px 5px 0px 0px;
}

.property-image-grid__small-item:nth-child(3) {
    border-radius: 0px 0px 5px 0px;
}

.property-image-grid__small-img-button {
    width: 100%;
    height: 100%;
}

.property-image-grid__small-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-image-grid__more-overlay {
    position: absolute;
    inset: 0;
}

.property-image-grid__more-overlay-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 100%;
    background: rgba(1, 38, 75, 0.75);
    transition: background 0.15s ease, color 0.15s ease;
    color: white;

    text-shadow: 0px 1px 2px rgba(0, 48, 94, 0.06);
    /* Body/600/Body Medium 600 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 157.143% */
    letter-spacing: 0.25px;
    cursor: pointer;
}

.property-image-grid__more-overlay-button:hover {
    background: rgba(1, 38, 75, 0.85);
}

.property-image-grid__more-overlay-button:active {
    background: rgba(0, 48, 94, 0.95);
    color: rgba(255, 255, 255, 0.5);
}

.transparent-button.transparent-button {
    display: flex;
    padding: 12px;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Interactive Element */
    text-shadow: 0px 1px 2px rgba(0, 48, 94, 0.06);
    /* Body/600/Body Medium 600 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    /* 157.143% */
    letter-spacing: 0.25px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0);
    transition: background 0.15s ease, color 0.15s ease, text-shadow 0.15s ease;
}

.transparent-button.transparent-button:hover {
    background: rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.transparent-button.transparent-button:active {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.75);
    text-shadow: none;
}

.property-image-grid__dots-wrapper {
    display: none;
}

:root {
    --dots-width: 6px;
    --dots-height: 6px;
    --dots-horizontal-margin: 2.5px;
    --dots-quantity: 5;
}

@media (max-width: 1024px) {
    .property-image-grid {
        display: flex;
        flex-direction: column;
        box-shadow: none;
    }

    .property-image-grid__big {
        border-radius: 0px;
    }

    .property-image-grid__small,
    .property-image-grid__big-img-button {
        display: none;
    }

    .property-image-grid__big-slider {
        display: block;
        width: 100%;
    }

    .property-image-grid__big-slider.slick-dotted.slick-slider {
        margin: 0px;
        touch-action: pan-y;
    }

    .property-image-grid__big-video-buttons-separator__separator {
        display: none;
    }

    .property-image-grid__dots-wrapper {
        width: calc(
            (var(--dots-width) + (var(--dots-horizontal-margin) * 2)) *
                var(--dots-quantity)
        ); /* 5 dots x (24 + 8px de margen) = 160 */
        margin: 0 auto;
        position: absolute;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);
        /* bottom: 16px; */
        bottom: 3.5px;
        display: block;
    }

    .property-image-grid__interaction-layer {
        overflow: hidden;
        width: 100%;
    }

    .property-image-grid__big-slider {
    }

    .property-image-grid__big-slider__dots {
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-left: -2.5px;
        transition: transform 0.3s ease;
        will-change: transform;
        height: 25px;
    }

    .property-image-grid__big-slider__dots li {
        width: 6px;
        height: 6px;
        margin: 0 2.5px;
        border-radius: 50%;
        background: white;
        opacity: 0.5;
        box-shadow: none;
        display: inline-block;

        font-size: 0;
        line-height: 0;
        cursor: pointer;
        color: transparent;
        position: relative;
        outline: none;
        transition: all 0.3s;
    }

    .property-image-grid__big-slider__dots__dot {
        font-size: 0;
        line-height: 0;
        display: block;
        width: 6px;
        height: 6px;
        padding: 0px;
        cursor: pointer;
        color: transparent;
        border: 0;
        outline: none;
        background: transparent;
    }

    .property-image-grid__big-slider__dots li.slick-active {
        opacity: 1;
    }

    .property-image-grid__big-slider__dots li::after {
        display: none;
    }

    .property-image-grid__big-slider-button-img.property-image-grid__big-slider-button-img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
        aspect-ratio: 390/260;
        width: 100%;
    }

    .property-image-grid__big-slider-info {
        display: flex;
    }

    .property-image-grid__big-overlay > .play-fab-wrapper {
        display: none;
    }

    .play-fab-wrapper {
        aspect-ratio: 390 / 260;
        position: relative;
    }

    .property-image-grid__big-fab {
        width: 36px;
        height: 36px;
    }

    .property-image-grid__big-fab:active {
        background: rgba(0, 0, 0, 0.45);
        box-shadow: none;
    }

    .property-image-grid__big-fab__icon {
        width: 17px;
        height: 17px;
        margin-left: 2px;
        margin-top: 0px;
    }

    .transparent-button.transparent-button {
        height: 34px;
        padding: 0px 8px;
        border-radius: 5px;
        background: rgba(0, 0, 0, 0.25);
        box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.15);
        gap: 4px;
    }

    .transparent-button.transparent-button svg {
        width: 20px;
        height: 18px;
    }

    @media (pointer: coarse) and (hover: none) {
        .transparent-button.transparent-button:hover {
            background: rgba(0, 0, 0, 0.25);
            text-shadow: none;
        }

        .property-image-grid__big-fab:hover {
            background: rgba(0, 0, 0, 0.5);
        }
    }

    .property-image-grid__big-fab:active {
        background: rgba(0, 0, 0, 0.45);
        box-shadow: none;
    }

    .tranparent-button__desktop-text {
        display: none;
    }
}
/* END OF IMAGE GRID STYLES */

.header-gallery .gallery-images .img-fluid {
    transition: filter 0.3s;
}

.header-gallery .gallery-images .img-fluid:hover {
    filter: brightness(0.8); /* Oscurece la imagen al 80% */
    /* Box Shadow 2 */
}

.header-gallery .gallery-images-carousel img {
    width: 100%;
    /* Box Shadow 2 */
}
.header-gallery .gallery-images-carousel .slick-dots {
    bottom: 20px;
}

.gallery-images-carousel .vp-button.secondary.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: none;
}

.gallery-images-carousel .previous {
    left: 0;
}

.gallery-images-carousel .next {
    right: 0;
}
.header-gallery .gallery-images .big-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px; /* Ajusta según tu diseño */
    display: flex;
    align-items: stretch;
    flex-direction: column;
    img.main-image {
        display: block;
        width: 100%;
        /* height: 100%; */
        height: auto;
        min-height: 320px;
        border-radius: 5px 0px 0px 5px;
        object-fit: cover;
        aspect-ratio: 482/321;
    }

    .video-buttons {
        position: absolute;
        top: 16px;
        left: 16px;
        display: flex;
        z-index: 2;
    }
    .video-buttons button {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        border-radius: 5px;
    }
    .video-buttons:first-child {
        border-right: 1px white;
    }
    .video-buttons button:hover {
        background-color: rgba(0, 48, 94, 0.15);
    }
    .video-buttons button:active {
        background-color: rgba(0, 48, 94, 0.25);
    }
    .zoom-button:hover {
        transform: none;
    }
    .main-image-button {
        display: none;
        position: absolute;
        bottom: 16px;
        right: 16px;
        z-index: 2;
    }
    .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        pointer-events: none; /* Para que no bloquee clics en la imagen */
        width: 61px;
        height: 61px;
        flex-shrink: 0;
    }
}

.header-gallery .gallery-images .small-images {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;

    .first {
        border-radius: 0px 5px 0px 0px;
    }

    .second {
        border-radius: 0px;
    }

    .third {
        border-radius: 0px 0px 5px 0px;
    }

    .first,
    .second,
    .third {
        object-fit: cover;
    }

    .img-gallery-open {
        position: relative;
        display: flex;
        align-items: stretch;
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: #01264bbf;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        z-index: 2;
        /* filter: brightness(0.75); */
        .gallery-button {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px; /* Espacio entre el icono y el texto */
            font-size: 16px;
            font-weight: 500;
            padding: 10px 20px;
        }
        .gallery-button svg {
            display: block;
            width: 20px;
            height: 20px;
        }
        span {
            color: #fff;
            font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
                "cv04" on, "cv05" on, "cv06" on;
            text-shadow: 0px 1px 2px rgba(0, 48, 94, 0.06);
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 22px; /* 157.143% */
            letter-spacing: 0.25px;
        }
    }
}
.header-gallery .basic-info {
    /* padding-top: 40px; */
    /* display: flex;
    flex-direction: row; */
    display: grid;
    grid-template-columns: 4fr 1fr;
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;

    /* padding: 14px 0px; */
    /* margin-bottom: 20px; */
}

.header-gallery .basic-info .block-text {
    /* width: 75%; */
    display: flex;
    flex-direction: column;
}

.header-gallery .basic-info .block-text .location-text {
    color: rgba(0, 48, 94, 0.6);
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    margin-bottom: 7.5px;
}

.header-gallery .basic-info .block-text .property-title {
    color: #00305e;
    font-family: "Source Serif 4";
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0.25px;
    margin-bottom: 30.5px;
}

.header-gallery .basic-info .button-contact-form {
    /* width: 25%; */
}

.header-gallery .basic-info .button-contact-form button {
    float: right;
}

.gallery-section > .gallery-section__full {
    padding: 0 18.5px;
    width: 100%;
    display: flex;
    flex-direction: column;

    &.grey {
        background-color: #eff1f5;
    }
}

@media (max-width: 1024px) {
    .gallery-section > .gallery-section__full {
        padding: 0;

        &.grey {
            background-color: #e8ecf0;
        }
    }
}

/* Información de propiedad */
.property-info-list {
    display: flex;
    padding: 15px 0px;
    max-width: 1240px;
    width: 100%;
    margin-inline: auto;
    gap: 40px;
}

.property-info-list > .property-info-list__item {
    color: #00305e;
    font-family: Inter;
}

.property-info-list > .property-info-list__item > .property-info-list__type {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    display: block;
}

.property-info-list > .property-info-list__item > .property-info-list__value {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.3px;
    display: block;
}

.property-info-list
    > .property-info-list__separator
    > .property-info-list__separator-line {
    width: 0.5px;
    height: 100%;
    display: block;
    background: rgba(0, 48, 94, 0.25);
}

@media (max-width: 1024px) {
    .property-info-list {
        background: #e8ecf0;
        flex-direction: column;
        padding: 22px 18.5px;
        gap: 10px;
    }

    .property-info-list > .property-info-list__item {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }

    .property-info-list
        > .property-info-list__item
        > .property-info-list__value {
        font-size: 14px;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: 0.25px;
    }

    .property-info-list
        > .property-info-list__separator
        > .property-info-list__separator-line {
        width: 100%;
        height: 1px;
    }
}

/* GALERÍA LINKS */

.gallery-links {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;

    /* Make styles general for buttons in mobile */
    @media (max-width: 1024px) {
        .gallery-btn {
            width: 34px;
            height: 34px;
            padding: 5px;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.4s ease;

            &.toggled {
                background: rgba(0, 48, 94, 0.1);
            }
        }
    }
}

.gallery-links svg {
    transition: transform 0.3s ease;
}

.gallery-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    transition: transform 0.3s ease;
}

.gallery-links a:hover svg {
    transform: scale(1.1);
}

.gallery-links a:hover .star-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-links .gallery-separator {
    width: 1px;
    height: 27px;
    background-color: rgba(0, 48, 94, 0.15);
    flex-shrink: 0;
}

/* #cloudflare-captcha {
    display: flex;
    flex-direction: column;
    margin: 14px 0px 0px 14px !important;
} */

/* MENÚ TRES PUNTOS */

.mobile-menu {
    position: relative;
    display: none; /* Oculto por defecto, visible en móvil */
}

.menu-toggle {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.share-menu {
    position: relative;
}

.menu-dropdown {
    /* display: none; */
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    z-index: 100;
    /* padding: 5px 0; */
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.menu-dropdown > .menu-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 226px;
}

.menu-dropdown > .menu-dropdown__list > .menu-dropdown__item {
    width: 100%;
}

.menu-dropdown
    > .menu-dropdown__list
    > .menu-dropdown__item
    > .menu-dropdown__item__cta {
    all: unset;
    display: flex;
    padding: 7px 16px;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    min-height: 48px;
    background: #fff;
    width: 100%;
    /* Box Shadow */
    box-shadow: 0px 8px 18px 0px rgba(0, 48, 94, 0.1);

    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;

    /* Body/500/Body Medium 500 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;

    box-sizing: border-box;
    cursor: pointer;
}

.menu-dropdown
    > .menu-dropdown__list
    > .menu-dropdown__item
    > .menu-dropdown__item__separator {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(0, 48, 94, 0.05);
}

.menu-dropdown a {
    padding: 8px 12px;
    color: #00305e;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 16px;
}

/* Ocultar texto por defecto */
.menu-dropdown a span {
    display: none;
}

.menu-dropdown a:hover {
    background-color: #f0f0f0;
}

/* ACCIONES */

.desktop-actions {
    display: block;
    height: 27px;
}

.desktop-actions > .desktop-actions__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.desktop-actions > .desktop-actions__list > .desktop-actions__item {
    padding: 0;
    margin: 0;
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__item
    > .desktop-actions__cta {
    -webkit-appearance: none;
    border-radius: 0;
    text-align: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__item
    > .desktop-actions__cta
    > .desktop-actions__cta-icon {
    transition: transform 0.3s ease;
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__item
    > .desktop-actions__cta:hover
    > .desktop-actions__cta-icon {
    transform: scale(1.1);
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__item
    > .desktop-actions__cta
    > .desktop-actions__cta-tooltip {
    visibility: hidden;
    font-family: Inter;
    font-weight: 600;
    opacity: 0;
    background-color: #ffffff;
    color: #00305e;
    text-align: center;
    border-radius: 5px;
    padding: 0px 10px;
    position: absolute;
    top: calc(100% + 7.5px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.3s;
    font-size: 0.75rem;

    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff;

    /* Interactive Element Hover */
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.12);
    z-index: -1;
}
@media (max-width: 1290px) {
    .desktop-actions
        > .desktop-actions__list
        > .desktop-actions__item.last
        > .desktop-actions__cta
        > .desktop-actions__cta-tooltip {
        right: 0;
        transform: none;
        left: auto;
    }
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__item
    > .desktop-actions__cta:hover
    > .desktop-actions__cta-tooltip {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.desktop-actions > .desktop-actions__list > .desktop-actions__item {
}

.desktop-actions > .desktop-actions__list > .desktop-actions__item {
}

.desktop-actions > .desktop-actions__list > .desktop-actions__separator {
    height: 100%;
}

.desktop-actions
    > .desktop-actions__list
    > .desktop-actions__separator
    > .desktop-actions__separator-line {
    display: block;
    height: 100%;
    width: 1px;
    background-color: rgba(0, 48, 94, 0.15);
}
/*
.tooltip-wrapper {
    position: relative;
    display: inline-block;
} */
/*
.tooltip-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* .tooltip-text {
    visibility: hidden;
    font-family: Inter;
    font-weight: 600;
    opacity: 0;
    background-color: #ffffff;
    color: #00305e;
    text-align: center;
    border-radius: 5px;
    padding: 0px 10px;
    position: absolute;
    top: calc(100% - 2.5px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.3s;
    font-size: 0.75rem;

    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #fff; */

/* Interactive Element Hover */
/* box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.12);
    z-index: -1; */
/* } */

/* .tooltip-wrapper:hover .tooltip-text {
    z-index: 1;
    visibility: visible;
    opacity: 1;
} */

/* RESPONSIVE */

@media (max-width: 1024px) {
    .desktop-actions {
        display: none;
    }

    .mobile-menu {
        display: flex;
        align-items: center;
        gap: 17px;
    }

    .menu-dropdown {
        transition: all 0.3s ease;
    }

    .menu-dropdown.open {
        display: block;
    }

    .menu-dropdown a span {
        display: inline;
    }
}

/* START SHARE POPUP */

.share-popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    overflow: auto;
    background: rgba(20, 28, 38, 0.92);
    justify-content: center;
    align-items: center;
}

/* Mostrar cuando tiene la clase active */
.share-popup.active {
    display: grid;
    justify-content: center;
    align-items: center;
}

/* .popup-card label {
    color: #00305e;
    display: block;
    margin-top: 10px;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.25px;
    margin-left: 14px;
} */

.popup-content {
    padding: 20px;
    width: 390px;
    position: relative;
    border-radius: 5px;
    border: 1px solid rgba(0, 48, 94, 0.15);
    background: #f2f4f7;
    box-shadow: 0px 8px 32px -6px rgba(20, 23, 26, 0.12),
        0px 12px 42px -4px rgba(20, 23, 26, 0.12);
}

.popup-content__close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00305e;
}

.popup-content__close-btn__icon {
    transition: opacity 0.15s ease;
    opacity: 0.5;
}

.popup-content__close-btn:hover .popup-content__close-btn__icon {
    opacity: 0.75;
}

.popup-content__close-btn:active .popup-content__close-btn__icon {
    opacity: 0.25;
}

.popup-content__title-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.popup-content__title-zone__share-icon {
}

.popup-content__title-zone__title {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: 0.3px;
    margin-left: 14px;
    margin: 0;
}

.popup-card {
    border-radius: 5px;
    border: 1px solid rgba(0, 48, 94, 0.15);
    background: #fff;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    padding: 20px;
}

.popup-card__description {
    color: rgba(0, 0, 0, 0.85);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Body/400/Body Medium 400 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;
}

.popup-card__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 992px) {
    .popup-card__form .basic-input input[type="email"] {
        height: 48px;
        font-size: 16px;
    }
}

.popup-card__form > .captcha > .cf-turnstile {
    display: flex;
    justify-content: center;
}

.popup-card__form__submit-button {
    width: 100%;
}

.popup-content__social-description {
    color: rgba(0, 0, 0, 0.85);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;

    /* Body/400/Body Medium 400 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;
    margin: 20px 0px;
}

.popup-content__social-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.social-buttons__share-btn {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

/* END SHARE POPUP */

.more-info {
    padding-top: 60px;
}

@media (max-width: 1024px) {
    .header-section {
        background: linear-gradient(
            155deg,
            rgba(0, 48, 94, 0.08) 13.18%,
            rgba(0, 48, 94, 0.03) 82%
        );
        /* position: relative; */
        padding: 0;
    }

    .header-gallery .gallery-images .big-image .main-image-button {
        display: block;
    }

    .header-gallery .gallery-images {
        grid-template-columns: 1fr !important;
        margin-bottom: 28px;

        .big-image {
            margin: 0px !important;
            border-radius: none !important;
            .rounded {
                border-radius: 0px !important;
            }
        }
        .small-images {
            display: none !important;
        }
        .video-buttons {
            gap: 8px;
        }
        .video-buttons button {
            background-color: rgba(0, 48, 94, 0.25);
        }
        .video-buttons svg {
            display: flex;
            width: 24px;
            height: 24px;
            padding: 0px 0.722px;
            justify-content: center;
            align-items: center;
        }
        .main-image-button {
            background-color: rgba(0, 48, 94, 0.25);
        }
    }

    .header-gallery .basic-info {
        display: flex;
        flex-direction: column;
        /* grid-template-columns: auto !important; */
        padding: 0px 18.5px !important;

        .block-text {
            width: 100% !important;
            .location-text {
                font-size: 14px !important;
                margin-bottom: 7px;
            }
            .property-title {
                font-size: 24px;
                margin-bottom: 28px;
            }
        }

        .button-contact-form {
            width: 100%;
            margin-bottom: 31px;
            .form-button {
                width: 100%;
            }
        }
    }
}

/* INSIDE THE GALLERY THERE IS A IA BANNER */
.gallery-banner {
    /* Default styles aimming mobile */
    width: 100%;
    background: linear-gradient(91deg, #00366b 4.54%, #002447 97.24%);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 92px;
    .gallery-banner__desktop-overflow {
        width: 100%;
        display: flex;
        .gallery-banner_text-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1 0 0;
            color: rgba(255, 255, 255, 0.85);
            .gallery-banner_text-wrapper__icon {
                flex-shrink: 0;
                width: 24px;
                height: 24px;
                aspect-ratio: 1 / 1;
            }

            .gallery-banner_text-wrapper__text {
                color: #fff;
                font-feature-settings: "case" on, "cv01" on, "cv02" on,
                    "cv03" on, "cv04" on, "cv05" on, "cv06" on;
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: 125%; /* 17.5px */
                letter-spacing: 0.25px;

                .gallery-banner_text-wrapper__text--lighten {
                    color: rgba(255, 255, 255, 0.75);
                }
            }
        }

        .gallery-banner_image-wrapper {
            width: 56px;
            height: 76px;
            flex-shrink: 0;
            border-radius: 3px;
            overflow: hidden;
            position: relative;

            img.gallery-banner_image-wrapper__image {
                /* width: 100%; */
                /* height: auto; */
                object-fit: contain;
                border-radius: 0;

                &.gallery-banner_image-wrapper__image--desktop {
                    display: none;
                }

                &.gallery-banner_image-wrapper__image--mobile {
                    display: block;
                    object-fit: cover;
                    object-position: -51px;
                }
            }

            .gallery-banner_image-wrapper__overlay {
                position: absolute;
                inset: 0;
                padding: 6px;
                display: flex;
                align-items: center;
                justify-content: center;

                .gallery-banner_image-wrapper__overlay__play-btn {
                    all: unset;
                    cursor: pointer;
                    width: 100%;
                    height: 100%;
                    border-radius: 0px;
                    background-color: none;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    filter: none;

                    padding: 0;
                    border: none;
                    line-height: 0;
                    transition: all 0.15s ease-in-out;

                    .icon-play {
                        display: block;
                        width: 24px;
                        height: 24px;
                        flex-shrink: 0;
                        margin-left: 3px;
                        margin-top: 1px;
                        transition: all 0.15s ease-in-out;
                    }

                    &:hover {
                        background-color: none;
                        filter: none;
                    }

                    &:active {
                        background-color: none;
                        .icon-play {
                            opacity: 1;
                        }
                    }
                }
            }
        }

        .gallery-banner__desktop-overflow__button-wrapper {
            display: none;
        }
    }

    .vp-button.fourth {
        display: flex;
        padding: 12px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 5px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.1);

        /* Interactive Element Dark */
        box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.16);

        &:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        &:active {
            border: 1px solid rgba(255, 255, 255, 0);
            background: rgba(255, 255, 255, 0.15);
        }
    }

    .button-empty {
        all: unset;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 1);

        svg {
            transition: opacity 0.3s ease;
            opacity: 0.5;
        }

        &:hover {
            svg {
                opacity: 0.75;
            }
        }

        &:active {
            svg {
                opacity: 0.25;
            }
        }
    }

    @media (min-width: 1025px) {
        position: absolute;
        bottom: 0;
        padding: 0;
        width: 100%;
        background: linear-gradient(
            91deg,
            rgba(0, 54, 107, 0.85) 4.54%,
            rgba(0, 36, 71, 0.85) 97.24%
        );
        backdrop-filter: blur(15px);

        .gallery-banner__desktop-overflow {
            position: relative;
            padding: 20px;
            height: 100%;

            .gallery-banner_text-wrapper {
                margin-left: 144px;
            }

            .gallery-banner_image-wrapper {
                position: absolute;
                bottom: 16px;
                left: 20px;
                height: 150px;
                width: 108px;
                border-radius: 5px;
                border: 4px solid rgba(255, 255, 255, 0.25);
                background-color: rgba(255, 255, 255, 0.25);
                backdrop-filter: blur(15px);

                /* Interactive Element Dark */
                box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.16);

                img.gallery-banner_image-wrapper__image {
                    &.gallery-banner_image-wrapper__image--desktop {
                        display: block;
                        object-fit: cover;
                        object-position: -98px;
                    }

                    &.gallery-banner_image-wrapper__image--mobile {
                        display: none;
                    }
                }

                .gallery-banner_image-wrapper__overlay {
                    position: absolute;
                    inset: 0;
                    padding: 6px;
                    display: flex;
                    justify-content: flex-end;
                    align-items: flex-end;

                    .gallery-banner_image-wrapper__overlay__play-btn {
                        all: unset;
                        cursor: pointer;
                        width: 28px;
                        height: 28px;
                        border-radius: 50%;
                        background-color: #4e73f4;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        filter: drop-shadow(0px 1px 2px rgba(0, 48, 94, 0.16));

                        .icon-play {
                            display: block;
                            width: 16px;
                            height: 16px;
                            flex-shrink: 0;
                            margin-left: 3px;
                            margin-top: 1px;
                            transition: all 0.15s ease-in-out;
                        }

                        &:hover {
                            background-color: #4262d0;
                            filter: drop-shadow(
                                0px 2px 3px rgba(0, 48, 94, 0.24)
                            );
                        }

                        &:active {
                            background-color: #3a56b7;
                            .icon-play {
                                opacity: 0.75;
                            }
                        }
                    }
                }
            }

            .gallery-banner__desktop-overflow__button-wrapper {
                display: flex;
                align-items: center;
                gap: 20px;
            }
        }

        .hide {
            display: none;
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }
    }
}

/* left side */
/* content sections*/
.left-side {
    width: 68%;
    /* padding-right: 30px; */
}
@media (max-width: 1024px) {
    .left-side {
        width: 100%;
        padding-right: 0;
    }
}

/* NAV to content section */

.tab-link {
    top: 20px;
    margin-right: 40px;
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.3px;
    padding-bottom: 11px;
}

/* Móvil: top a 81px */
@media (max-width: 1024px) {
    .links-tabs {
        top: 81px !important;
        /* width: 120% !important; */
    }
}

@media (max-width: 1024px) {
    .links-tabs {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        width: 100%;
        padding-inline: 18.5px;
        /* margin-left: -16px; */
        /* padding: 8px 0; */
        /* box-shadow: 0 2px 8px rgba(0, 48, 94, 0.06); */
    }

    .tabs-nav {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: auto;
        /* padding: 0 0 16px; */
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        flex: 0 0 auto;
        padding: 8px 0px;
        font-size: 15px;
        color: #00305e;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
        white-space: nowrap;
    }
}

/* Sin esto, sticky no funciona */
.layout {
    overflow: visible;
}

.links-tabs {
    background: linear-gradient(
        180deg,
        #fff 0%,
        #fff 95%,
        rgba(255, 255, 255, 0) 100%
    );
    position: sticky;
    top: 121px;
    z-index: 2;
    border-bottom: 1px solid #dee2e6;
    width: max-content;
    padding-top: 16px;
    width: 100%;
}

.links-tabs .hide-layer {
    overflow: hidden;
}

.links-tabs nav {
    display: flex;
    background: white;
}

.links-tabs .tab-link {
    color: rgba(0, 48, 94, 0.3);
    border-bottom: 4px solid transparent;
}

.links-tabs .tab-link:hover {
    color: #00305e;
}

/* .links-tabs .tab-link.active { */
/* color: #00305e !important; */
/* font-weight: 600; */
/* border-bottom: 4px solid #00305e; */
/* } */

.tab-link.active {
    /* font-weight: bold; */
    border-bottom: 4px solid #00305e;
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    /* font-weight: 600; */
    line-height: 24px;
    letter-spacing: 0.3px;
}

/* end NAV content Section */

/* General for sections */
.content-sections {
    margin-top: 40px;
    margin-bottom: 80px;
    h2 {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on, "cv09" on;
        font-family: "Source Serif 4";
        font-size: 22px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%; /* 33px */
        letter-spacing: 0.25px;
        margin-bottom: 40px;
    }

    #ubersicht,
    #energieinformationen {
        .info-text > .label {
            font-weight: 500;
        }

        .info-text > .label,
        .info-text > .value {
            line-height: 24px;
        }
    }

    p {
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px; /* 200% */
        letter-spacing: 0.25px;
    }
}

@media (max-width: 1024px) {
    .content-sections {
        padding-inline: 18.5px;
    }
}

.description-container {
    position: relative;
}

.description-text {
    overflow: hidden;
    position: relative;
    transition: max-height 0.2s ease;
    /* max-height: 168px; */
    color: #000;
}

.description-text.expanded-text {
    max-height: 1000px;
}

/* .description-text.collapsed-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
} */

.toggle-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #00305e;
    cursor: pointer;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0.25px;
    width: fit-content;
    transition: color 0.3s ease;
}

.toggle-link:hover {
    color: #001e3d;
}

.toggle-icon {
    transition: transform 0.4s ease;
    transition-delay: 0s;
}

.toggle-icon.rotate {
    transform: rotate(180deg);
    transition-delay: 0s;
}

.description-text.collapsed-text ~ .toggle-button .toggle-icon {
    transition-delay: 0.2s; /* ajusta según el ritmo que quieras */
}

/* END content sections*/

/* right side*/
/* contact section */
/* property-info */
.right-side {
    width: 29%;
    max-width: fit-content;
    /* padding-left: 10px; */
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 20px;
}

.components-section {
    position: sticky;
    top: 130px;
}
/* info property card stick */
.property-contact {
    right: 0;
    background: linear-gradient(
            0deg,
            rgba(0, 48, 94, 0.05) 0%,
            rgba(0, 48, 94, 0.05) 100%
        ),
        #fff;
    width: 100%;
    /* max-width: 533px; */
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 0px 1px 0px rgba(32, 35, 39, 0.16),
        0px 4px 8px 0px rgba(32, 35, 39, 0.04),
        0px 8px 48px 0px rgba(32, 35, 39, 0.02);
}

/* .property-contact .body-card > div {
    padding: 16px 20px;
} */

.body-card {
    padding: 19px 20px 6px 20px;
    border: 1px solid rgba(0, 48, 94, 0.05);
    border-radius: 0px 0px 5px 5px;
    border-top: none;
}

.property-contact .image-gallery-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        190deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 50%
    );
}

.property-contact .image-property {
    display: block;
    aspect-ratio: 360 / 236;
    width: 100%;
    flex-shrink: 0;
    /* border-radius: 5px 5px 0px 0px; */
    object-fit: cover;
    /* border: 1px solid rgba(0, 48, 94, 0.05); */
    /* background: linear-gradient(
            0deg,
            rgba(0, 48, 94, 0.05) 0%,
            rgba(0, 48, 94, 0.05) 100%
        ),
        #fff; */
    /* Box Shadow 1 */
    /* box-shadow: 0px 0px 1px 0px rgba(32, 35, 39, 0.16), 0px 4px 8px 0px rgba(32, 35, 39, 0.04), 0px 8px 48px 0px rgba(32, 35, 39, 0.02); */
}

.property-contact .city-township {
    color: rgba(0, 48, 94, 0.6);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px; /* 127.273% */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.property-contact .title-property {
    overflow: hidden;
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;
    margin-bottom: 3px;
    width: 100%;
    white-space: nowrap;
}

.property-contact .property-features {
    display: flex;
    min-height: 38px;
    flex-direction: row;
    margin-bottom: 0px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}

.property-contact .bulls {
    color: rgba(0, 0, 0, 0.3) !important;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    padding: 0px 5px;
}

.property-contact .property-features span {
    color: #000;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;
    color: #000;
}

.property-contact .form-section {
    display: flex;
    /* height: 40px; */
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-bottom: 20px;
}
.property-contact .form-section button {
    width: 100%;
    /* padding: 17px 16px; */
    justify-content: center;
    align-items: center;
}

.property-contact .contact-section {
    h5 {
        padding-top: 8px;
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        .ico-send-email img {
            width: 20px;
            height: 20px;
        }
    }
    p {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        /* Body/400/Body Medium 400 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        /* height: 40px; */
        flex-shrink: 0;
        align-self: stretch;
        margin-bottom: 1px;
    }
    a {
        color: #4e73f4;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        /* Body/500/Body Medium 500 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        align-self: stretch;
    }
}

@media (max-width: 1024px) {
    .right-side {
        width: 100%;
        padding-left: 0px;
        max-width: none;

        padding-inline: 18.5px;

        .gallery-button-group {
            display: none;
        }
    }
    .property-contact {
        display: none;
    }

    /* .bottom-section {
        display: none;
    } */
}
/* END  info property card section*/

/* agent card  section*/
.agent-card {
    right: 0;
    width: 100%;
    margin: 60px 0 80px 0;
    display: flex;
    flex-direction: column;
}

.agent-card .info-agent {
    display: flex;
    /* flex-direction: row-reverse; */
    max-width: 1239.95px;
    align-items: flex-start;
    justify-content: space-between;
    align-self: stretch;
    /* gap: 80px; */
}

.agent-card .info-agent .details-agent {
    display: flex;
    padding-right: 8px;
    flex-direction: column;
    align-items: flex-start;
    .title {
        color: rgba(0, 48, 94, 0.5);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        /* Overline/500/Overline Large */
        font-family: Inter;
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: 14px; /* 127.273% */
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    ul {
        list-style-type: none;
    }
    li,
    p {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.25px;
    }
    .name-agent {
        color: #00305e;
        font-weight: 500;
        margin-bottom: 10px;
    }
    .shop-name {
        font-weight: 500;
    }
}

.full-width {
    width: 100%;
}

.half-width {
    width: 60%;
}

.agent-card .info-agent .card-agent-img {
    border-radius: 5px;
    flex-shrink: 0;
    height: 100%;
    max-height: 125px;
    max-width: 125px;
    aspect-ratio: 1/1;
    width: 45%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.agent-card .buttons-section {
    padding: 20px 0px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
    a {
        display: flex;
        height: 40px;
        padding: 17px 14px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex: 1 0 0;
        border-radius: 5px;
        border: 1px solid rgba(0, 48, 94, 0.15);
        background: #fcfcfd;
        box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    }
}
.agent-card .card-agent-vimeo-player {
    width: 125px;
    height: 125px;

    iframe {
        position: relative;
        left: -50%;
    }
}

@media (max-width: 1024px) {
    .right-side .agent-card {
        width: 100%;
    }
    /* .right-side .agent-card .info-agent {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    } */
    .agent-card .info-agent .card-agent-img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        margin-bottom: 8px;
    }
    .right-side .agent-card .info-agent .details-agent {
        padding-right: 0px;
    }
    .right-side .agent-card .card-agent-vimeo-player {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 1024px) {
    .agent-card {
        width: 100%;
        position: relative;
        top: 0;
        margin-top: 0;
        margin-bottom: 40px;
    }
    .agent-card .info-agent .card-agent-img {
        max-height: 125px;
        max-width: 125px;
    }
    /* .agent-card .info-agent {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
    } */
    .right-side .agent-card .card-agent-vimeo-player {
        width: 125px;
        height: 125px;
    }
    /* .right-side .agent-card .info-agent {
        flex-direction: row-reverse;
    } */
    .right-side .agent-card .info-agent .details-agent {
        padding-right: 8px;
    }
}
/* END OF agent card section */

/*bottom section*/

/* .bottom-section {
    position: absolute;
    z-index: 1;
    left: 5px;
    bottom: 0px;
    background-color: #fefefe;
    width: 120%;
    height: 35%;
    flex-shrink: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0.21%,
        #fefefe 6.5%
    );
} */

/*end of bottom section*/

#aktuelleImmobilienangeboteSliderWrapper {
    width: 100%;
    margin-bottom: 160px;
    position: relative;
    z-index: 1;
}

#aktuelleImmobilienangeboteSliderWrapper .special-properties-title {
    color: #00305e;
    text-align: center;

    font-feature-settings: "cv09" on, "cv06" on, "cv04" on, "cv02" on, "cv01" on,
        "cv03" on, "cv05" on, "case" on;
    /* Serif/Heading 2 */
    font-family: "Source Serif 4", serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.25px;
    margin: 0;
    margin-bottom: 40px;
}

#aktuelleImmobilienangeboteSliderWrapper .controls-wrapper {
    display: flex;
    justify-content: center;
}

#aktuelleImmobilienangeboteSliderWrapper .controls-wrapper .previous {
    order: 1;
}

#aktuelleImmobilienangeboteSliderWrapper .controls-wrapper .next {
    order: 3;
}

#aktuelleImmobilienangeboteSliderWrapper .controls-wrapper .slick-dots {
    display: flex;
    align-items: center;
    position: static;
    order: 2;
    width: fit-content;
    margin: 0 20px;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slick-list {
    margin: 0 -10px;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card {
    width: 294.05px;
    /* height: 221px; */
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card {
    margin: 0 10px;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .city-township {
    color: #00305e;
    font-feature-settings: "cv09" on, "cv06" on, "cv04" on, "cv02" on, "cv01" on,
        "cv03" on, "cv05" on, "case" on;
    /* Overline/500/Overline Large */
    font-family: Inter;
    font-size: 11px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin: 0;
    margin-top: 16px;
    margin-bottom: 10px;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .title-property {
    margin: 0;
    height: 40px;
    margin-bottom: 10px;

    color: #00305e;
    overflow: hidden;

    font-feature-settings: "cv09" on, "cv06" on, "cv04" on, "cv02" on, "cv01" on,
        "cv03" on, "cv05" on, "case" on;
    text-overflow: ellipsis;
    whitespace: nowrap;
    /* Body/600/Body Medium 600 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .property-features {
    color: rgba(0, 48, 94, 0.6);
    font-feature-settings: "cv09" on, "cv06" on, "cv04" on, "cv02" on, "cv01" on,
        "cv03" on, "cv05" on, "case" on;
    /* Body/500/Body Small 500 */
    font-family: Inter;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    /* 175% */
    letter-spacing: 0.25px;
    margin: 0;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .image-wrapper {
    position: relative;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 294.05 / 221;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .image-wrapper {
    position: relative;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 294.05 / 221;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .property-img
    img {
    /* transform: scale(1.4); */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .ico-fav {
    top: 8px;
    right: 5px;
    position: absolute;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    margin-right: 0;
}

#aktuelleImmobilienangeboteSliderWrapper
    #aktuelleImmobilienangeboteSlider
    .slider-card
    .ico-fav
    img {
    width: 32px;
    height: 32px;
}

@media (max-width: 1024px) {
    #aktuelleImmobilienangeboteSliderWrapper {
        margin-bottom: 120px;
        /* min-height: 567px; */
    }

    #aktuelleImmobilienangeboteSliderWrapper .special-properties-title {
        text-align: left;
        margin-bottom: 40px;
    }

    #aktuelleImmobilienangeboteSliderWrapper
        #aktuelleImmobilienangeboteSlider
        .slider-card
        .city-township {
        margin-top: 19px;
        margin-bottom: 10px;
    }

    #aktuelleImmobilienangeboteSliderWrapper #aktuelleImmobilienangeboteSlider {
        margin-bottom: 28px;
        /* margin-left: 20px; */
    }

    #aktuelleImmobilienangeboteSliderWrapper
        #aktuelleImmobilienangeboteSlider
        .slider-card
        .ico-fav {
        width: 32px;
        height: 32px;
        padding: 10px;
        top: 9px;
        right: 13px;
    }

    #aktuelleImmobilienangeboteSliderWrapper
        #aktuelleImmobilienangeboteSlider
        .slider-card
        .ico-fav
        .star-icon {
        width: 32px;
        height: 32px;
    }
}
/* END OF SPECIAL PROPERTIES */
/* More links section*/
#more-links {
    position: relative;
    z-index: 1;
    font-family: Arial, sans-serif;
    background-color: #fff;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    h2 {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on, "cv09" on;
        font-family: "Source Serif 4";
        font-size: 22px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%; /* 33px */
        letter-spacing: 0.25px;
    }
    .container {
        display: flex;
        gap: 40px;
    }
    .column {
        flex: 1;
    }
    .column h3 {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
    .column ul {
        list-style: none;
        padding: 0;
    }
    .column li {
        margin-bottom: 8px;
    }
    .column a {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        text-decoration: none;
    }
    .column a:hover {
        text-decoration: underline;
    }
}
@media (max-width: 1024px) {
    #more-links .container {
        flex-direction: column;
    }
    #more-links .column {
        margin-bottom: 20px;
    }
}
/*END more link section*/

/* START OF FREE LOCATIONS SEARCH MAP */

/* Contenedor principal para el progreso */

/* Máscara blanca */
.progress-ring circle:nth-child(3) {
    stroke: #fff; /* Color blanco */
}

.free-locations-search-map {
    /* width: 1200px; */
    scroll-margin-top: 25px;
}

.free-locations-search-map .title {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on, "cv09" on;

    /* Serif/Heading 3 */
    font-family: "Source Serif 4";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 33px */
    letter-spacing: 0.25px;
}
/* Services Zone Map */

.free-locations-search-map .services-zone-container {
    margin-bottom: 20px;
}

.free-locations-search-map .services-zone-title {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;

    /* Heading/Heading 4 */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.15px;
}

.free-locations-search-map .services-zone-grid {
    /* display: flex;
    flex-flow: row wrap;
    justify-content: space-between; */
    /* width: 1200px; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.free-locations-search-map .services-zone-grid .score-card {
    display: flex;
    flex-direction: column;
    align-items: anchor-center;
    padding: 16px 0px;
    gap: 4px;
    /* flex: 1 1 1; */
    border-radius: 5px;
    border: 1px solid rgba(0, 48, 94, 0.15);
    background: rgba(255, 255, 255, 0.95);
    /* width: 33%; */
    margin-bottom: 5px;
}

/* Fondo gris del progreso */
.progress-ring circle {
    fill: none;
    stroke-width: 12;
}

/* Fondo gris */
.progress-ring circle:nth-child(1) {
    stroke: #eee; /* Color gris claro */
}

/* Progreso dinámico */
.progress-ring circle.progress {
    stroke: green; /* Color del progreso */
    stroke-linecap: round; /* Hace que los extremos del progreso sean redondeados */
    transition: stroke-dashoffset 0.3s ease; /* Animación suave para el progreso */
}
.free-locations-search-map .services-zone-grid .score-card .progress-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    .progress-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        .progress-ring {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0; /* Asegura que esté detrás del ícono */
            width: 60px;
            height: 60px;
            flex-shrink: 0;
        }
        .services-zone-icon {
            position: absolute;
            top: 15px;
            left: 15px;
            z-index: 0; /* Asegura que esté encima del progreso */
            border-radius: 50%; /* Hace que el fondo sea circular */
            width: 30px;
            height: 30px;
            stroke: #00305e;
        }
    }
}

.free-locations-search-map .services-zone-grid .score-card .info {
    display: inline-flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    .value {
        /* Body/600/Body Medium 600 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px; /* 157.143% */
    }
    .title {
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px; /* 157.143% */
    }
    /* gap: 8px; */
}

.free-locations-search-map .services-zone-label {
    font-weight: bold;
    color: #1a365d;
    font-size: 16px;
}

/* progress bar */
.progress-container {
    position: relative;
    width: 60px;
    height: 60px;
}
.progress-ring {
    transform: rotate(-135deg);
}
.progress-bg,
.progress-fg,
.progress-w,
.progress-rest {
    fill: none;
    stroke-width: 5;
    stroke-linecap: round;
}
.progress-w {
    z-index: 5;
}
.progress-bg {
    stroke: #e0e0e0;
    stroke-dasharray: 212;
    stroke-dashoffset: 53;
}

.services-zone-locked .progress-fg {
    stroke: #d1d5db;
}
.services-zone-locked .services-zone-icon {
    stroke: #9ca3af;
}
.services-zone-gray {
    color: #9ca3af;
}

.free-locations-search-map .services-zone-score {
    font-size: 18px;
    font-weight: bold;
    margin-top: 4px;
}

.free-locations-search-map .services-zone-locked {
    background: #e0e0e0;
    opacity: 0.6;
}

.free-locations-search-map .services-zone-cta {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    position: relative;
    z-index: 0;
    justify-content: space-around;
    width: 100%;
}
.free-locations-search-map .services-zone-cta .text-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    .services-zone-cta-text {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Body/600/Body Medium 600 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
    .services-zone-cta-text-info {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Body/400/Body Medium 400 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
}

.free-locations-search-map .services-zone-cta .form-button {
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Button */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 114.286% */
    letter-spacing: 0.15px;
    display: relative;
    z-index: 0;
    margin-top: 10px;
    padding: 17px 16px;
    height: 40px;
}

.free-locations-search-map .services-zone-cta .form-button:hover {
    background-color: var(--vp-primary-dark);
    box-shadow: 0px 2px 3px rgba(0, 48, 94, 0.24);
    color: #fff;
}

/* MAP SECTION */

.free-locations-search-map .title-map {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Heading/Heading 4 */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.15px;
}

/* MAP INFO*/
.free-locations-search-map .map-section .map-info {
    display: flex;
    flex-direction: column;
    /* padding: 10px; */
    /* margin-top: 20px; */
}
.free-locations-search-map .map-section .map-info .form-button {
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    height: 40px;
    padding: 17px 16px;
    /* Button */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 114.286% */
    letter-spacing: 0.15px;
    position: relative;
    z-index: 0;
}
.free-locations-search-map .map-section .map-info .info-property {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    .form-button {
        width: 100%;
    }
}
.free-locations-search-map .map-section .map-info .info-property .address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    .address-title {
        display: flex;
        flex-direction: row;
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Body/600/Body Medium 600 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        .icon-house {
            display: flex;
            width: 16px;
            justify-content: center;
            align-items: center;
            margin-right: 5px;
        }
    }
    .address-hidden {
        height: 14px;
        width: 50%;
        border-radius: 100px;
        background: rgba(0, 48, 94, 0.15);
        margin-left: 21px;
    }
    .address-description {
        margin-left: 21px;
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Body/400/Body Medium 400 */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
}
.free-locations-search-map .map-section .map-info .extra-info.desktop {
    display: none;
}
.free-locations-search-map .map-section .map-info .extra-info.mobile {
    display: flex;
    margin-bottom: 10px;
}

.free-locations-search-map .map-section .map-info .extra-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 10px;
    .text-extra-info {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Body/400/Body Small 400 */
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px; /* 150% */
        letter-spacing: 0.25px;
        .icon-warning {
            display: flex;
            width: 16px;
            height: 16px;
            padding: 0.571px 1.714px;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
        }
    }
}

.free-locations-search-map .map-description {
    display: flex;
    flex-direction: column;
}
.free-locations-search-map .map-description .description-title {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Heading/Heading 4 */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.15px;
}

/* START OF MARKERS */
.free-locations-search-map .cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    /* border: 1px solid #fff; */

    background: linear-gradient(
            150deg,
            #fff 8.23%,
            rgba(255, 255, 255, 0) 92.59%
        ),
        #00305e;

    background-blend-mode: overlay, normal;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);

    color: #fff;
    font-feature-settings: "cv06" on, "cv04" on, "cv02" on, "cv01" on, "cv03" on,
        "cv05" on, "case" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.25px;
}

.free-locations-search-map .cluster:hover {
    cursor: pointer;
}

.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right,
.mapboxgl-ctrl-top-left,
.mapboxgl-ctrl-top-right {
    z-index: 10 !important;
}

.mapboxgl-scroll-zoom-blocker,
.mapboxgl-touch-pan-blocker {
    z-index: 9 !important;
}

.free-locations-search-map .marker,
.free-locations-search-map .marker.main {
    position: absolute;
    z-index: 6;
}

.free-locations-search-map .marker {
    width: 27px;
    height: 35px;
}

.free-locations-search-map .marker:hover {
    cursor: pointer;
}

.free-locations-search-map .marker.main {
    width: 66px;
    height: 85px;
}

.free-locations-search-map .marker.main .marker-shadow {
    filter: drop-shadow(0px 25px 33px rgba(0, 48, 94, 0.8));
}

.free-locations-search-map .marker:hover,
.free-locations-search-map .marker.main:hover {
    z-index: 7;
}

.free-locations-search-map .marker .hover-bounding-box {
    position: absolute;
    width: 27px;
    height: 35px;
    z-index: 3;
}

.free-locations-search-map .marker.main .hover-bounding-box {
    position: absolute;
    top: 12px;
    left: 4.5px;
    width: 57px;
    height: 74px;
    z-index: 3;
}

.free-locations-search-map .marker .hover-bounding-box:hover,
.free-locations-search-map .marker.active .hover-bounding-box {
    width: 33px;
    height: 43px;
    top: -18px;
    left: -12px;
    margin: 10px;
}

.free-locations-search-map .marker.main .hover-bounding-box:hover {
    width: 68px;
    height: 85px;
    top: -9px;
    left: -11px;
    margin: 10px;
}

.free-locations-search-map .marker .pin-hover {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: -5px;
    left: -8.5px;
    transition: all ease-in-out 0.2s;
}

.free-locations-search-map .marker.main .pin-hover {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: -4px;
    left: 0px;
    transition: all ease-in-out 0.2s;
}

button.marker-link {
    border: none;
    margin: 0;
    padding: 0;
    width: auto;
    overflow: visible;
    background: transparent;
    cursor: pointer;
}

.free-locations-search-map .marker .hover-bounding-box:hover ~ .pin-hover,
.free-locations-search-map .marker.active .pin-hover {
    visibility: visible;
    opacity: 1;
    transform: scale(1.1);
}

.free-locations-search-map
    .marker.main
    .hover-bounding-box:hover
    ~ .marker-shadow
    .pin-hover {
    visibility: visible;
    opacity: 1;
    transform: scale(1.1);
}

.free-locations-search-map .marker .hover-bounding-box:hover ~ .tooltip,
.free-locations-search-map .marker.active .tooltip {
    visibility: visible;
    opacity: 1;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
}

.free-locations-search-map .marker.main .hover-bounding-box:hover ~ .tooltip {
    visibility: visible;
    opacity: 1;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
}

.free-locations-search-map .marker .tooltip {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    border-radius: 3px;
    border: 0.5px solid #112537;
    background: rgba(17, 37, 55, 0.95);
    /* Default Interactive Element */
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    top: 45px;
    left: 50%;
    transform: translate(-50%);
    padding: 8px;
    color: white;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.25px;
    transition: opacity ease-in-out 0.3s;
    width: max-content;
    max-width: 16ch;
}

.free-locations-search-map .marker.main .tooltip {
    display: block;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    border-radius: 3px;
    border: 0.5px solid #112537;
    background: rgba(17, 37, 55, 0.95);
    /* Default Interactive Element */
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    top: 96px;
    left: 50%;
    transform: translate(-50%);
    padding: 8px;
    color: white;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.25px;
    transition: opacity ease-in-out 0.3s;
}
/* END OF MARKERS */

.free-locations-search-map .map-section {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    border-width: 1px;
    border-color: rgba(0, 48, 94, 0.15);
    box-shadow: (0px 8px 48px rgba(32, 35, 39, 0.02))
        drop-shadow(0px 4px 8px rgba(32, 35, 39, 0.04))
        drop-shadow(0px 0px 1px rgba(32, 35, 39, 0.16));
}

.free-locations-search-map
    > .info--header
    > .header--locations-searchbox
    > .basic-input {
    margin-bottom: 12px;
}

.free-locations-search-map
    > .info--header
    > .header--locations-searchbox
    > .vp-button {
    width: 100%;
}

.free-locations-search-map .map-section > .map {
    width: 100%;
    max-height: 299px;
    overflow: hidden;
}

.popup.job-offers-popup > .popup--content {
    display: block;
    width: 425px;
    max-height: 578px;
}

.popup.job-offers-popup > .popup--content > .title--wrapper {
    background: white;
    padding: 20px 25px;
    min-height: 0;
}

.popup.job-offers-popup > .popup--content > .title--wrapper > .title--overline {
    color: #00305e;
    font-feature-settings: "cv06" on, "cv04" on, "cv02" on, "cv01" on, "cv03" on,
        "cv05" on, "case" on;
    font-family: Inter;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.popup.job-offers-popup > .popup--content > .title--wrapper > .title--main {
    font-feature-settings: "cv06" on, "cv04" on, "cv02" on, "cv01" on, "cv03" on,
        "cv05" on, "case" on;
    font-family: Inter;
    font-style: normal;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.popup.job-offers-popup > .popup--content > .title--wrapper > .close-btn {
    right: 20px;
    top: 20px;
}

.popup.job-offers-popup > .popup--content > .content-wrapper {
    padding: 22px;
    overflow-y: auto;
    max-height: 438px;
}

.popup.job-offers-popup > .popup--content > .content-wrapper .job-link {
    display: block;
    margin-bottom: 20px;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-link:last-child {
    margin-bottom: 0px;
}

.popup.job-offers-popup > .popup--content > .content-wrapper .job-item {
    min-height: 88px;
    background: rgba(252, 252, 253, 1);
    border: 1px solid rgba(0, 48, 94, 0.15);
    border-radius: 5px;
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
    display: flex;
    padding: 12px;

    transition-property: background, border, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item
    > .job-image {
    width: 100px;
    border-radius: 3px;
    opacity: 0.85;

    transition-property: opacity;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item
    > .job-title {
    color: rgba(0, 48, 94, 0.85);
    width: 211px;
    font-feature-settings: "cv06" on, "cv04" on, "cv02" on, "cv01" on, "cv03" on,
        "cv05" on, "case" on;
    font-family: Inter;
    font-style: normal;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    margin-left: 20px;

    transition-property: color;
    transition-duration: 150ms;
    transition-timing-function: ease-in;
}

.popup.job-offers-popup > .popup--content > .content-wrapper .job-item:hover {
    background: rgba(242, 244, 247, 1);
    border: 1px solid rgba(0, 48, 94, 0.2);
    box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.12);
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item:hover
    > .job-image {
    opacity: 1;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item:hover
    > .job-title {
    color: rgba(0, 48, 94, 1);
}

.popup.job-offers-popup > .popup--content > .content-wrapper .job-item:active {
    background: rgba(217, 224, 231, 1);
    border: none;
    box-shadow: none;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item:active
    > .job-image {
    opacity: 0.75;
}

.popup.job-offers-popup
    > .popup--content
    > .content-wrapper
    .job-item:active
    > .job-title {
    color: rgba(0, 48, 94, 0.85);
}

@media (min-width: 1025px) {
    .free-locations-search-map {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 100px;
        scroll-margin-top: 130px;
    }

    .free-locations-search-map .map-section > .map {
        overflow: hidden;
    }

    .free-locations-search-map .map-section > .map {
        max-width: 1240px;
    }

    .free-locations-search-map .map-section > .map {
        /* border-radius: 0px 0px 5px 5px; */
    }
    .free-locations-search-map .map-section > .map {
        max-height: 299px;
        width: 100%;
    }
    .free-locations-search-map .services-zone-cta {
        flex-direction: row;
        .text-info {
            width: 70%;
        }
        .form-button {
            width: 30%;
            margin-top: 0px;
        }
    }

    .free-locations-search-map .services-zone-grid .score-card {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 20px;
        padding: 12px 16px 0px 16px;
        .info {
            flex-direction: column;

            .value {
                color: var(--Green, #3ea00d);
                font-family: Inter;
                font-size: 14px;
                font-weight: 600;
                line-height: 22px; /* 157.143% */
            }
            .title {
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: 22px; /* 157.143% */
            }
        }
    }

    .free-locations-search-map .map-section .map-info {
        display: flex;
        flex-direction: column;
        /* padding: 10px; */
        margin-top: 20px;
    }
    .free-locations-search-map .map-section .map-info .form-button {
        color: #fff;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;

        /* Button */
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 16px; /* 114.286% */
        letter-spacing: 0.15px;
        position: relative;
        z-index: 0;
        padding: 17px 16px;
        width: 100%;
    }
    .free-locations-search-map .map-section .map-info .info-property {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        /* gap:28px; */
        .form-button {
            width: 30%;
        }
    }
    .free-locations-search-map .map-section .map-info .info-property .address {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 80%;
        .address-title {
            display: flex;
            flex-direction: row;
            color: #00305e;
            font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
                "cv04" on, "cv05" on, "cv06" on;

            /* Body/600/Body Medium 600 */
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 22px; /* 157.143% */
            letter-spacing: 0.25px;
            .icon-house {
                display: flex;
                width: 16px;
                justify-content: center;
                align-items: center;
                margin-right: 5px;
            }
        }
        .address-hidden {
            height: 14px;
            width: 50%;
            border-radius: 100px;
            background: rgba(0, 48, 94, 0.15);
            margin-left: 21px;
        }
        .address-description {
            margin-left: 21px;
            color: #00305e;
            font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
                "cv04" on, "cv05" on, "cv06" on;

            /* Body/400/Body Medium 400 */
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 22px; /* 157.143% */
            letter-spacing: 0.25px;
        }
    }
    .free-locations-search-map .map-section .map-info .extra-info.desktop {
        display: flex;
    }
    .free-locations-search-map .map-section .map-info .extra-info.mobile {
        display: none;
    }
    .free-locations-search-map .map-section .map-info .extra-info {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin-top: 10px;
        .text-extra-info {
            color: #00305e;
            font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
                "cv04" on, "cv05" on, "cv06" on;

            /* Body/400/Body Small 400 */
            font-family: Inter;
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: 18px; /* 150% */
            letter-spacing: 0.25px;
            .icon-warning {
                display: flex;
                width: 16px;
                height: 16px;
                padding: 0.571px 1.714px;
                justify-content: center;
                align-items: center;
                flex-shrink: 0;
            }
        }
    }

    .free-locations-search-map .map-description {
        display: flex;
        flex-direction: column;
    }
    .free-locations-search-map .map-description .description-title {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        /* Heading/Heading 4 */
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 22px; /* 137.5% */
        letter-spacing: 0.15px;
    }
    .free-locations-search-map .services-zone-grid .score-card .info {
    }
}

/* END OF FREE LOCATIONS SEARCH MAP */

/* grundriss section */
#grundModal {
    padding-right: 0 !important;
}

.modal-dialog {
    max-width: 800px;
}

.modal-dialog .modal-content .modal-header h3 {
    font-size: 20px;
    padding-top: 1px;
    line-height: 23px;
    font-family: "Source Serif Pro", serif !important;
    font-weight: 500;
}
.modal-dialog .modal-content .modal-header button {
    cursor: pointer;
}
img.thumbnail.img-thumbnail {
    width: 100%;
    height: 100%;
}
/* .modal-dialog .modal-content .modal-body {  } */
.modal-dialog .modal-content .modal-footer button {
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    background-color: rgba(0, 48, 94, 0.1);
    color: #00305e;
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 3px;
    border: 0;
}
.modal-dialog .modal-content .modal-footer button:hover {
    background-color: rgba(0, 48, 94, 0.15);
}

.modal-dialog-grundModal {
    margin: 360px auto 0 auto !important;
}

.grid {
    display: grid;
    --gap: 10px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
}

.local-left {
    float: left;
    width: 45%;
}

@media (max-width: 576px) {
    .modal-dialog-grundModal {
        margin: 180px auto 0 auto !important;
    }
}

.immobilie-images-wrap {
    width: 100%;
    text-align: center;
}

.immobilie-a-image-wrap {
    width: 100%;
    text-align: center;
}

.immobilie-img {
    /* width:500px; */
    height: 335px;
    margin-top: 30px;
}

.immobilie-grundriss {
    width: 400px;
    max-height: 520px;
    margin-top: 30px;
}

.cover-img-wrap {
    width: 100%;
    text-align: center;
}

.margin-top-20 {
    margin-top: 20px;
}

.immobilie-grundriss-hinweis {
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 500px;
    font-size: 12px;
    color: #d2d2d2;
    text-align: center;
    padding: 0 100px;
}
/* END OF GRUNDRISS SECTION */

/* image gallery styles */
.gallery-button-group {
    display: flex;
    padding: 12px;
    position: absolute;
    z-index: 2;
    flex-flow: row;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    /* max-width: 314px; */
}

button.open-gallery-modal {
    border: none;
    color: white;
    background-color: transparent;
    padding: 12px;
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* text-shadow: 0px 1px 2px rgba(0, 48, 94, 0.06); */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 5px;
}

button.open-lightbox-modal {
    border: none;
    color: white;
    background-color: transparent;
    padding: 12px;
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* text-shadow: 0px 1px 2px rgba(0, 48, 94, 0.06); */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 5px;
}

button.gallery-button:hover {
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

button.zoom-button:hover {
    transform: scale(1.125); /* Zoom suave */
}

button.gallery-button:active {
    background-color: rgba(0, 48, 94, 0.25);
}

button.zoom-button:hover {
    transform: scale(1.125); /* Zoom suave */
}

.vertical-line {
    border-left: 1px solid #fff;
    width: 1px;
    height: 30px;
    padding: 12px 0px;
    background: rgba(255, 255, 255, 0.15);
}

/* Modal */
/* Gallery modal is a wrapper that contains, videos, 360 tours, ai videos, a gallery and grid view. */
/* It has two main parts, the toolbar and the content area. */
/* Reggarding the slider, we need to hide the gallery but without using display: none; */
/* Because the slider needs to calculate the available space. */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 20000;
    background-color: rgba(25, 30, 36, 0.9); /* Fondo semitransparente */
    padding: 0 18.5px;
    flex-direction: column;
    align-items: center;
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal__toolbar {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1240px;
    width: var(--toolbar-width, 100%);
    margin-top: 40px;
    margin-bottom: 20px;
}

.gallery-modal__toolbar--align-right {
    justify-content: flex-end;
}

.gallery-modal__gallery-btn {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;

    padding: 12px;
    gap: 12px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: background 0.2s;
    line-height: 1;

    /* Interactive Element */
    text-shadow: 0 1px 2px rgba(0, 48, 94, 0.06);
    /* Body/600/Body Medium 600 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.25px;
}

@media (max-width: 1024px) {
    .gallery-modal__gallery-btn {
        display: none;
    }

    .gallery-modal__toolbar {
        justify-content: flex-end;
    }
}

.gallery-modal__gallery-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.gallery-modal__gallery-btn--hidden {
    display: none;
}

.gallery-modal__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.gallery-modal__close-btn:hover {
    opacity: 0.75;
}

.gallery-modal__close-btn:active {
    opacity: 0.25;
}

.gallery-modal__content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    /* align-items: center; */
    justify-content: center;
    min-height: 0;
    /* overflow: hidden; */
    width: 100%;
}

.gallery-modal__content--grid-mode .gallery-grid-view {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.gallery-modal__content--grid-mode .slider-view,
.gallery-modal__content--grid-mode .video-agent {
    display: none;
}

.gallery-modal__content--slider-mode .gallery-modal__toolbar {
    width: var(--toolbar-width, 100%);
}

.gallery-modal__content--slider-mode .slider-view {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.gallery-modal__content--slider-mode .video-agent {
    display: none;
}

.gallery-modal__content--agent-video-mode .video-agent {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.gallery-modal__content--agent-video-mode .slider-view,
.gallery-modal__content--agent-video-mode .gallery-grid-view {
    display: none;
}

.gallery-modal__content--tour-mode {
}
.gallery-modal__content--ai-mode {
}
.gallery-modal__content--yt-mode {
}

/* SLIDER MODE START */

.slider-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    min-height: 0;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slider-view__carousel {
    display: flex;
    justify-content: center;
    width: 100vw;
    min-height: 0;
    gap: 40px;
    position: relative;
    max-height: 826px;
    aspect-ratio: 1240 / 826;
}

.slider-view__carousel-controls {
    position: absolute;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 1240px) {
    .slider-view__carousel-controls {
        padding: 0px 18.5px;
    }
}

.slider-view__carousel-controls-center {
    pointer-events: none;
    justify-content: space-between;
    display: flex;
    max-width: 1240px;
    width: var(--toolbar-width, 100%);
}

.slider-view__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* padding: 0px 20px; */
    flex-shrink: 0;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 20px;
    z-index: 2;
}

.slider-view__main-image {
    max-width: 100%;
    max-height: 100%;
    /* width: 1240px; */
    height: 826px;
    object-fit: cover;
    aspect-ratio: 1240 / 826;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(32, 35, 39, 0.08),
        0 4px 48px 0 rgba(32, 35, 39, 0.08);
    position: relative;
}

.slider-view__interaction-layer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.swiper-slide.swiper-slide-active
    .slider-view__main-image
    .slider-view__interaction-layer {
    display: none;
}

.slider-view__main-image--center {
}

.slider-view__main-image--left {
    opacity: 0.5;
    cursor: pointer;
}

.slider-view__main-image--right {
    opacity: 0.5;
    cursor: pointer;
}

.slider-view__iframe {
    border-radius: 5px;
    background: black;
}

.slider-view__main-section {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1240 / 826;
    position: relative;
}

.slider-view__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    margin-bottom: 40px;
    margin-top: 20px;
}

.slider-view__title-text {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.25px;
}

.slider-view__counter {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
}

.slider-view__thumbnail-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.slider-view__prev-btn,
.slider-view__next-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--thumbnail-btn-width);
    height: var(--thumbnail-btn-height);
}

.slider-view__prev-btn svg,
.slider-view__next-btn svg {
    opacity: 0.5;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-view__next-btn--disabled,
.slider-view__prev-btn--disabled {
    display: none;
}

.slider-view__prev-btn {
    margin-right: var(--thumbnail-btn-margin-right);
}

.slider-view__prev-btn:hover svg {
    transform: translateX(-5px);
    opacity: 1;
}

.slider-view__next-btn:hover svg {
    transform: translateX(5px);
    opacity: 1;
}

@media (pointer: coarse) and (hover: none) {
    .slider-view__prev-btn svg,
    .slider-view__next-btn svg {
        transform: none;
        opacity: 0.5;
    }
}

@media (pointer: coarse) and (hover: none) {
    .slider-view__prev-btn,
    .slider-view__next-btn {
        transform: none;
    }
}

.slider-view__next-btn {
    margin-left: var(--thumbnail-btn-margin-left);
}

@media (max-width: 1024px) {
    .slider-view__prev-btn,
    .slider-view__next-btn {
        display: none;
    }
}

.slider-view__static-thumbnails {
    display: flex;
}

@media (max-width: 1024px) {
    .slider-view__static-thumbnails {
        display: none;
    }
}

.slider-view__static-thumbnails--empty {
    display: none;
}

.slider-view__dynamic-thumbnails {
    display: flex;
    width: 100%;
}

@media (max-width: 1024px) {
    .slider-view__dynamic-thumbnails {
    }
}

.slider-view__dynamic-thumbnails .swiper-wrapper {
    width: auto;
}

.slider-view__dynamic-thumbnails .swiper-slide {
    width: auto;
}

.slider-view__dynamic-thumbnails .swiper-slide--show-in-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .slider-view__dynamic-thumbnails .swiper-slide--show-in-mobile {
        display: flex;
    }
}

.slider-view__thumbnail-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: outline-color 0.2s, box-shadow 0.2s;
    margin-inline: var(--thumbnail-padding);
}

.slider-view__thumbnail-hidden-overflow {
    overflow: hidden;
    border-radius: 3px;
    transition: outline-color 0.2s;
    outline: 2px solid transparent;
}

.slider-view__thumbnail-item:hover .slider-view__thumbnail-hidden-overflow {
    outline-color: rgba(255, 255, 255, 0.25);
}

.slider-view__thumbnail-item--active .slider-view__thumbnail-hidden-overflow,
.slider-view__thumbnail-item:hover.slider-view__thumbnail-item--active
    .slider-view__thumbnail-hidden-overflow {
    outline-color: rgba(255, 255, 255, 1);
}

.slider-view__thumbnail-tooltip {
    display: none;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.85);
    position: absolute;
    top: -44px;
    width: max-content;
}

:root {
    --thumbnail-width: 73px;
    --thumbnail-height: 49px;
    --thumbnail-border-width: 0px;
    --thumbnail-padding: 6px;

    --thumbnail-btn-width: 32px;
    --thumbnail-btn-height: 32px;
    --thumbnail-btn-margin-left: 16px;
    --thumbnail-btn-margin-right: 16px;
}

.slider-view__thumbnail-image,
.slider-view__thumbnail-overlay-container {
    width: var(--thumbnail-width);
    height: var(--thumbnail-height);
    flex-shrink: 0;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.75;
    border-radius: 3px;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.slider-view__thumbnail-item:hover .slider-view__thumbnail-image,
.slider-view__thumbnail-item--active .slider-view__thumbnail-image,
.slider-view__thumbnail-item:hover .slider-view__thumbnail-overlay-container,
.slider-view__thumbnail-item--active .slider-view__thumbnail-overlay-container {
    opacity: 1;
}

.slider-view__thumbnail-overlay-container {
    position: relative;
}

.slider-view__thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: #01264bbf;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
}

.slider-view__main-carousel .swiper-wrapper {
    max-height: 826px;
}

.slider-view__main-carousel .swiper-slide {
    aspect-ratio: 1240 / 826;
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(826px, 100%);
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.slider-view__main-carousel .swiper-slide {
    aspect-ratio: 1240 / 826;
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 1240px;
    max-height: min(826px, 100%);
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.slider-view__main-carousel .swiper-slide-active {
    opacity: 1;
    cursor: default;
}

.slider-view__main-carousel .swiper-slide-prev {
    opacity: 0.5;
    cursor: pointer;
}

.slider-view__main-carousel .swiper-slide-next {
    opacity: 0.5;
    cursor: pointer;
}

.slider-view__carousel-arrow-prev {
    pointer-events: auto;
}

.slider-view__carousel-arrow-next {
    pointer-events: auto;
}

.slider-view__carousel-arrow-next svg,
.slider-view__carousel-arrow-prev svg {
    opacity: 0.5;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-view__carousel-arrow-next:hover svg {
    opacity: 1;
    transform: translateX(5px);
}

.slider-view__carousel-arrow-prev:hover svg {
    opacity: 1;
    transform: translateX(-5px);
}

@media (pointer: coarse) and (hover: none) {
    .slider-view__carousel-arrow-next svg,
    .slider-view__carousel-arrow-prev svg {
        transform: none;
        opacity: 0.5;
    }
}

.slider-view__main-carousel.swiper {
    margin-inline: 0px;
    width: 100%;
}

@media (max-width: 1240px) {
    .slider-view__main-carousel .swiper-slide {
        aspect-ratio: 1240 / 826;
        max-width: 100%;
        /* width: 100%; */
    }

    .slider-view__main-carousel.swiper {
        padding: 0 18.5px;
    }
}

.a11y-tooltip {
    position: fixed;
    /* fuera del flujo y del overflow del slider */
    z-index: 20001;
    max-width: min(320px, 90vw);
    transform: translate(-50%, -100%);
    /* arriba, centrado */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease, transform 0.12s ease;

    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 12px;

    color: #fff;

    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    /* Body/400/Body Medium 400 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    /* 157.143% */
    letter-spacing: 0.25px;
    text-align: center;
}

.a11y-tooltip[data-show="true"] {
    opacity: 1;
}

.a11y-tooltip[data-placement="bottom"] {
    transform: translate(-50%, 0);
    /* si no cabe arriba */
}

/* helper opcional */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

.slider-view__carousel-dots {
    width: calc(
        (var(--dots-width) + (var(--dots-horizontal-margin) * 2)) *
            var(--dots-quantity)
    );
}

.slider-view__interaction-bullet-layer {
    overflow: hidden;
    width: 100%;
}

.slider-view__bullet-list {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: -2.5px;
    transition: transform 0.3s ease;
    will-change: transform;
    height: 25px;
}

.slider-view__bullet-list--center {
    justify-content: center;
    margin-left: 0;
}

.slider-view__bullet-list .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 2.5px !important;
    background: white;
    opacity: 0.5;
    box-shadow: none;
    flex-shrink: 0;
}

.slider-view__bullet-list
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1;
}

/* SLIDER MODE END */

/* GALLERY GRID VIEW MODE START */

.gallery-grid-view {
    width: 100%;
    height: 100%;
    max-width: 1240px;
    max-height: 75vh;
    overflow-y: auto;
    scrollbar-width: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-grid-view--hidden {
    display: none;
}

.gallery-grid-view::-webkit-scrollbar {
    display: none;
}

.gallery-grid-view__content {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px 40px;
    align-self: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    aspect-ratio: 386.67 / 290;
    gap: 12px;
    width: 100%;
    max-width: min-content;
}

.gallery-item--static-element {
}

.gallery-item__image-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    border-radius: 5px;
}

.gallery-item__image--dynamic,
.gallery-item__image--static {
    width: auto;
    height: 257.778px;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 386.67 / 257.78;
    /* filter: brightness(0.75); */
    transition: filter 0.2s, box-shadow 0.2s;
    object-fit: cover;
}

.gallery-item__image-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            50% 50% at 50% 50%,
            rgba(78, 115, 244, 0.17) 0%,
            rgba(78, 115, 244, 0.15) 100%
        ),
        linear-gradient(
            0deg,
            rgba(25, 30, 36, 0.3) 0%,
            rgba(25, 30, 36, 0.3) 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    z-index: 2;
}

.gallery-item__image-overlay:hover,
.gallery-item__image--dynamic:hover {
    filter: brightness(0.6);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.gallery-item__image-overlay:hover .gallery-item__image-icon {
    filter: brightness(1);
}

.gallery-item__description {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex: 1 0 auto;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.85);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    text-overflow: ellipsis;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    gap: 12px;
    /* 157.143% */
    letter-spacing: 0.25px;
}

.gallery-item__number {
    font-weight: 500;
}

/* GALLERY GRID VIEW MODE END */

/* VIDEO AGENT MODE START */

.video-agent {
    display: flex;
    width: auto;
    height: auto;
    max-width: 1240px;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    flex-grow: 1;
    flex-shrink: 1;
    border-radius: 5px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-agent__wrapper {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
}

/* VIDEO AGENT MODE END */

/* Übersicht SECTION START */
#ubersicht h4 {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 137.5% */
    letter-spacing: 0.15px;
    margin: 40px 0 20px 0;
}

.equipment-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0px 0 20px;
}

.equipment-item {
    background-color: rgba(0, 48, 94, 0.1);
    border-radius: 100px;
    padding: 6px 12px;
    color: #00305e;
    text-align: center;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 157.143% */
    letter-spacing: 0.25px;
}

.info-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-group .info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 48, 94, 0.15);
}

.info-row .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 48, 94, 1);
}

.info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 2px;
}

#CookiebotWidget {
    z-index: 999 !important;

    @media (max-width: 1024px) {
        margin-left: 12px !important;
    }
}

.info-text p {
    margin: 0;
    padding: 0;
}

.label {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.25px;
}

.value {
    color: rgba(0, 0, 0, 0.85);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

@media (max-width: 1024px) {
    .info-group {
        grid-template-columns: 1fr;
    }
}

/* energy scale */

.scale-field {
    align-items: center;
}

.value .energy-bar {
    margin-top: 4px;
}

.energy-bar {
    width: 100%;
    padding: 6px 0;
}

.scale-bar-wrapper {
    position: relative;
    width: 100%;
}

.scale-bar {
    display: flex;
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 100px;
    overflow: visible;
    background: linear-gradient(
        90deg,
        #41af4e 0%,
        #c8e13f 23.44%,
        #f5c310 49.48%,
        #e8710f 74.48%,
        #d9120e 100%
    );
}

.scale-segment:first-child {
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    border-right: none;
}
.scale-segment:last-child {
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-left: none;
}

.scale-segment {
    flex: 1;
    height: 100%;
    border-left: 0.5px solid rgba(255, 255, 255, 0.5);
    border-right: 0.5px solid rgba(255, 255, 255, 0.5);
    box-sizing: border-box;
}

.scale-indicator {
    position: absolute;
    top: -6px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.indicator-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: 0 0 0 2px #fff;
}

@media (max-width: 1024px) {
    .energy-bar {
        width: 100%;
    }
}

/* START modal certificate energy  to Spain */

.energy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2001;
}
.energy-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
}
.energy-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    max-width: fit-content;
    width: 100%;
    min-width: 0;
    min-height: 0;
    z-index: 10000;
    overflow: visible;
    padding: 0;
    /* Para evitar scroll lateral */
    box-sizing: border-box;
}
.energy-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* padding: 8px 16px 20px 16px; */
}
.energy-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 20px;
    padding: 0px;
    svg {
        width: 16px;
        height: 16px;
        opacity: 0.75;
        filter: drop-shadow(0 1px 2px rgba(0, 48, 94, 0.06));
    }
    svg:hover {
        opacity: 1;
    }
    svg:active {
        opacity: 0.2;
    }
}

@media (max-width: 900px) {
    .energy-modal-content {
        max-width: 100vw;
        width: 100vw;
        min-width: 0;
        border-radius: 0;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .certificate-image {
        max-width: 100%;
        img {
            width: -webkit-fill-available;
            height: auto;
        }
    }
}
@media (max-width: 600px) {
    .energy-modal-content {
        max-width: 100vw;
        width: 100vw;
        min-width: 0;
        border-radius: 0;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .energy-modal-header {
        /* padding: 2px 8px; */
    }
}
.energy-modal-close svg line {
    stroke: #000 !important;
}

.energy-label-es {
    color: rgba(0, 0, 0, 0.85);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;
    transition: color 0.2s;
    cursor: pointer;
}
.energy-label-es:hover {
    color: #4e73f4;
}
.energy-label-es:hover .energy-label path {
    stroke: #4e73f4 !important;
}
/* END modal certificate energy  to Spain */

/* START OF FINANCE STYLES */
.finance-section .finance-title {
    color: #00305e;
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on, "cv09" on;
    font-family: "Source Serif 4";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 33px */
    letter-spacing: 0.25px;
}
.finance-section.finance-subtitle {
    color: rgba(0, 0, 0, 0.85);
    font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on, "cv04" on,
        "cv05" on, "cv06" on;

    /* Body/400/Body Medium 400 */
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.25px;
}

.finance-section #resultSection .total-text {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    align-items: center;
    height: 23px;
    flex-shrink: 0;
    .left-bar {
        margin-top: 18px;
        width: 30%;
        height: 18px;
        flex-shrink: 0;
        border-radius: 100px 0px 0px 0px;
        border-top: 1px solid rgba(0, 48, 94, 0.15);
        border-left: 1px solid rgba(0, 48, 94, 0.15);
    }
    .right-bar {
        margin-top: 18px;
        width: 30%;
        height: 18px;
        flex-shrink: 0;
        border-radius: 0px 100px 0px 0px;
        border-top: 1px solid rgba(0, 48, 94, 0.15);
        border-right: 1px solid rgba(0, 48, 94, 0.15);
    }
    .text-title {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
        letter-spacing: 0.25px;
        margin: 0px 5px;
    }
}
.finance-section #resultSection .bar-container {
    background-color: #e0e6ed;
    border-radius: 20px;
    height: 18px;
    display: flex;
    overflow: hidden;
    margin: 20px 0px 24px 0px;
    flex-shrink: 0;
    /* border-radius: 100px 0px 0px 100px; */
    /* background: #00305E; */
}
.finance-section #resultSection .details {
    display: flex;
    flex-direction: column;
    width: 100%;
    .cost-item {
        display: flex;
        flex-flow: row;
        align-items: baseline;
        border-bottom: 1px solid rgba(0, 48, 94, 0.15);
        justify-content: space-between;
    }
    .color-dot {
        margin-top: 5px;
        width: 11px;
        height: 11px;
        border-radius: 2px;
        margin-right: 8px;
    }
}
.finance-section #resultSection .info {
    display: flex;
    flex-direction: row;
    margin: 16px 0px;
    .value-name {
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
    .value-amount {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
    .value-percent {
        color: rgba(0, 0, 0, 0.5);
        font-variant-numeric: lining-nums tabular-nums;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 21px; /* 175% */
        letter-spacing: 0.25px;
    }
}

.segment.active-segment {
    transform: scaleX(1.25) scaleY(1.2); /* Zoom horizontal y vertical */
    z-index: 2;
    transition: transform 0.2s, filter 0.2s;
    filter: brightness(1.1);
}

.segment.inactive-segment {
    filter: grayscale(1) brightness(0.8);
    transition: filter 0.2s, transform 0.2s;
    z-index: 1;
}

/* Detalles inactivos (gris) */
.cost-item.inactive-detail {
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.2s, filter 0.2s;
}

.finance-section .finance-info {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 5px;
    border: 1px solid rgba(0, 48, 94, 0.15);
    background: #fff;
    margin-bottom: 40px;
    /* justify-content: space-between; */
    .horizontal-line {
        display: none;
        width: 1px;
        height: 110px;
        background: rgba(0, 48, 94, 0.15);
    }
    .suitable-financing-partners {
        display: flex;
        flex-direction: column;
        width: 100%;
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        border-bottom: 1px solid rgba(0, 48, 94, 0.15);
        padding-bottom: 20px;
        .title-subsection {
            font-weight: 500;
            margin-bottom: 16px;
        }
        div {
            font-weight: 400;
        }
    }
    .average-market-data {
        display: flex;
        flex-direction: column;
        width: 100%;
        color: #00305e;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
        .result-finance {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        }
        .title-subsection {
            margin-bottom: 16px;
        }
        .monthly-rate {
            display: flex;
            flex-direction: row;
            width: 100%;
            padding: 12px 16px;
            justify-content: space-between;
            align-items: center;
            border-radius: 5px;
            border: 1px solid rgba(0, 48, 94, 0.15);
            box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.06);
            .data {
                display: flex;
                flex-direction: column;
            }
        }
        .interest-rate {
            display: flex;
            flex-direction: column;
            width: 100%;
            padding: 12px 16px;
        }
        .monthly-rate,
        .interest-rate {
            .title {
                color: #00305e;
                font-feature-settings: "case" on, "cv01" on, "cv02" on,
                    "cv03" on, "cv04" on, "cv05" on, "cv06" on;
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 500;
                line-height: 22px; /* 157.143% */
                letter-spacing: 0.25px;
            }
            .value {
                color: rgba(0, 0, 0, 0.85);
                font-feature-settings: "case" on, "cv01" on, "cv02" on,
                    "cv03" on, "cv04" on, "cv05" on, "cv06" on;
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 22px; /* 157.143% */
                letter-spacing: 0.25px;
            }
        }
    }
}
.finance-section .text-info-finance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    .services-zone-cta-text {
        color: rgba(0, 0, 0, 0.85);
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px; /* 157.143% */
        letter-spacing: 0.25px;
    }
    .form-button-finance {
        width: 100%;
        margin-top: 28px;
        color: #fff;
        font-feature-settings: "case" on, "cv01" on, "cv02" on, "cv03" on,
            "cv04" on, "cv05" on, "cv06" on;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 16px; /* 114.286% */
        letter-spacing: 0.15px;
        display: flex;
        height: 48px;
        padding: 17px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        align-self: stretch;
    }
    .form-button-finance:hover {
        background-color: var(--vp-primary-dark);
        box-shadow: 0px 2px 3px rgba(0, 48, 94, 0.24);
        color: #fff;
    }
}
@media (min-width: 1025px) {
    .finance-section #resultSection .total-text {
        display: flex;
        flex-direction: row;
        /* width: 840px; */
        height: 53px;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
        padding: 50px 0px;
        .right-bar {
            width: 38%;
        }
        .left-bar {
            width: 37%;
        }
    }
    .finance-section #resultSection .info {
        display: flex;
        flex-direction: column;
        margin-bottom: 40px;
    }
    .finance-section #resultSection .details {
        margin: 40px 0px;
        flex-direction: row;
        width: 100%;
        height: 53px;
        justify-content: space-between;
        align-items: center;
        .cost-item {
            border-bottom: none;
            display: flex;
            flex-flow: row;
            align-items: baseline;
            justify-content: space-between;
            padding: 12px 0px;
            .color-dot {
                width: 11px;
                height: 11px;
            }
        }
    }

    .finance-section .finance-info {
        flex-direction: row;
        gap: 40px;
        .horizontal-line {
            display: block;
        }
        .suitable-financing-partners {
            flex-direction: column;
            width: 50%;
            border-bottom: none;
            padding-bottom: 0px;
        }
        .average-market-data {
            display: flex;
            flex-direction: column;
            width: 50%;
        }
    }
    .finance-section .text-info-finance {
        flex-direction: row;
        gap: 80px;
        .form-button-finance {
            width: auto;
            margin-top: 0px;
        }
    }
}
/* END OF FINANCE STYLES */

/* START OF CONTACT BUTTON MOBILE STICKY STYLES */

.fix-mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    height: 160px;
    padding: 84px 16px 28px 22px;
    align-items: center;
    flex-shrink: 0;
    z-index: 50;
    width: 100%;
    gap: 6px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 15.94%,
        rgba(255, 255, 255, 0.95) 64.69%
    );
    .fix-mobile-footer-btn.right {
        display: flex;
        height: 48px;
        width: 48px;
        padding: 17px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 5px;
        border: 1px solid rgba(0, 48, 94, 0.15);
        background: #fff;
        box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.16);
    }
    .fix-mobile-footer-btn.left {
        display: flex;
        height: 48px;
        padding: 17px 16px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex: 1 0 0;
        border-radius: 5px;
        background: #4e73f4;
        box-shadow: 0px 1px 2px 0px rgba(0, 48, 94, 0.16);
    }
}

@media (max-width: 1024px) {
    .fix-mobile-footer {
        display: inline-flex;
        transition: opacity 0.4s ease;
    }
}
/* END OF CONTACT BUTTON MOBILE STICKY STYLES */

.link-to-login {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.icon-to-login {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex-shrink: 0;
}

.card-agent-video-manager {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    overflow: hidden;

    .card-agent-video-manager-wrapper__overlay {
        inset: 0;
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
            .card-agent-video-manager-wrapper__overlay__play-btn.hidden {
                opacity: 1;

                &.icon-pause.visible {
                    display: block;
                }
            }
        }

        .card-agent-video-manager-wrapper__overlay__play-btn {
            all: unset;
            cursor: pointer;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(1.5px);
            transition: all 0.15s ease-in-out;

            .icon {
                display: block;
                width: 18px;
                height: 18px;
                flex-shrink: 0;

                &.hidden {
                    display: none;
                }
            }

            &.hidden {
                opacity: 0;
            }

            &:hover {
                background-color: rgba(0, 0, 0, 0.7);
            }

            &:active {
                background-color: rgba(0, 0, 0, 0.7);
            }
        }

        &.disabled {
            display: none;
        }
    }
}

/* Floating video start */

.floating-video {
    position: fixed;
    z-index: 20001;
    cursor: grab;
    transition: all 0.5s ease-out;
    top: calc(100% - 70px - 300px);
    left: -450px;
    /* aspect-ratio: 9 / 16; */
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    /* width: 300px; */

    width: 200px;
    height: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* When video layer is entering */
.floating-video--entering {
}

/* When the video layer is visible */
.floating-video--visible {
}

/* When the video is ready to play */
.floating-video--ready {
}

/* When the video is playing */
.floating-video--is-playing {
}

/* When the video is paused */
.floating-video--paused {
}

/* When the video has ended */
.floating-video--ended {
}

/* When video layer is leaving */
.floating-video--exiting {
}

.floating-video--dragging {
    cursor: grabbing;
}

.floating-video--no-transition {
    transition: none;
}

.floating-video__frame {
    height: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    /* left: -84px; */
    left: -46px;
}

.floating-video__controls-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.floating-video__controls-overlay:hover {
}

.floating-video__top-controls {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.floating-video__center-controls {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-video--is-playing .floating-video__center-controls {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.floating-video--hovering.floating-video--is-playing
    .floating-video__center-controls {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.floating-video__bottom-controls {
    width: 100%;
}

.floating-video__top-controls,
.floating-video__bottom-controls {
    height: 47px;
}

.floating-video__top-controls,
.floating-video__center-controls,
.floating-video__bottom-controls {
    /* border: 1px solid white; */
}

.floating-video__close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
    padding: 15px;
    width: 47px;
    height: 47px;
    color: white;
}

.floating-video__close-btn-icon {
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.floating-video__close-btn:hover .floating-video__close-btn-icon {
    opacity: 1;
}

@media (pointer: coarse) and (hover: none) {
    .floating-video__close-btn:hover .floating-video__close-btn-icon {
        opacity: 0.5;
    }

    .floating-video__close-btn:active .floating-video__close-btn-icon {
        opacity: 1;
    }
}

.floating-video__ai-label {
    position: absolute;
    background-color: #002a55;
    width: 85px;
    height: 22px;
    right: 0;
    bottom: 16px;
    opacity: 1;
    border-radius: 5px 0px 0px 5px;
    color: white;
    text-align: left;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1;
    font-family: Inter;
    display: flex;
    align-items: center;
}

.floating-video__video {
    pointer-events: none;
}

.floating-video__play-pause-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    color: white;
}

.floating-video__play-pause-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

@media (pointer: coarse) and (hover: none) {
    .floating-video__play-pause-btn:hover {
        background: rgba(0, 0, 0, 0.25);
    }
}

.floating-video__play-pause-btn:active {
    background: rgba(0, 0, 0, 0.45);
    box-shadow: none;
}
/* Floating video end */
