    /* Ocultamos el checkbox real */
    .gt-check {
        display: none;
    }

    /* Botón estilizado */
    .gt-check-label {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        border: 2px solid #af7634;
        outline: none !important;
        background-color: #ffffff; /* antes: $gt-theme-color */
        color: #000000;
        font-weight: 500;
        font-family: "Barlow", sans-serif;
        padding: 14px 30px;
        transition: 500ms;
        text-transform: uppercase;
        font-size: 16px;
        line-height: 1;
        position: relative;
        overflow: hidden;
        text-align: center;
        z-index: 1;
        border-radius: 0.375rem;
    }

    /* Animación estilo your template */
    .gt-check-label::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        color: #ffffff;
        background-color: #af7634; /* antes: $gt-header-color */
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    /* Hover */
    .gt-check-label:hover::before {
        color: #ffffff;
        height: 550%;
    }

    /* --------- ESTADO ACTIVADO ----------- */
    .gt-check:checked + .gt-check-label {
        color: #ffffff;
        background-color: #af7634;
    }

    /* Activo → animación aplicada */
    .gt-check:checked + .gt-check-label::before {
        height: 550%;
    }

    /* Puedes agregar borde cuando está seleccionado */
    .gt-check:checked + .gt-check-label {
        box-shadow: inset 0 0 0 2px #fff;
    }


.gt-theme-btn-outline {
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    border: 2px solid #AF7634;   /* <-- borde del outline */
    outline: none !important;
    background-color: transparent;       /* <-- fondo transparente */
    color: #000000;              /* <-- color de texto del outline */
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    padding: 5px 10px;
    transition: 500ms;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        background-color: #AF7634; /* <-- color que rellena al hacer hover */
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    &:hover {
        color: #fff;                     /* <-- texto blanco cuando se rellena */
        border-color: #AF7634;   /* mantiene borde */
        &::before {
            height: 550%;               /* animación de relleno */
        }
    }
}

.gt-theme-btn-outline-sec-tit {

    display: inline-flex;                 /* clave */
    align-items: center;                  /* centra vertical */
    justify-content: center;              /* centra horizontal */

    vertical-align: middle;
    -webkit-appearance: none;
    border: 2px solid #AF7634;   /* <-- borde del outline */
    outline: none !important;
    background-color: #ffffff;       /* <-- fondo transparente */
    color: #000000;              /* <-- color de texto del outline */
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    padding: 5px 50px;
    transition: 500ms;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        background-color: #000000; /* <-- color que rellena al hacer hover */
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    &:hover {
        color: #fff;                     /* <-- texto blanco cuando se rellena */
        border-color: #AF7634;   /* mantiene borde */
        &::before {
            height: 550%;               /* animación de relleno */
        }
    }
}

.gt-theme-btn-alt-tit {
    display: inline-flex;                 /* clave */
    align-items: center;                  /* centra vertical */
    justify-content: center;              /* centra horizontal */
    vertical-align: middle;
    -webkit-appearance: none;
    border: none;
    outline: none !important;
    background-color: #AF7634;
    color: #fff;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    padding: 5px 50px;
    transition: 500ms;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        background-color: #1C1C1C;
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    &:hover {
        &::before {
            height: 550%;
        }
    }
}

.gt-theme-btn-outline-sec {
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    border: 2px solid #AF7634;   /* <-- borde del outline */
    outline: none !important;
    background-color: #ffffff;       /* <-- fondo transparente */
    color: #000000;              /* <-- color de texto del outline */
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    padding: 5px 10px;
    transition: 500ms;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        background-color: #000000; /* <-- color que rellena al hacer hover */
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    &:hover {
        color: #fff;                     /* <-- texto blanco cuando se rellena */
        border-color: #AF7634;   /* mantiene borde */
        &::before {
            height: 550%;               /* animación de relleno */
        }
    }
}

