html,
body {
    margin: 0;
    padding: 0;
}

.centerall {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

body {
    font-family: 'Source Sans Pro', sans-serif !important;
    hyphens: auto;
}

body a {
    text-decoration: none;
    color: inherit;
}

html,
body {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    /* Para Firefox */
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* SEO */
.seo {
    text-indent: -9999px;
    height: 0px;
    margin: 0;
    padding: 0;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

/* Nuevos viajes */
.label {
    background-color: #fa6420;
    padding: 13px;
    color: white;
    border-radius: 15px;
}

/* Carrusel */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next,
.carousel:focus .carousel-control-prev,
.carousel:focus .carousel-control-next {
    opacity: 1;
}

/* Muy pronto */
.modalsoon {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modalsoon-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 20px;
    box-sizing: border-box;
    text-align: center;
}

.modalsoon.show {
    display: flex;
}

#modalsoonText {
    margin: 0;
    font-size: 17px;
}

#modalsoonClose {
    background-color: #4CAF50;
    color: white;
    padding: 5px 0;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 16px;
    align-self: center;
    margin-top: 10px;
    width: 90px;
}

#modalsoonClose:hover {
    background-color: #45a049;
}

/* Ocultación al scroll */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content {
    padding-top: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010;
}


/* Ajustes para la hoja */
.leaf-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* Ajustes para la imagen de la hoja */
#animated-leaf {
    display: block;
    width: 170px;
    height: auto;
    margin: 0 auto;
}

/* Media query para pantallas móviles */
@media (max-width: 689px) {
    .leaf-container {
        margin-top: 0px;
    }

    #animated-leaf {
        width: 120px;
        margin: 0 auto;
    }
}


.cabecera {
    position: fixed;
    top: 20;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.container {
    position: relative;
    z-index: 1;
    margin-top: 250px;
    overflow: visible;
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 410px;
    background-color: white;
    z-index: 1009;
}

#mask-short {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-color: white;
    z-index: 1009;
}

@media (max-width: 689px) {
    #mask {
        height: 270px;
    }

    #mask-short {
        height: 190px;
    }

    .container {
        margin-top: 165px;
    }
}


/* Imagenes */
.imagenesitinerario {
    border-radius: 20px;
    width: 100% !important;
    height: auto !important;
    margin-top: 40px;
    max-width: 800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.imagenYogananda {
    border-radius: 20px;
    width: 60% !important;
    height: auto !important;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.imageneskriya {
    border-radius: 20px;
    width: 100% !important;
    height: auto !important;
    margin-top: -20px;
}

.imagenesdecabcera {
    width: 380px;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 689px) {
    .imagenesdecabcera {
        width: 100%;
        max-width: 100%;
        margin-top: -20px;
    }
}

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

@media (max-width: 689px) {
    .imagen-airbnb-container {
        max-width: 100%;
    }
}

.airbnb-imagen {
    max-width: 100%;
}


/* Subtitulos Youtube */
.youtubesubtitulos {
    padding-top: 10px;
}

/* Mapa */
.mapa {
    width: 100% !important;
    height: auto !important;
    border: 1px solid #afcdeb;
    display: inline-block;
    border-radius: 46px;
}

@media (max-width: 689px) {
    .mapa {
        border-radius: 26px;
    }
}

/* Separador */
.separador {
    display: block;
}

@media (max-width: 689px) {
    .separador {
        display: none;
    }
}





/* Botones de navegación */
#botonVolver,
#botonContinuar {
    position: absolute;
}

/* Estilos para pantallas móviles */
@media (max-width: 689px) {
    #navegacion {
        position: relative;
        margin-top: -130px;
        padding: 0 25px;
    }

    #botonVolver {
        left: 25px;
    }

    #botonContinuar {
        right: 25px;
    }
}

/* Estilos para pantallas más grandes */
@media (min-width: 689px) {
    #navegacion {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 648px;
    }

    #botonVolver {
        left: 0;
    }

    #botonContinuar {
        right: 0;
    }
}

