@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@500;600;700&display=swap");

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   ANIMATION STATES
   ============================================ */
.animate-out {
    opacity: 0;
    transform: translateY(30px);
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.carte_tour.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.fede_family.animate-in {
    animation: fadeInUp 0.7s ease-out forwards;
}

.gallery-wrapper.animate-in {
    animation: fadeInUp 0.7s ease-out forwards;
}

.section.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   HEADER ANIMATIONS
   ============================================ */
.logo-principal.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

.principal_subtitle.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--animation-delay, 0.2s);
}

.cta-button.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--animation-delay, 0.4s);
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: auto;
}

.section_principal {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 0%;
    
}

.principal_tittle {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.principal_tittle h1{
    font-size: 30px;
    font-family: "Playfair display", sans-serif;

}

.section_principal h1 {
    font-family: Arial, sans-serif;

    
}

.header .video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 80vh;
    object-fit: cover;
    z-index: -1;
    margin: 0;
    padding: 0;
}

.header > img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
    margin: 0;
    padding: 0;
}

.header {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: -5px;
} 

.header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 16, 0.55) 0%, rgba(8, 12, 16, 0.2) 45%, rgba(8, 12, 16, 0.45) 100%);
    z-index: 0;
}

.principal_tittle h1 {
    position: relative;
    color: rgb(190, 59, 59);
    font-size: 50px;
    font-family: "Playfair Display", "Times New Roman", serif;
    z-index: 2;
    margin: 0;
    padding: 20px;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35);
}

.logo-principal {
    position: relative;
    z-index: 2;
    width: clamp(300px, 50vw, 600px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.45));
}

.principal_tittle1 h1{
    color: #318600;
}

.header .principal_subtitle h3{
    position: relative;
    color: #f7f4ef;
    font-size: 20px;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    z-index: 2;
    margin: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    padding: 5px 18px 0 18px;
}

.cta-button {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 14px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 0;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none;
    margin-top: 60px;
    cursor: pointer;
    text-transform: uppercase;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1FA600 0%, #38DF01 100%);
    color: white;
    transform: none;
    box-shadow: 0 8px 20px rgba(56, 223, 1, 0.4);
    border-color: #38DF01;
}

.cta-button:active {
    transform: translateY(-2px);
}

.menu_nav{
    position: relative;
    top: 0;
    left: 0;
    min-height: 10vh;
    width: 100%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-self: stretch;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
}

.menu_logo{
    height: 50px;
    width: auto;
    object-fit: contain;
    position: relative;
    flex-shrink: 0;
}