.gt-theme-btn-alt {
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    border: none;
    outline: none !important;
    background-color: #AF7634;
    color: #fff;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    padding: 5px 10px;
    transition: 500ms;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
    border-radius: 4px;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -16px;
        z-index: -1;
        right: 0;
        bottom: 0;
        width: 130%;
        height: 0%;
        margin: auto;
        transform: rotate(-45deg);
        color: #fff;
        background-color: #1C1C1C;
        transition: 700ms cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }

    &:hover {
        &::before {
            height: 550%;
        }
    }
}


    /* Contenedor principal que envuelve panel y mapa */
    .map-wrapper {
    position: relative;      /* IMPORTANTE: para usar posicionamiento absoluto */
    height: 65vh;           /* o 70%, lo que quieras */
    width: 100%;
    overflow: hidden;        /* evita barras raras */
    }

    /* Panel lateral */
    #panel-info {
    position: absolute;
    top: 20px;               /* separación superior */
    left: 20px;              /* separación izquierda */
    width: 320px;
    max-height: 90%;         /* evita desbordes */
    overflow-y: auto;

    background: rgba(255,255,255,0.94);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    z-index: 999;
    }

    /* Mapa */
    #map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    }

.scrollbus {
    max-height: 60vh; /* Ajusta según tu diseño */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

/* Scrollbar estilizado (Webkit) */
.scrollbus::-webkit-scrollbar {
    width: 8px;
}

.scrollbus::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollbus::-webkit-scrollbar-thumb {
    background: #c0a178; /* tono similar a #AF7634 */
    border-radius: 4px;
}

.scrollbus::-webkit-scrollbar-thumb:hover {
    background: #af7634;
}

    .btn-ruta {
        display: block;
        margin-bottom: 10px;
        padding: 10px;
        background: #007bff;
        color: white;
        border-radius: 6px;
        text-align: center;
        cursor: pointer;
        font-size: 15px;
    }

    .btn-ruta:hover { background: #0056c7; }

    .card {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .card img {
        width: 100%;
        border-radius: 6px;
        margin-bottom: 6px;
    }

    #finalMsg {
        background: #ffe7c4;
        padding: 12px;
        border-radius: 6px;
        margin-top: 10px;
        display: none;
    }

    .start-92 {
        left: 90% !important
    }

.card-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Capa oscura encima de la imagen */
.card-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(201, 199, 199, 0.4);
    z-index: 1;
}

/* Contenido visible encima del overlay */
.card-overlay .content {
    position: relative;
    z-index: 2;
}

/* Elevación tipo tarjeta 3D */
.card-overlay:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 20px 40px rgba(0,0,0,0.4);
}

.gallery-wrapper {
    position: relative;
    /* overflow: hidden; */
}

.galeria-wrapper {
    height: 60vh;      /* igual que tú definiste en el inline style */
    width: 100%;        /* usa el width que quieras: en tu caso era 100% */
    max-width: 100%;
    overflow-y: auto;  /* <-- aquí va el scroll */
    overflow-x: hidden;
    padding-right: 10px; /* espacio para el scrollbar, evita solapamientos */
    padding-top: 50px;
}

/* Fondo transparente negro */
.gallery-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0,0,0,0.1); /* transparencia */
    /* backdrop-filter: blur(1px);  efecto glass opcional */
    z-index: 20;
    opacity: 1;
    transition: opacity .3s ease, visibility .3s;
}

/* Oculto inicialmente */
.gallery-overlay.hidden {
    opacity: 0;
    pointer-events: none;
     visibility: hidden;
}

/* Contenido */
.overlay-content {
    color: #fff;
    background: rgba(0,0,0,0.75);
    padding: 20px;
    border-radius: 10px;
}

.floating-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 60;
    padding: 8px 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.masonry {
    width: 100%;
}

.item {
    width: 33.33%;
    padding: 5px;
}

.masonry img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.masonry .item video {
    display: block;
    width: 100%;
    height: auto;  /* Mantiene la proporción original */
    border-radius: 6px;
}

/* Panel flotante */
.floating-panel {
    position: absolute;
    top: 2%;
    left: 1%;
    width: 96%;
    background: rgba(0,0,0,0.75);
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    z-index: 50;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Contenido */
.floating-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Botón flotante */
/*.floating-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 60;
    padding: 8px 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}*/