#navegacion {
    position: fixed;
    top: 350px;
    width: 100%;
    z-index: 1010;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-sizing: border-box;
}

#navegacion a {
    flex: 1;
    text-align: center;
}

#destinosIcon {
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: absolute;
}

/* Estilos para lugares de Yogananda */
.yogananda-place img {
    outline: 2px solid #01ae29;
    outline-offset: 2px;
    box-sizing: border-box;
}

/* Menú dropdown para pantallas grandes */
@media (min-width: 769px) {
    #dropdownMenu {
        display: none;
        position: fixed !important;
        background-color: white;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 9999 !important;
        border: 1px solid #a3a3a3;
        border-radius: 15px;
        padding: 12px;
        width: 600px;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
        left: 50% !important;
        top: 50% !important;
        margin: 0 !important;
        transform: translate(-50%, -50%) scale(0) !important;
        transform-origin: center center !important;
        opacity: 0;
        transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                    opacity 0.3s ease;
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
    }
    
    #dropdownMenu.show {
        transform: translate(-50%, -50%) scale(1) !important;
        opacity: 1;
    }
    
    #dropdownMenu.hide {
        transform: translate(-50%, -50%) scale(0) !important;
        opacity: 0;
    }

    .dropdown-row {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5px;
        margin-bottom: 4.25px;
        justify-content: space-between;
    }

    .dropdown-row a {
        flex: 0 0 calc(16.666% - 2.5px);
        text-align: center;
        color: #363636;
        padding: 8px 4px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.3;
        box-sizing: border-box;
        font-size: 12.8px;
        transition: all 0.3s;
        position: relative;
        border-radius: 8px;
    }

    .dropdown-link img {
        width: 64px;
        height: 80px;
        object-fit: cover;
        border-radius: 6.4px;
        margin-bottom: 6.4px;
        transition: transform 0.3s;
    }

    .dropdown-text {
        display: block;
        font-weight: 400;
        margin-top: 1.6px;
        text-decoration: none;
    }

    .texto-actualizado {
        display: block;
        font-size: 8.8px;
        color: rgb(5, 185, 5);
        margin-top: 1.6px;
        text-decoration: none;
    }

    .texto-nuevo {
        display: block;
        font-size: 8.8px;
        color: red;
        margin-top: 1.6px;
        text-decoration: none;
    }

    .dropdown-row a:hover,
    .dropdown-row a:focus {
        background-color: transparent;
        text-decoration: none;
    }

    .dropdown-row a:hover img {
        transform: scale(1.05);
    }

    .dropdown-row a:hover .dropdown-text,
    .dropdown-row a:focus .dropdown-text {
        font-weight: bold;
        color: black;
        text-decoration: none;
    }

    .dropdown-link.active {
        font-weight: bold;
        color: #000000;
        background-color: transparent;
        text-decoration: none;
    }

    .dropdown-link.active .dropdown-text {
        font-weight: bold;
        text-decoration: none;
    }

    .dropdown-row a,
    .dropdown-row a:hover,
    .dropdown-row a:focus,
    .dropdown-row a:active,
    .dropdown-row a:visited {
        text-decoration: none !important;
    }

    .dropdown-row a span {
        display: block;
        pointer-events: none;
        text-decoration: none;
    }
}

/* Menú lateral (para móvil) */
@media (max-width: 768px) {
    #dropdownMenu {
        display: none !important;
        /* Oculta el dropdown en móvil */
    }

    /* El resto de estilos de .destinations-menu se definen una única vez
       más abajo, junto a .side-menu, para evitar reglas duplicadas que
       entraban en conflicto entre sí (ver commit de corrección del sidebar). */
    .destinations-menu.active {
        right: 0;
    }
}

/* Estilos comunes para el icono de destinos */
#destinosIcon {
    width: 35px;
    height: 35px;
    cursor: pointer;
    position: absolute;
}