.lang-button {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lang-button:hover {
    transform: scale(1.15);
}

.lang-icon {
    height: 32px;
    width: 32px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header .principal_tittle,
.header .principal_subtitle {
    position: relative;
    z-index: 2;
    padding: 10px;
    margin-top: 0px;
    width: 100%;
}

.header .principal_tittle h1 {
    color: #fdf7ef;
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 20px;
}
.nav_links{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 8px;
    width: auto;
}
.nav_links li{
    margin: 0px 8px;

}
.nav_links a{
    text-decoration: none;
    color: white;
    font-weight: bold !important;
    font-size: 12px !important;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    white-space: nowrap;  /* Evita que el texto se rompa */

}

.nav_links a::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #71fb62, #38DF01);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav_links a.active{
    color: rgb(113, 251, 98);
    font-weight: bold;
}

.nav_links a.active::after{
    width: 100%;
}

.nav_links a:not(.active):hover{
    color: rgb(113, 251, 98);
    transform: scale(1.1);
}

.nav_links a:not(.active):hover::after{
    width: 100%;
}

.content{
    flex: 0 0 auto;
    overflow: visible;
    padding-bottom: 20px;
    height: auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 20px;
}


.footer{
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #d8e8c2 0%, #c8dbaf 100%);
    z-index: 10;
    margin-top: 0;
    padding: 28px 24px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1fa600 0%, #7ecb4a 50%, #cfe0b8 100%);
    opacity: 0.7;
}
.business_info{
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 40px;
    background-color: black;
    z-index: 11;
    padding: 20px;
}
.business_info h3{
    position: absolute;
    color: white;
    font-size: 15px;
    font-family: sans-serif;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.rrss{
    position: relative;
    display: flex;
    gap: 14px;
    z-index: 3;
    padding: 0 0 10px 0;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.rrss svg{
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    color: #2b3a2b;
}

.rrss svg:hover{
    transform: scale(1.2);
    color: #152315;
}
.footer_info{
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.3fr;
    align-items: start;
    gap: 28px;
    padding: 10px 0 12px;
}

.phrase{
    position: relative;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    color: #223122;
    text-align: left;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 14px;
}   

.phrase h5{
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.parrafo_1 h5{
    font-size: 13px;
    color: #1f2d1f;
    padding: 0;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.parrafo_1 {
    flex: 0 0 auto;
    min-width: 150px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.parrafo_1 h5:not(:first-child){
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.parrafo_1 h5:not(:first-child):hover{
    color: #1fa600;
    transform: translateX(2px);
}

.footer_info .parrafo_1 h5:first-child{
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .footer_info{
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rrss{
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .footer{
        padding: 22px 16px 16px;
    }

    .phrase{
        font-size: 14px;
    }

    .footer_info{
        padding: 6px 0 6px;
    }

    .parrafo_1 h5{
        font-size: 12px;
    }
}

.carta_tour{
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: calc(33.333% - 14px);
    min-width: 300px;
    position: relative;
    cursor: pointer;
    align-items: stretch;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.image-wrapper{
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0px 0px;
    width: 100%;
    height: 250px;
    flex-shrink: 0;
}

.image-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.carta_tour:hover .image-wrapper::before{
    background-color: rgba(0, 0, 0, 0.4);
}

.carta_tour h4{
    font-size: 19px;
    margin: 6px 0 8px 0;
    font-family: "Playfair Display", "Times New Roman", serif;
    color: #1f2a1f;
    text-align: left;
}
.carta_tour img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.3s ease;
    border-radius: 20px 20px 0px 0px;
}

.info_container{
    background-color: #ffffff;
    padding: 16px 18px 20px 18px;
    border-radius: 0px 0px 18px 18px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.info_container p{
    margin: 0;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    text-align: left;
}

.card_link{
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: transparent;
    border: none;
    padding: 0;
    color: #ffffff;
}

.card_link svg{
    display: block;
}

.carta_tour:hover .card_link{
    opacity: 1;
}

.tour-meta{
    width: 100%;
    display: flex;
    align-items: left;
    justify-content: space-between;
    gap: 10px;
}

.tour-duration{
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a7a7a;
}

.tour-cta{
    text-decoration: none;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1f2a1f;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    padding: 8px 16px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.tour-cta:hover{
    border-color: #1FA600;
    color: #1FA600;
    box-shadow: 0 6px 15px rgba(31, 166, 0, 0.2);
}

.carta_tour:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.tittle_tours{
    width: 100%;
    min-height: 20vh;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
    gap: 30px;
    flex-wrap: wrap;
}

.line{
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #8B6F47, transparent);
    display: inline-block;
    vertical-align: middle;
    min-width: 100px;
}
.titulo{
    display: inline-block;
    margin: 0;
    padding: 20px 40px;
    flex: 0 1 auto;
    position: relative;
}

.titulo h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2C3E50;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    font-family: "Playfair display", 'Arial', sans-serif;
    position: relative;
    display: inline-block;
    
}

.titulo h2::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #BD3B3B, #1FA600);
    border-radius: 2px;
}

.titulo h2::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, transparent, #8B6F47, transparent);
}

.load_more{
    font-size: 30px;
    font-weight: bold;
    color: black;
    background-color: #1FA600;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 20px auto;
    transition: all 0.3s ease;
}

.load_more:hover{
    transform: scale(1.2);
    background-color: #178700;
    box-shadow: 0 4px 15px rgba(31, 166, 0, 0.4);
}

.load_more_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 40px auto;
}

.load_more_info {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #555;
    letter-spacing: 0.5px;
}

.load_more_btn {
    background: linear-gradient(135deg, #1FA600 0%, #178700 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 166, 0, 0.3);
}

.load_more_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 166, 0, 0.4);
}

.load_more_btn:active {
    transform: translateY(0);
}



body {
    margin: 0;
    padding: 0;
}

.section_principal {
    padding: 0%;
    text-align: center;
    height: 100%;
    margin: 0;
    width: 100%;
    
}
.section_principal h1 {
    font-family: Arial, sans-serif;
}

.header .video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 80vh;
    object-fit: cover;
    z-index: -1;
    margin: 0;
    padding: 0;
}

.header > img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -100;
    margin: 0;
    padding: 0;
}

.header {
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1;
} 

.header h1 {
    position: absolute;
    color: white;
    font-size: 30px;
    font-family: Arial, sans-serif;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.header h3{
    position: absolute;
    color: white;
    font-size: 10px;
    font-family: Arial, sans-serif;
    z-index: 2;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.menu_nav{
    position: sticky !important;
    top: 0;
    left: 0;
    min-height: 70px;    
    width: 100%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
}
.page-darknav .menu_nav{
    background-color: rgba(0, 0, 0, 0.55) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.page-darknav .menu_nav::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 0;
}

.page-darknav .menu_nav > *{
    position: relative;
    z-index: 1;
}
.menu_logo{
    height: 50px;
    width: auto;
    object-fit: contain;
    position: relative;
    flex-shrink: 0;
}
.nav_links{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    padding: 10px;
    margin-top: 7px;
}
.nav_links li{
    margin: 0 8px;
}
.nav_links a{
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    transition: color 0.3s;
    position: relative;
}

.nav_links a::after{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #71fb62, #38DF01);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav_links a.active{
    color: rgb(113, 251, 98);
    font-weight: bold;
}
.nav_links a:not(.active):hover{
    color: rgb(113, 251, 98);
}

.nav_links a:hover::after{
    width: 100%;
}

.footer{
    height: auto;
}



/* Gallery Styles */

.fede_family {
    position: relative;
    align-items: center;
    margin-bottom: 80px;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    background: linear-gradient(135deg, rgba(146, 197, 135, 0.15) 0%, rgba(113, 251, 98, 0.08) 100%);
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    align-items: stretch;
}


.fede_family img{
    min-width: auto;
    height: 100%;
    min-height: 300px;
    border-radius: 16px;
    padding: 0;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fede_family img:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.info_fede_family{
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.info_fede_family h4 {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.02em;
}

.info_fede_family p {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.01em;
}

.tripadvisor-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #dfe8d6;
    border-radius: 999px;
    width: fit-content;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.tripadvisor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9f7ef;
    color: #1f7a4d;
}

.tripadvisor-icon svg {
    display: block;
    fill: currentColor;
}

.tripadvisor-badge span {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

.tripadvisor-link {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1f7a4d;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tripadvisor-link:hover {
    color: #155c3a;
    border-bottom-color: #155c3a;
}

.tripadvisor-highlight {
    margin: 0 auto 80px;
    padding: 0 20px;
}

.tripadvisor-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 36px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(45, 155, 102, 0.08) 0%, rgba(255, 255, 255, 0.9) 55%, rgba(45, 155, 102, 0.12) 100%);
    border: 1px solid rgba(45, 155, 102, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tripadvisor-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.tripadvisor-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: #1f7a4d;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 12px;
}

.tripadvisor-score {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #1a1a1a;
    font-weight: 700;
}

.tripadvisor-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(24px, 3vw, 34px);
    margin: 0 0 6px;
    color: #1a1a1a;
}

.tripadvisor-subtitle {
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    color: #2d2d2d;
    margin: 0 0 20px;
}

.tripadvisor-quotes {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.tripadvisor-quotes blockquote {
    margin: 0;
    padding: 14px 18px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(31, 122, 77, 0.15);
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1f1f1f;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.tripadvisor-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: #1f7a4d;
    color: #ffffff;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tripadvisor-cta:hover {
    background: #155c3a;
    box-shadow: 0 12px 26px rgba(31, 122, 77, 0.35);
    transform: translateY(-2px);
}

.image-wrapper2{
    min-width: 350px;
    max-width: 420px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 16px;
}

/* Responsive About Us */
@media (max-width: 900px) {
    .fede_family {
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
        align-items: center;
    }
    
    .image-wrapper2 {
        min-width: 100%;
        max-width: 100%;
        max-height: 350px;
    }
    
    .fede_family img {
        min-height: 250px;
        height: 100%;
        width: 100%;
    }
    
    .info_fede_family {
        width: 100%;
        text-align: center;
    }
    
    .info_fede_family h4 {
        font-size: clamp(24px, 3vw, 36px);
    }
    
    .info_fede_family p {
        font-size: 15px;
        line-height: 1.6;
    }

    .tripadvisor-badge {
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .tripadvisor-card {
        padding: 26px 22px;
    }

    .tripadvisor-header {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .fede_family {
        padding: 25px 20px;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .image-wrapper2 {
        max-height: 280px;
    }
    
    .fede_family img {
        min-height: 200px;
    }
    
    .info_fede_family h4 {
        font-size: clamp(20px, 2.5vw, 28px);
    }
    
    .info_fede_family p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Gallery Styles */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.gallery-grid {
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.gallery-item.active {
    display: flex;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.gallery-btn {
    background-color: rgba(71, 120, 87, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-btn:hover {
    background-color: rgb(71, 120, 87);
    transform: scale(1.1);
}

.gallery-btn:active {
    transform: scale(0.95);
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(71, 120, 87, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator.active {
    background-color: rgb(71, 120, 87);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        height: 300px;
        max-width: 100%;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-wrapper {
        gap: 10px;
    }
}

.galeria_img{
    margin-bottom: 20px;
}
/* Error page **************************************************************************** */

.error-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 10vh;
}

.error-section h1 {
    font-size: 20vh;
    font-family: "Inter", Arial, sans-serif;
    font-weight: bolder;
    margin-top: -8vh;
    color: #318600;
}

.error-section h2 {
    font-size: 3vh;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 600;
}

.error-section #subtitle {
    font-size: 2.2vh;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 3vh;
}

.error-section p {
    font-size: 1.5vh;
}
.error-icon-image {
    width: 23vh;
    height: 20vh;
    margin-bottom: 20px;
}
.cb-button {
    width: fit-content;
    min-width: 250px;
    border-radius: 0px;
    border-width: 1px;
    border-color: rgb(43, 162, 0);
    background-color: #1FA600;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 2.3vh;
    padding: 1.25vh;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.cb-button a {
    color: white;
    text-decoration: none;
}

.cb-button a:hover {
    color: white;
}

.cb-button:hover {
    background-color: #178700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 166, 0, 0.3);
    border-color: rgb(31, 166, 0);
}

.cb-container {
    margin-top: 3vh;
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: fit-content;
}
.parrafo_1 .mapa{
    border: 2px red solid;
    max-width: 200px;
    max-height: 200px;
}

.mapa_container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    max-width: 360px;
    height: 200px;
    margin-bottom: 0;
    flex-direction: column;
    background-color: #e7f0d6;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mapa_container:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.mapa_container h5{
    margin: 0 0 6px 0;
    font-size: 13px;
    font-weight: 700;
    color: #1f2a1f;
    align-self: flex-start;
}

@media (max-width: 600px) {
    .mapa_container{
        max-width: 100%;
        height: 180px;
    }
}

.mapa_MB{
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.headerDonacion{
    position: relative;
    height: 50vh;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("../assets/foto_asociacion.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.headerDonacion .img_asociacion{
    display: none;
}

.img_asociacion img{
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    transition: filter 0.3s ease;
    border-radius: 20px 20px 0px 0px;
}

.asociacion_content{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 100vh;
}

.donate_container{
    background-color: #EEECEC;
    width: 40%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    border-radius: 0;
}
.donate_container h2{
    font-size: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 0 0 20px 0;
    font-weight: bolder;
    margin: 0;
}

.donation_form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick_amounts{
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.amount_btn{
    background-color: #333333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount_btn:hover{
    background-color: #555555;
    transform: scale(1.05);
}

.amount_btn.selected{
    background-color: #318600;
}

.custom_amount_wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.custom_amount_wrapper label{
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.custom_amount_input{
    position: relative;
    width: 150px;
}

.custom_amount_input input{
    width: 100%;
    padding: 10px 35px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.custom_amount_input input:focus{
    outline: none;
    border-color: #318600;
    box-shadow: 0 0 5px rgba(49, 134, 0, 0.3);
}

.currency-symbol{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: bold;
}

.donate_btn{
    background-color: #318600;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.donate_btn:hover{
    background-color: #27a500;
    transform: scale(1.05);
}

.payment_notice{
    font-size: 12px;
    color: #666;
    margin: 10px 0 0 0;
    text-align: center;
}

#paypal-button-container{
    width: 100%;
}

#result-message{
    width: 100%;
    min-height: 20px;
    margin: 0;
    font-size: 13px;
    text-align: center;
    color: #4b5563;
}

.donation_success{
    width: 100%;
    margin-top: 10px;
    padding: 28px 24px;
    background: linear-gradient(135deg, #f5fff0 0%, #ffffff 100%);
    border: 1px solid #d8f0c9;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(49, 134, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.donation_success_icon{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #318600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}

.donation_success h3{
    margin: 0;
    font-size: 24px;
    color: #1f2a37;
}

.donation_success p{
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.donation_success_amount{
    font-size: 16px;
    font-weight: 700;
    color: #318600 !important;
}

.donation_success_btn{
    margin-top: 6px;
    background-color: #318600;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.donation_success_btn:hover{
    background-color: #27a500;
    transform: translateY(-1px);
}

.info_asociacion{
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background-color: white;
    line-height: 1.8;
}

.info_asociacion h2{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #318600;
}

.info_asociacion p{
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #333;
    text-align: justify;
}

.info_asociacion ul{
    margin: 15px 0;
    padding-left: 20px;
}

.info_asociacion li{
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
    text-align: justify;
}

.info_asociacion img{
    max-width: 80%;
    border-radius: 5px;
    margin: 20px auto 0 auto;
    max-height: 200px;
    display: block;
}

.contact_form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 70px;
    height: auto;
    width: 100%;
    top:auto;
    background-color:rgb(220, 241, 220) ;
    align-items: center;
    justify-content: center;

}

.contactHeader{
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0; 
}

.contact_container{
    border: 2px white solid;
    min-height: auto;
    max-height: none;
    height: auto;
    width: 80%;
    display: flex;
    flex-direction: row;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.info_form{
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 25px;
    width: 30%;
    background: linear-gradient(135deg, #38DF01 0%, #2eb800 100%);
    color: white;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 15px rgba(56, 223, 1, 0.2);
    overflow: visible;
    box-sizing: border-box;
}

.info-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    word-wrap: break-word;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-info-item svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: white;
}

.contact-info-item div {
    flex: 1;
}

.contact-info-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.contact-info-item p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    word-wrap: break-word;
}

.formulario{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 70%;
    padding: 24px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 0 12px 12px 0;
    overflow: visible;
    box-sizing: border-box;
}

/* Asegurar que todos los elementos internos respeten el contenedor */
.info_form *,
.formulario * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Barras de scroll personalizadas */
.info_form::-webkit-scrollbar,
.formulario::-webkit-scrollbar {
    width: 8px;
}

.info_form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.info_form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.info_form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.formulario::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.formulario::-webkit-scrollbar-thumb {
    background: #38DF01;
    border-radius: 10px;
}

.formulario::-webkit-scrollbar-thumb:hover {
    background: #2eb800;
}

/* Estilos del formulario de contacto */
.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    text-align: center;
}

.form-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.form-control {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #2c3e50;
    box-sizing: border-box;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: #38DF01;
    box-shadow: 0 0 0 3px rgba(56, 223, 1, 0.1);
    background-color: #ffffff;
}

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

.form-control.invalid {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.error-message {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
    min-height: 18px;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
    font-family: 'Montserrat', sans-serif;
}

.btn-submit {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    background: linear-gradient(135deg, #38DF01 0%, #2eb800 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(56, 223, 1, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2eb800 0%, #38DF01 100%);
    box-shadow: 0 6px 20px rgba(56, 223, 1, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(56, 223, 1, 0.3);
}

.btn-submit:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.contact-whatsapp-btn {
    margin-top: 14px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    background-color: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-whatsapp-btn:hover {
    background-color: #20b256;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.alert {
    font-family: 'Montserrat', sans-serif;
    padding: 10px 14px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 500;
    box-sizing: border-box;
    width: 100%;
    word-wrap: break-word;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .confirmation-title {
        font-size: 32px;
    }
    
    .confirmation-message {
        font-size: 14px;
    }
    
    .confirmation-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-return,
    .btn-another {
        width: 100%;
    }
}

/* ============================================
   CONFIRMATION PAGE STYLES
   ============================================ */

.confirmation-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.confirmation-icon {
    margin-bottom: 40px;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirmation-icon svg {
    width: 140px !important;
    height: 140px !important;
    filter: drop-shadow(0 10px 30px rgba(31, 166, 0, 0.3));
}

.confirmation-icon circle {
    animation: drawCircle 0.8s ease-out forwards;
    stroke-dasharray: 238;
    stroke-dashoffset: 238;
}

.confirmation-icon path {
    animation: drawCheck 0.8s ease-out 0.3s forwards;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.confirmation-message {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: #666666;
    text-align: center;
    max-width: 600px;
    margin: 0 0 50px 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.confirmation-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-return,
.btn-another {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-return {
    background: linear-gradient(135deg, #1FA600 0%, #178700 100%);
    color: white;
    border: none;
}

.btn-return:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(31, 166, 0, 0.3);
    color: white;
}

.btn-return:active {
    transform: translateY(-2px);
}

.btn-another {
    background: white;
    color: #1FA600;
    border: 2px solid #1FA600;
}

.btn-another:hover {
    background: rgba(31, 166, 0, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(31, 166, 0, 0.2);
    color: #1FA600;
}

.btn-another:active {
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .confirmation-section {
        min-height: 100vh;
        padding: 40px 16px;
    }

    .confirmation-icon svg {
        width: 100px !important;
        height: 100px !important;
    }

    .confirmation-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .confirmation-message {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .confirmation-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-return,
    .btn-another {
        width: 100%;
        min-width: unset;
        padding: 14px 24px;
        font-size: 15px;
    }
}

.route_options{
    padding: 10px;
}
.route_options h3{
    font-size: 18px;
    font-weight:200;
    font-style: italic;

}

.route_info{
    margin-top: 40px;
}

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

.route_buttons{
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.route_buttons button{
    border-radius: 50px;
    height: 55px;
    min-width: 160px;
    padding: 0 30px;
    background-color: #d3d3d3;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.route_buttons button:hover{
    background-color: #c0c0c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.route_buttons button.active{
    background-color: #5a5a5a;
    color: white;
}

.route_buttons button.active:hover{
    background-color: #4a4a4a;
}

.route_buttons button.active::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #1FA600;
    border-radius: 50%;
    margin-right: 5px;
}

.line_route{
    margin-top: 20px;
    height: 1px;
    border: 1px solid black;
    width: 90%;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.routes_options{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bus_option{
    margin: 20px;
    padding: 40px 50px;
    background-color: #F0F0F0;
    border-radius: 10px;
    border-bottom: 3px grey solid;
    justify-content: left;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    width: 70%;
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bus_option.show{
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bus_option.hiding{
    opacity: 0;
    transform: translateY(-30px);
}

.bus_option h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: left;
}

.bus_option h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 15px;
    margin-top: 25px;
    text-align: left;
}

.bus_option p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.mapa_img_route img{
    width: 30%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
}
.mapa_img_route{
    margin-bottom: 0;
    padding-bottom: 10px;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#route-map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.dudas{
    padding: 50px 30px;
    background: linear-gradient(135deg, #1FA600 0%, #06B140 100%);
    border-radius: 12px;
    text-align: center;
    margin: 40px 20px;
    box-shadow: 0 10px 30px rgba(31, 166, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.dudas::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 0;
}

.dudas::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    z-index: 0;
}

.dudas_text {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.dudas h3{
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dudas_button {
    position: relative;
    z-index: 1;
}

.dudas_button button{
    background: linear-gradient(135deg, #52D89F 0%, #1FA600 100%);
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    box-shadow: 0 6px 20px rgba(82, 216, 159, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.dudas_button button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

.dudas_button button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(82, 216, 159, 0.45);
    background: linear-gradient(135deg, #6FE5B5 0%, #2DD52E 100%);
}

.dudas_button button:hover::before {
    left: 100%;
}

.dudas_button button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 216, 159, 0.35);
}

.services_container img{
    width: 100%;
    max-height: 400px;
    margin-top: 20px;
}

.services_info{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 20px 0 30px;
}
.service_res{
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 10px;
}
.service_cars{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.service_hotel{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.service_transport{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}
.service_taxi{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.services_info > section:nth-child(even){
    justify-content: flex-end;
}

.services_info > section:nth-child(even) .restaurant_card{
    flex-direction: row-reverse;
    text-align: right;
}

.services_info > section:nth-child(even) .restaurant_info{
    text-align: right;
}

.restaurant_card{
    background-color: #efefef;
    width: min(1100px, 92%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.reveal-card{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal-card.is-visible{
    opacity: 1;
    transform: translateY(0);
}
.restaurant_card .restaurant_img{
    flex: 0 0 150px;
}

.restaurant_card .restaurant_img img{
    width: 150px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.restaurant_info{
    flex: 1;
}

.restaurant_info .res_tittle h4{
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2a37;
}

.restaurant_info .res_info p{
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 720px) {
    .restaurant_card{
        flex-direction: column;
        align-items: flex-start;
    }

    .services_info > section:nth-child(even) .restaurant_card{
        flex-direction: column;
    }

    .services_info > section:nth-child(even) .restaurant_info{
        text-align: left;
    }

    .restaurant_card .restaurant_img{
        flex: 0 0 auto;
        width: 100%;
    }

    .restaurant_card .restaurant_img img{
        width: 100%;
        height: 200px;
    }
}

/* Route Map Styles */
.route-marker-container {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.route-marker {
    transition: all 0.2s ease;
}

.route-marker-container:hover .route-marker {
    transform: scale(1.2);
}

.route-popup .leaflet-popup-content {
    margin: 0;
    padding: 10px;
}

.route-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.route-popup .leaflet-popup-tip {
    background-color: white;
}

.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100; /* Asegura que esté por encima de todo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease; /* Suaviza la animación */
}

.float-wa:hover {
    background-color: #20b256; /* Un verde un poco más oscuro al pasar el mouse */
    transform: scale(1.1); /* Efecto de zoom */
}

/* Ajuste del color del ícono SVG */
.icon-wa {
    fill: white;
    width: 35px;
    height: 35px;
}

/* Ajuste para móviles (opcional) */
@media (max-width: 768px) {
    .float-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .icon-wa {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   HOMEPAGE HEADER RESPONSIVE FIX
   ============================================ */

.menu_nav {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin: 0 !important;
    padding: 0 20px !important;
    min-height: 0 !important;
    height: auto;
}

.menu_logo {
    order: 1;
}

.menu_nav nav {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 200px;  /* Evita que se comprima demasiado */
    margin: 0;

}

.menu_nav > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.lang-button {
    order: 3;
    margin-left: 16px !important;
    margin-right: 0 !important;
    padding-right: 0;
    flex-shrink: 0;


}

.nav_links {
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}

.header {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
}

html,
body,
.section_principal {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header .principal_subtitle h3 {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .menu_nav {
        position: fixed !important;
        top: 0 !important;
        min-height: 0 !important;
        height: auto;
        padding: 6px 10px !important;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        column-gap: 8px;
        flex-wrap: nowrap !important;
        row-gap: 4px;
    }

    .menu_logo {
        order: 1;
        height: 42px;
    }

    .menu_nav nav {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        margin: 0;
        order: 4;
        display: block;
        overflow: visible;
    }

    .lang-button {
        order: 3;
        margin: 0 !important;
        padding: 4px 0 4px 4px;
        justify-self: end;
    }

    .lang-icon {
        width: 28px;
        height: 28px;
    }

    .nav_links {
        width: 100%;
        min-width: 0;
        order: 2;
        margin: 0;
        padding: 0;
        gap: 8px;
        flex-wrap: wrap !important;
        justify-content: center;
        white-space: normal;
        overflow: visible;
    }

    .nav_links li {
        margin: 0;
        flex: 0 1 auto;
    }

    .nav_links a {
        font-size: 11px !important;
        line-height: 1.2;
        padding: 4px 6px;
    }

    .header {
        height: auto;
        padding: 0 12px 44px;
        justify-content: center;
    }

    .logo-principal {
        width: clamp(220px, 66vw, 420px);
    }

    .header .principal_subtitle h3 {
        font-size: clamp(15px, 2.8vw, 19px);
        line-height: 1.35;
        padding: 8px 10px 0;
    }

    .cta-button {
        margin-top: 28px;
        padding: 12px 28px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .header {
        min-height: 100svh;
        padding: 0 10px 34px;
    }

    .logo-principal {
        width: clamp(180px, 74vw, 300px);
    }

    .header .principal_subtitle h3 {
        font-size: 14px;
        letter-spacing: 0.02em;
        line-height: 1.4;
        padding: 8px 6px 0;
    }

    .cta-button {
        margin-top: 20px;
        padding: 11px 22px;
        font-size: 12px;
        letter-spacing: 0.06em;
    }

    .menu_nav {
        padding: 4px 8px !important;
        grid-template-columns: auto 1fr auto;
        column-gap: 6px;
        row-gap: 3px;
    }

    .menu_logo {
        height: 36px;
    }

    .nav_links {
        gap: 4px;
        padding-top: 0;
        flex-wrap: wrap !important;
        white-space: normal;
        justify-content: center;
    }

    .nav_links a {
        font-size: 10px !important;
    }
}