@media (max-width: 689px) {
    #dropdownMenu {
        display: none;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border: 1px solid #a3a3a3;
        border-radius: 15px;
        padding: 5px;
        width: 360px;
    }

    .dropdown-row a {
        flex: 0 0 50%;
        padding: 8px 5px;
        line-height: 1.5;
        font-size: 15px;
    }

    #dropdownHeader {
        text-align: center;
        margin: 10px 0;
        font-size: 1em;
    }
}




/* Textos cabecera */
.textoscabeceragrande,
.textoscabeceramediano,
.textoscabeceramediano-donativo,
.textoscabecerapequeno {
    text-align: center;
    width: 100%;
}

.textoscabeceragrande,
h1.textoscabeceragrande {
    font-family: 'Playfair Display SC', serif;
    font-style: normal;
    font-size: 144px;
    text-align: center;
    color: #fa6420;
    font-weight: normal;
    margin-top: -65px;
    padding: 0;
}

.textoscabeceramediano {
    font-family: 'Playfair Display SC', serif;
    font-style: normal;
    font-size: 33.5px;
    text-align: center;
    color: #a3a3a3;
    margin-top: -42px;
    font-weight: 100;
}

.textoscabeceramediano-donativo {
    font-family: 'Playfair Display SC', serif;
    font-style: normal;
    font-size: 32px;
    text-align: center;
    color: #a3a3a3;
    margin-top: -42px;
    font-weight: 100;
}

.textoscabecerapequeno {
    font-family: 'Source Sans Pro', serif;
    font-style: normal;
    font-size: 15px;
    text-align: center;
    color: #7a7a7a;
    margin-top: -8px;
}

@media (max-width: 689px) {
    .textoscabeceragrande,
    h1.textoscabeceragrande {
        font-size: 76px;
        margin-top: -40px;
    }

    .textoscabeceramediano {
        font-size: 17.8px;
        margin-top: -22px;
        color: #464646;
    }

    .textoscabeceramediano-donativo {
        font-size: 16px;
        margin-top: -22px;
        color: #464646;
    }

    img {
        width: 110.5px;
    }
}







/* Menú */
#menu {
    margin-top: 290px;
}

@media (max-width: 689px) {
    #menu {
        margin-top: 180px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 30px;
    grid-column-gap: 15px;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 320px;
}

@media (max-width: 689px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 200px;
    }
}

.pastilla {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.pastilla img {
    width: 100%;
    border-radius: 30px;
    transition: transform 0.3s;
}

.textosmenus {
    text-align: center;
    margin-top: 5px;
    color: rgb(141, 141, 141);
    font-family: 'Source Sans Pro', serif;
    font-style: normal;
    font-size: 23px;
    text-decoration: none !important;
    font-weight: 300;
    transition: color 0.3s;
}

@media (max-width: 689px) {
    .textosmenus {
        font-size: 23x;
        margin-top: 2px;
        font-weight: 400;
    }
}

.textosmenus_updated {
    text-align: center;
    margin-top: -5px;
    color: rgb(255, 0, 0);
    font-family: 'Source Sans Pro', serif;
    font-style: normal;
    font-size: 16px;
    text-decoration: none !important;
    font-weight: 200;
    transition: color 0.3s;
}

.pastilla:hover .textosmenus,
.pastilla:focus .textosmenus {
    color: black;
    font-weight: 400;
}

.pastilla:hover img,
.pastilla:focus img {
    transform: scale(1.03);
}

.pastilla,
.pastilla:visited,
.pastilla:hover,
.pastilla:active,
.pastilla:focus {
    text-decoration: none;
}

@media (max-width: 480px) {
    .pastilla img {
        width: 100%;
        border-radius: 20px;
    }

    .grid-container {
        grid-row-gap: 15px;
        /* Espacio entre las filas */
        grid-column-gap: 12px;
        /* Espacio entre las columnas */
        padding: 15px;
    }

    #menu {
        position: relative;
        top: -15px;
    }

    .textosmenus {
        font-size: 20px;
        margin-top: 2px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}






/* Textos pie de página */
.textospiedepagina {
    font-style: normal;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.4px;
    color: #656565;
    padding: 0px 30px 0px 30px;
}

@media (max-width: 768px) {
    .textospiedepagina {
        font-family: 'Source Sans Pro', serif;
        font-size: 10px;
        padding: 0px 30px 0px 30px;
    }
}

@media (max-width: 480px) {
    .textospiedepagina {
        font-family: 'Source Sans Pro', serif;
        font-size: 10px;
        padding: 0px 20px 0px 20px;
        display: block;
        text-align: center;
    }
}





/* Textos en general */
.textos {
    max-width: 650px;
    margin: 0 auto;
    font-style: normal;
    font-size: 17px;
    letter-spacing: 0.4px;
    text-align: justify;
    white-space: normal;
}

@media (max-width: 689px) {
    .textos {
        width: 100%;
        font-style: normal;
        font-size: 17px;
        letter-spacing: 0.4px;
        text-align: justify;
        padding: 10px;
        white-space: normal;
    }
}

.textos_citas {
    width: 100%;
    font-size: 18px;
    letter-spacing: 0.4px;
    text-align: justify;
    color: #103ffb;
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
}

.titulos {
    font-style: normal;
    font-size: 23px;
    letter-spacing: 0.4px;
}

.titulosgrandes {
    font-style: normal;
    font-size: 40px;
    letter-spacing: 0.4px;
}

.titulosmedianos {
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0.4px;
    margin-top: -26px;
    margin-bottom: 28px;
}

.titulospeq {
    font-style: normal;
    font-size: 17px;
    letter-spacing: 0.4px;
    text-align: left;
}

.titulos_de_seccion {
    font-style: normal;
    font-size: 23px;
    letter-spacing: 0.4px;
}

.subtitulos {
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.4px;
    text-align: justify;
}

.subtitulos_peq {
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-align: center;
    margin-top: 7px;
}

.piedefoto {
    width: 100%;
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.4px;
    margin-top: 5px;
    padding: 10px;
}

.headers {
    font-style: normal;
    font-size: 23px;
    letter-spacing: 0.4px;
}

.texto_brujula {
    position: fixed;
    width: 100%;
    z-index: 1010;
    /* Reducido para estar debajo del dropdown */
    justify-content: center;
    top: 18px;
    text-align: center;
    font-size: 14px;
    color: #fa6420;
}

.texto_lugares_yogananda {
    width: 100%;
    justify-content: center;
    text-align: left;
    font-size: 14px;
    color: #01ae29;
    position: relative;
    padding-left: 45px;
}

.texto_lugares_yogananda::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 3px;
    background-color: #01ae29;
}

@media (max-width: 689px) {
    .texto_brujula {
        font-size: 12px;
        position: fixed;
        top: 238px;
    }
}

a {
    text-decoration: none;
    color: blue;
}

.textos a {
    text-decoration: none !important;
    color: blue;
}

/* Información práctica de destinos */
.info-practica {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-practica h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.info-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fa6420;
    font-weight: 600;
    font-size: 18px;
}

.info-item-header i {
    font-size: 24px;
}

.info-item-content {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.info-item-content p {
    margin: 8px 0;
    text-align: left;
}

.info-item-content a {
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
}

.info-item-content a:hover {
    text-decoration: underline;
}

.info-vacia {
    color: #999;
    font-style: italic;
}

@media (max-width: 689px) {
    .info-practica {
        padding: 20px;
        margin: 30px 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        padding: 15px;
    }

    .info-practica h3 {
        font-size: 24px;
    }
}

/* Botón descargar */
.btn-descargar {
    display: inline-block;
    padding: 9px 22.5px;
    background-color: #FF9800;
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: normal;
    transition: background-color 0.3s;
}

.btn-descargar:hover {
    background-color: #e68900;
    color: white !important;
}




/* Estilos de letra en 404 */
.style_titulo_grande_404 {
    width: 100%;
    font-family: 'Playfair Display SC', serif;
    font-style: normal;
    font-size: 10vw;
    text-align: center;
    color: #fa6420;
}

/* Estilo para pantallas medianas */
@media (max-width: 1200px) {
    .style_titulo_grande_404 {
        font-size: 8vw;
    }
}

/* Estilo para pantallas pequeñas (móviles) */
@media (max-width: 600px) {
    .style_titulo_grande_404 {
        font-size: 10vw;
    }
}

.style_titulo_404 {
    font-size: 2em;
    font-weight: normal;
    text-align: center;
}

.style_menos_titulo_404 {
    font-size: 1.5em;
    font-weight: normal;
    text-align: center;
}

.style_subtitulo_404 {
    color: rgb(86, 86, 86);
    font-size: 1em;
    text-align: center;
}






/* Notificación de mejor leer con pantalla grande */
.notification {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid rgb(106, 106, 106);
    transition: all 0.5s ease-in-out;
}

/* Para móviles */
@media (max-width: 768px) {
    .notification img {
        width: 100px !important;
        height: auto;
        margin-bottom: 0 !important;
    }
}

.notification img {
    width: 150px !important;
    height: auto;
    margin-bottom: 10px;
}

/* Para pantallas grandes (escritorio) */
@media (min-width: 769px) {
    .notification {
        top: 50%;
        transform: translateY(-50%);
        right: -100%;
        padding: 10px 20px;
        border-radius: 20px;
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .notification {
        bottom: -200px;
        /* Oculto inicialmente */
        left: 20px;
        right: 20px;
        padding: 15px 20px;
        border-radius: 20px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .notification img {
        width: 100px !important;
        height: auto;
        margin-bottom: 0 !important;
    }

    .notification p {
        margin: 0;
        font-size: 16px;
        text-align: left;
    }
}

.notification p {
    margin: 0;
    font-size: 18px;
    text-align: center;
}

/* Estilos para centrar los botones y hacer los bordes redondos */
#DonationButton,
#shareButton {
    border-radius: 25px;
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 16px;
}

/* Estilos específicos para el botón de compartir */
#shareButton {
    background-color: green;
    color: white;
    border: none;
}


/* Galería de imágenes */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    margin-top: 20px;
}

.item img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.item p {
    margin-top: 15px;
    font-size: 17px;
    color: #333;
}

/* Responsividad */
@media (max-width: 992px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

.gallerykriya {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .gallerykriya {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallerykriya {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Mostrar libros */
.info-btn {
    font-size: 16px;
    margin-top: -6px;
    padding: 5px 10px;
    background-color: white;
    color: #fa6420;
    border: 2px solid #fa6420;
    border-radius: 100px;
    width: 80px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .info-btn {
        font-size: 17px;
        padding: 5px 10px;
        background-color: white;
        color: #fa6420;
        border: 2px solid #fa6420;
        border-radius: 50px;
        width: 100px;
        cursor: pointer;
        margin-top: -6px;
    }
}

#modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10011;
    overflow: hidden;
}

.modal-content {
    background: white !important;
    padding: 20px;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
    z-index: 10010;
    /* Para Firefox */
    -ms-overflow-style: none;
    /* Para Internet Explorer y Edge */
}

/* Para Chrome, Safari y Opera */
.modal-content::-webkit-scrollbar {
    display: none;
}

.modal .modal-content {
    border-radius: 20px !important;
}

.modal-content img {
    width: 100%;
    border-radius: 20px;
}

.modal-content p {
    margin-top: 15px;
    font-size: 17px !important;
    color: #333;
    text-align: justify;
}

.modal-content a {
    display: block;
    margin-top: 20px;
    padding: 10px;
    background-color: #fa6420;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
}

.close-btn {
    position: fixed;
    /* Fijo en la pantalla */
    top: 10px;
    right: 10px;
    background: #fa6420;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

/* Limitar el texto mostrado a 5 líneas */
.excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

/* Justificar el texto en el modal */
.modal-content p {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    text-align: justify;
    /* Justificar el texto */
}

/* Ajustar el ancho de la ventana modal */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
}

/* Estilos específicos para móviles */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0 !important;
        padding-top: 60px;
    }
}

/* Ajustes para el botón de comprar */
.modal-content a#buy-link {
    display: block;
    margin-top: 12px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fa6420;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.textos-libros {
    max-width: 650px;
    margin: 0 auto;
    font-style: normal;
    font-size: 20px;
    letter-spacing: 0.4px;
    text-align: justify;
    white-space: normal;
}

.airbnb-btn {
    font-size: 16px;
    margin-top: -6px;
    padding: 5px 10px;
    background-color: white;
    color: #fa6420;
    border: 2px solid #fa6420;
    border-radius: 100px;
    width: 200px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .airbnb-btn {
        font-size: 17px;
        padding: 5px 10px;
        background-color: white;
        color: #fa6420;
        border: 2px solid #fa6420;
        border-radius: 50px;
        width: 250px;
        cursor: pointer;
        margin-top: -6px;
    }
}

/* Estilos para el botón de menú (hamburguesa) */
.menu-toggle {
    display: none;
    width: 30px;
    height: 25px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1611;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background-color: #fa6420;
    border-radius: 3px;
}

/* Estilos para el menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    left: -230px;
    width: 220px;
    height: 100%;
    background: url('assets/fondo_drawer_home.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);
    z-index: 1611;
    transition: left 0.3s ease;
}

.side-menu ul {
    list-style: none;
    padding: 60px 20px;
    margin: 0;
}

.side-menu ul li {
    margin-bottom: 20px;
}

.side-menu ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 23px;
    transition: color 0.3s;
    line-height: 1.25;
}

.side-menu ul li a:hover {
    color: #000000;
}

/* Cuando el menú esté activo */
.side-menu.active {
    left: 0;
}

/* Mostrar el botón de menú en pantallas móviles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    body.modal-open .menu-toggle {
        display: none;
    }
}

/* Ocultar el menú lateral en pantallas más grandes */
@media (min-width: 769px) {
    .side-menu {
        display: none;
    }

    .menu-toggle {
        display: none !important;
    }
}

.menu-toggle.white span {
    background-color: #ffffff;
}

/* Botón de home */
.home-link {
    position: fixed;
    top: 20px;
    left: calc(50% - 400px);
    /* Ajustado para estar 60px a la izquierda de la cabecera centrada */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    .home-link {
        opacity: 0;
        pointer-events: none;
    }
}

.home-link i {
    font-size: 24px;
    color: #fa6420;
}

.home-text {
    font-size: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #fa6420;
    margin-top: -2px;
}

.home-link:hover i,
.home-link:hover .home-text {
    color: #d55318;
}

.home-link:hover,
.home-link:active,
.home-link:focus {
    text-decoration: none;
    outline: none;
}

/* Menú lateral de destinos
   Ancho calculado a medida: el texto más largo de la lista ("Isha Yoga
   Centre") mide ~131px con la fuente real (Source Sans Pro, 19px) + 40px
   solicitados = 176px. Con eso, el padding de 20px a cada lado del <ul>
   deja al texto más largo justo, sin espacio sobrante. */
.destinations-menu {
    position: fixed;
    top: 0;
    right: -200px;
    width: 176px;
    height: 100%;
    background: url('assets/fondo_drawer_destinos.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.4);
    z-index: 1111;
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.active .close-button-menulateral {
    opacity: 1;
    visibility: visible;
}

.destinations-menu.active .close-button-menudestinos {
    opacity: 1;
    visibility: visible;
}

.destinations-header {
    padding: 20px;
    color: rgb(0, 0, 0);
    font-size: 26px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.destinations-menu ul {
    list-style: none;
    padding: 34px 20px 22px;
    margin: 0;
}

.destinations-menu ul li {
    margin-bottom: 6px;
}

.destinations-menu ul li a {
    text-decoration: none;
    color: rgb(63, 63, 63);
    font-size: 19px;
    transition: color 0.3s;
    display: block;
    line-height: 1.3;
    padding: 2px 0;
    white-space: nowrap;
}

.update-tag {
    display: inline-block;
    font-size: 12px;
    color: #000000;
    margin-left: 5px;
}

.new-tag {
    display: inline-block;
    font-size: 12px;
    color: #000000;
    margin-left: 5px;
}

@media (min-width: 769px) {
    .destinations-menu {
        display: none;
    }
}

.close-button-menudestinos {
    position: fixed;
    top: 10px;
    right: 10px;
    background: transparent url('assets/close_black.svg') no-repeat center;
    background-size: 45px;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
    width: 45px;
    height: 45px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.close-button-menulateral {
    position: fixed;
    top: 10px;
    left: 12px;
    background: transparent url('assets/close_white.svg') no-repeat center;
    background-size: 45px;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1802;
    width: 45px;
    height: 45px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ========================================
   ESTILOS DE LA PÁGINA DE DONACIONES
   ======================================== */

/* Contenedor principal de donaciones con diseño moderno */
.donation-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.donation-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 2.5rem;
    text-align: left;
    font-weight: 300;
}

.donation-title {
    font-size: 1.8rem;
    color: white;
    text-align: left;
    font-weight: 300;
}

/* Grid de métodos de pago */
.donation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Tarjetas de métodos de pago con diseño moderno */
.donation-method {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.donation-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.donation-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.donation-method:hover::before {
    transform: scaleX(1);
}

/* Encabezados de métodos de pago */
.donation-method h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.donation-method i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilo específico para Bizum */
.bizum-card {
    text-align: center;
}

.bizum-image-container {
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.bizum-image-container:hover {
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bizum-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Estilo para el botón de PayPal/Tarjeta */
.paypal-card {
    text-align: center;
}

#paypal-donate-button-container {
    position: relative;
    background: linear-gradient(135deg, #0070ba, #003087);
    border-radius: 12px;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
    margin-top: 1rem;
}

#paypal-donate-button-container:hover {
    background: linear-gradient(135deg, #003087, #001860);
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
    transform: scale(1.02);
}

#paypal-donate-button-container img {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    top: 0;
    left: 0;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #333;
}

.donate-button-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 0.5rem 0;
}

/* Footer de donación */
.donation-footer {
    text-align: center;
    margin-top: -12px;
    color: white;
    font-size: 1rem;
}

.gratitude {
    display: block;
    margin-top: 1rem;
    font-weight: 400;
    font-size: 1.8rem;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sección de contacto con fondo degradado igual que donaciones */
.contact-section {
    max-width: 800px;
    margin: 3rem auto 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 300;
    text-align: left;
}

.contact-intro {
    margin-bottom: 2rem;
    color: white;
    line-height: 1.8;
    font-size: 1.15rem;
    font-weight: 300;
}

/* Formulario de contacto mejorado */
.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: white;
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* Botón de envío mejorado */
.descargar-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

.descargar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.descargar-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Mensajes de error y éxito */
.textosError,
.textosEnviado {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    font-weight: 500;
}

.textosError {
    background: rgba(255, 255, 255, 0.95);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.textosEnviado {
    background: rgba(255, 255, 255, 0.95);
    color: #28a745;
    border-left: 4px solid #28a745;
}

/* Responsive para móviles - Estilos de donaciones */
@media (max-width: 689px) {
    .imagenesitinerario {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        margin-left: auto;
        margin-right: auto;
        margin-top: 20px;
    }

    .donation-container {
        padding: 1.5rem;
        margin: 1.5rem 0.5rem;
    }

    .donation-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donation-method h2 {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 1.5rem;
        margin: 2rem 0.5rem 1.5rem;
    }

    .descargar-btn {
        width: 100%;
        padding: 1rem;
    }

    .donation-method-column_es {
        margin-top: -30px;
    }

    .donation-method-column {
        margin-top: -30px;
    }
}
