:root {
    --primary-red: #e71522;
    --primary-green: #00733c;
    --primary-darkgreen: #074929;
    --primary-yellow: #f4a261;
    --primary-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    
}

body {
    overflow-x: hidden;
    
}
.see-more-container {
    text-align: center;
    
}

.btn-see-more {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-see-more:hover {
    background-color:var(--primary-darkgreen);
}


/* Estilos generales depurados y forzados con !important */

.header {
    background-color: var(--primary-red) !important;
    padding: 10px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    margin-bottom: 10px !important;
    z-index: 1000 !important;
}

.nav-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    color: var(--primary-white) !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    font-family: 'Pacifico', cursive !important;
    width: auto !important;
    white-space: nowrap !important;
    margin-right: 2% !important;
}

.logo-img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
    border: 2px solid var(--primary-white) !important;
}

/* Navegaci贸n principal */
.nav-menu {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 0 1% !important;
    gap: 5px !important;
    justify-content: center !important;
}

.nav-item {
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.nav-item a {
    text-decoration: none !important;
    color: var(--primary-white) !important;
    font-weight: 500 !important;
    padding: 10px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    font-family: "Poppins", sans-serif !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.nav-item a i {
    margin-right: 0.5rem !important;
    width: 18px !important;
    text-align: center !important;
}

.nav-item a:hover,
.nav-item a.active {
    background-color: var(--primary-white) !important;
    color: var(--primary-darkgreen) !important;
}

.nav-item a.active {
    font-weight: 600 !important;
}

/* 馃煩 NUEVO: Para marcar el men煤 principal si un submen煤 est谩 activo */
.nav-item.dropdown.active > a,
.nav-item.dropdown.active > .dropdown-toggle {
    background-color: var(--primary-white) !important;
    color: var(--primary-darkgreen) !important;
    font-weight: 600 !important;
}

/* Dropdown en men煤 principal */
.dropdown {
    position: relative !important;
}

.dropdown-toggle {
    cursor: pointer !important;
}

.dropdown-toggle .fa-chevron-down {
    margin-left: 5px !important;
    font-size: 0.8rem !important;
    transition: transform 0.3s !important;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg) !important;
}

.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: var(--primary-white) !important;
    min-width: 280px !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 5px !important;
    padding: 0 !important;
    z-index: 1001 !important;
    list-style: none !important;
}

.dropdown-menu li {
    width: 100% !important;
}

.dropdown-menu a {
    color: var(--primary-red) !important;
    padding: 0.7rem 1rem !important;
    display: block !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    border-left: 0 solid var(--primary-red) !important;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: rgba(220, 53, 69, 0.1) !important;
    border-left: 4px solid var(--primary-red) !important;
    padding-left: calc(1rem - 4px) !important;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* Bot贸n hamburguesa */
.hamburger {
    display: none !important;
    background: none !important;
    border: none !important;
    color: var(--primary-white) !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 0.5rem !important;
    border-radius: 5px !important;
}

/* Overlay */
.overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 9999 !important;
    backdrop-filter: blur(5px) !important;
    pointer-events: all !important;
}

.overlay.active {
    display: block !important;
}

/* Men煤 m贸vil lateral */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: -310px !important;
    width: 310px !important;
    height: 100% !important;
    background-color: var(--primary-red) !important;
    z-index: 10000 !important;
    box-shadow: 2px 0 15px rgba(0,0,0,0.4) !important;
    transition: left 0.3s ease !important;
    overflow-y: auto !important;
    padding: 0 !important;
    height: 100vh !important;
    padding-bottom: 70px !important;
}

.mobile-menu.active {
    left: 0 !important;
}

body.menu-open .header {
    z-index: 999 !important;
}

.mobile-menu .close-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: none !important;
    border: none !important;
    color: var(--primary-white) !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    z-index: 10001 !important;
}

.mobile-menu .mobile-dropdown-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-menu ul {
    list-style: none !important;
    padding: 50px 0 0 0 !important;
    margin: 0 !important;
}

.mobile-menu .nav-item {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
}

.mobile-menu .nav-item a {
    display: block !important;
    align-items: center !important;
    padding: 15px 20px !important;
    color: var(--primary-white) !important;
    text-decoration: none !important;
    border-left: 4px solid transparent !important;
}

.mobile-menu .nav-item a i {
    margin-right: 10px !important;
    width: 20px !important;
    text-align: center !important;
}

.mobile-menu .nav-item a:hover,
.mobile-menu .nav-item a.active {
    background-color: rgba(255,255,255,0.1) !important;
    border-left: 4px solid var(--primary-white) !important;
}

/* 馃煩 NUEVO: Para marcar men煤 principal en men煤 m贸vil */
.mobile-dropdown.open > .mobile-dropdown-toggle {
    background-color: rgba(255,255,255,0.1) !important;
    color: var(--primary-white) !important;
    font-weight: 600 !important;
    border-left: 4px solid var(--primary-white) !important;
}

.mobile-dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    cursor: pointer !important;
}

.mobile-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s !important;
}

.mobile-dropdown.open .fa-chevron-down {
    transform: rotate(180deg) !important;
}

.mobile-dropdown-menu {
    display: none !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: rgba(0,0,0,0.2) !important;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block !important;
}

.mobile-dropdown-menu li a {
    padding-left: 20px !important;
    font-size: 1rem !important;
    border-left: 0 !important;
}

.mobile-dropdown-menu li a:hover,
.mobile-dropdown-menu li a.active {
    background-color: rgba(255,255,255,0.1) !important;
    border-left: 4px solid var(--primary-white) !important;
    padding-left: 21px !important;
}

body.menu-open {
    overflow: hidden !important;
}

body.menu-open .float-button,
body.menu-open .whatsapp-button,
body.menu-open .floating-button,
body.menu-open [class*="whatsapp"],
body.menu-open [class*="float"] {
    z-index: 999 !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Media queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    .hamburger {
        display: block !important;
    }
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .nav-left {
        padding-left: 10% !important;
    }
    .nav-right {
        padding-right: 10% !important;
    }
    .header {
        padding: 0.8rem 0 !important;
    }
    .logo {
        font-size: 1.3rem !important;
    }
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
}


/* Espacio para el contenido debajo del header fijo */
main {
    margin-top: 90px; /* Ajustar seg煤n la altura del header */
    padding: 20px;
}

 /* Secci贸n Hero con fondo din谩mico */
.hero_Hero {
    margin: 65px 0 0 0;
    position: relative;
    width: 100%;
    height: 82vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Overlay con gradiente para mejor legibilidad */
.hero_Hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Contenido centrado con animaci贸n */
.hero-content_Hero {
    position: relative;
    z-index: 2;
    max-width: 500px;
    padding: 30px;
    animation: fadeIn_Hero 1s ease-in-out;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn_Hero {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para t铆tulos y textos */
.hero-content_Hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.hero-content_Hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Bot贸n con efecto hover */
.hero-content_Hero .cta-button_Hero {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.4);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content_Hero .cta-button_Hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 7px 20px rgba(255, 126, 95, 0.6);
    background: linear-gradient(135deg, #feb47b, #ff7e5f);
}

.hero-content_Hero .cta-button_Hero:active {
    transform: translateY(1px);
}

/* Estilos para los botones de navegaci贸n */
.nav-button_Hero {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.nav-button_Hero:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

#prev-button_Hero {
    left: 20px;
}

#next-button_Hero {
    right: 20px;
}

/* Estilos para los indicadores (bullets) */
.bullet-container_Hero {
    position: absolute;
    bottom: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 3;
}

.bullet_Hero {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s;
    cursor: pointer;
}

.bullet_Hero:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.bullet_Hero.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}


/* Estilos del bot贸n */
.cta-button {
    display: inline-block;
    margin-top: 50px;
    padding: 12px 25px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #c70039;
}
/* Asegura que el cta-item no tenga los mismos estilos que los otros .nav-item */
.cta-item {
    margin-left: auto; /* Lo mueve a la derecha si es necesario */
    padding: 0; /* Elimina cualquier padding que herede */
    list-style: none; /* Evita estilos predeterminados de listas */
}

/* Estilos exclusivos para el bot贸n CTA */
.cta-item .BTN-CTA {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: var(--primary-white); /* Color oficial de WhatsApp */
    color: #1ebe57;
    padding: 10px 10px; /* Aumenta tama帽o sin distorsionar */
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
    white-space: nowrap; /* Evita que el texto se divida */
}

.cta-item .BTN-CTA i {
    font-size: 22px;
}

.cta-item .BTN-CTA:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
    color: var(--primary-white);
}


/* Responsive styles */
@media (max-width: 768px) {
    .hero-content_Hero h1 {
        font-size: 2.5rem;
    }

    .hero-content_Hero p {
        font-size: 1.2rem;
    }

    .hero-content_Hero .cta-button_Hero {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .nav-button_Hero {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .bullet_Hero {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}


        .services {
            background-color: #F2B907;
            padding: 2rem;
            display: flex;
            justify-content: center;
            gap: 5.5rem;
            flex-wrap: wrap;
        }

        .service-card {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            width: 200px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
        }

        .service-card i {
            font-size: 2rem;
            color: var(--primary-red);
            margin-bottom: 1rem;
        }

        /* Bot贸n flotante */
        .whatsapp-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            border: none;
            transition: transform 0.3s ease, background-color 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000000;
        }

        /* Animaci贸n al cambiar a X */
        .whatsapp-button.open {
            background-color: #FF4D4D;
            transform: rotate(180deg);
        }

        /* Chat flotante */
        .chat-container {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 320px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transform: scale(0.8);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease;
            z-index: 9999; /* Asegura que el chat aparezca encima de todo */
        }

        /* Cuando el chat est谩 abierto */
        .chat-container.open {
            opacity: 1;
            transform: scale(1);
            visibility: visible;
        }

        /* Encabezado del chat */
        .chat-header {
            background: #25D366;
            color: white;
            padding: 12px;
            font-size: 16px;
            font-weight: bold;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-header i {
            font-size: 20px;
        }

        /* Contenido del chat */
        .chat-body {
            padding: 15px;
            font-size: 14px;
            color: #333;
            background: #f1f1f1;
            
           
        }

        /* Bot贸n dentro del chat */
        .contact-card {
            display: flex;
            align-items: center;
            background: white;
            margin-top: 10px;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: background 0.3s;
            
        }

        .contact-card:hover {
            background: #e0e0e0;
        }

        .contact-card img {
            width: 40px;
            height: 40px;
            margin-right: 10px;
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hamburger {
                display: block;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .services {
                padding: 1rem;
                gap: 1.5rem;
            }

            .service-card {
                width: 100%;
                max-width: 300px;
            }
        }
        
        .card-wrapper{
            max-width: 1500px;
            margin: 0 60px 35px;
            padding: 20px 10px;
            overflow: hidden;
        }
 
           /* Contenedor de lista de tarjetas */
.card-list .card-item {
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Enlace principal de la tarjeta */
.card-list .card-item .card-link {
    user-select: none;
    display: block;
    background: linear-gradient(135deg, #00a854 0%, #00733c 35%, #004d29 100%);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 
        0 16px 20px rgba(0, 115, 60, 0.12),
        0 6px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    
}

/* Efecto de reflejo autom谩tico que pasa cada 4 segundos - SOLO en el contenido, no en la imagen */
.card-list .card-item .card-link::before {
    content: '';
    position: absolute;
    top: 320px; /* Comienza despu茅s de la imagen */
    left: -100%;
    width: 30%;
    height: calc(100% - 320px); /* Solo cubre el 谩rea sin imagen */
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.25) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: autoReflection 4s infinite;
    z-index: 2;
    pointer-events: none;
}

/* Animaci贸n del reflejo autom谩tico */
@keyframes autoReflection {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

/* Estados hover y active mejorados */

.card-list .card-item .card-link:hover{
    transform: scale(1.02); /* Peque帽o zoom */
    box-shadow: 
        0 24px 32px rgba(0, 115, 60, 0.18),
        0 12px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 0 1px rgba(0, 168, 84, 0.2);
    background: linear-gradient(135deg, #00c562 0%, #00a854 35%, #00733c 100%);

}

/* Imagen de la tarjeta - SIN bordes verdes visibles */
.card-list .card-link .card-image {
    width: 100%;
    height: 320px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px 12px 0 0; /* Coincide exactamente con el border-radius del contenedor */
    position: relative;
    z-index: 3; /* Z-index m谩s alto para estar por encima del reflejo */
    font-size: 1.19rem;
    color: black;
    font-weight: 600;
    display: block;
}

/* Contenedor del contenido del paquete */
.package-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Contenedor de t铆tulo y precio */
.title-price-container {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 15px;
    height: 60px;
    min-height: 60px;
}

/* T铆tulo de la tarjeta */
.card-list .card-link .card-title {
    flex: 1;
    font-size: 1.3rem;
    color: var(--primary-white);
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Precio de la tarjeta */
.card-list .card-link .card-price {
    font-size: 1.23rem;
    color: var(--primary-white);
    text-align: right;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
    margin-left: 10px;
}

/* Informaci贸n del paquete */
.package-info {
    padding: 15px;
    flex-grow: 1;
}

.info {
    padding: 15px;
    text-align: left;
    color: var(--primary-white);
}

/* Contenedor de botones */
.buttons {
    display: flex;
    gap: 12px;
    margin: 10px 0;
    padding: 20px;
    margin-top: auto;
}

/* Estilos base para botones */
button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Bot贸n de consulta (transparente) */
.card-buttonQ {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.card-buttonQ:hover {
    background: rgba(39, 174, 96, 0.9);
    color: white;
    border-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(39, 174, 96, 0.3);
}

/* Bot贸n de compra (s贸lido) */
.card-buttonB {
    background: var(--primary-white);
    color: var(--primary-green);
    border: 2px solid transparent;
    font-weight: 600;
}

.card-buttonB:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
}

/* Efectos de clic para botones */
.card-buttonQ:active,
.card-buttonB:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Mejora de accesibilidad */
.card-list .card-item .card-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Animaci贸n de entrada para las tarjetas */
.card-list .card-item {
    animation: cardFadeIn 0.6s ease-out backwards;
}

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
       /* Estilos por defecto (pantallas grandes) */
.card-wrapper .swiper-pagination-bullet {
    display: none; /* Oculta los bullets en pantallas grandes */
}
.card-wrapper .swiper-slide-button {
    display: block !important;  /* Asegurar que est茅n visibles */
    opacity: 1 !important;      /* Mantenerlos activos */
    pointer-events: auto !important;
    color: #00743a;
    margin-top: -35px;
    font-size: 50px; /* Aumenta el tama帽o */
    font-weight: bold;
}
.swiper-slide-button:hover {
    color: #005f3c;
}
       /* Media Queries para pantallas de tablet */
       @media (min-width: 769px) and (max-width: 1024px) {
        /* Secci贸n Hero con fondo din谩mico */
        .nav-menu {
            display: none;
        }
        .hamburger {
            display: block;
        }
    
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .nav-left {
            padding-left: 10%;
        }
        
        .nav-right {
            padding-right: 10%;
        }
        .mobile-menu {
            position: fixed;
            top: 0;
            left: -600px;
            width: 600px;
            height: 100%;
            background-color: var(--primary-red);
            z-index: 10000;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.4);
            transition: left 0.3s ease;
            overflow-y: auto;
            padding: 0;
        }
        .mobile-menu.active {
            left: 0;
        }
        .mobile-menu .nav-item a {
            display: block;
            align-items: center;
            padding: 15px 20px;
            color: var(--primary-white);
            text-decoration: none;
            border-left: 4px solid transparent;
            font-size: 30px;
            margin-bottom: 5px;
        }
        .mobile-menu .nav-item a i {
            margin-right: 20px;
            width: 20px;
            text-align: center;
        }

        .hero-content h1 {
            font-size: 2rem;
        }

        .services {
            padding: 1rem;
            gap: 1.5rem;
        }

        .service-card {
            width: 100%;
            max-width: 300px;
        }
        .hero {
            margin: 60px 0 0 0;  /* Ajustar el margen superior para tablets */
            height: 60vh;        /* Ajustar la altura para tablets */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: background-image 1s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }
    
        /* Fondo oscuro semi-transparente para mejorar la visibilidad del texto */
        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
        }
    
        /* Contenido centrado */
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 500px;  /* Ajustar el ancho m谩ximo del contenido para tablets */
        }
        .popular {
         margin: 3% 3% 0 3%;
         padding: 10px 10px;   
        }
        .card-wrapper{
            max-width: 1250px;
            margin: 0;
            padding: 20px 10px;
            overflow: hidden;
        }
        .card-wrapper .swiper-pagination-bullet {
            height: 13px;
            width: 13px;
            opacity: 0.5;
            background: #00733c; /* Fondo verde */
            border: 2px solid #ffffff; /* Borde blanco */
            border-radius: 50%; /* Asegura que sean c铆rculos */
            display: inline-block; /* Muestra los bullets solo en pantallas peque帽as */
        }
    
        .card-wrapper .swiper-pagination-bullet-active {
            opacity: 1;
        }
        .card-wrapper .swiper-slide-button {
            display: none !important;  /* Ocultar los botones */
        }
    
        
    }
    /* Media Queries para pantallas peque帽as */
@media (min-width: 769px) and (max-width: 1024px) {
    
    .header {
        background-color: var(--primary-red);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: fixed;
        width: 100%;
        top: 0;
        margin-bottom: 10px;
        z-index: 1000;
    }



}

/* Estilos para pantallas peque帽as */acti
@media (max-width: 768px) {
    .card-wrapper .swiper-pagination-bullet {
        height: 13px;
        width: 13px;
        opacity: 0.5;
        background: #00733c; /* Fondo verde */
        border: 2px solid #ffffff; /* Borde blanco */
        border-radius: 50%; /* Asegura que sean c铆rculos */
        display: inline-block; /* Muestra los bullets solo en pantallas peque帽as */
    }

    .card-wrapper .swiper-pagination-bullet-active {
        opacity: 1;
    }
}

       
        
        /* Ocultar en pantallas peque帽as */
        @media screen and (max-width: 768px) {
            .card-wrapper {
                margin: 0 10px 25px;
            }
        
            .card-wrapper .swiper-slide-button {
                display: none !important;  /* Ocultar los botones */
            }
            
            
        }
        

  /* Secci贸n de M茅todos de Pago */
.payment-section {
    padding: 55px;
}

.payment-section h2 {
    color: #444;
    margin-bottom: 5px;
}

.payment-section p {
    color: #666;
    font-size: 16px;
}

.payment-icons img {
    width: 90px;
    margin: 10px;
    background-color: var(--primary-white);
    border-radius: 2px;
    box-shadow: 2px 2px 10px 2px var(--primary-white);
}


/* Secci贸n de Preguntas */
.question-section {
    text-align: center;
    padding: 80px;
}

.question-section h2 {
    color: #444;
    margin-bottom: 20px;
}

.question-button {
    display: inline-block;
    background: #00733c;
    color: white;
    padding: 20px 120px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
}

.question-button:hover {
    background: #1e8c50;
    transform: scale(1.05); /* Aumenta el tama帽o un 5% */
    transition: transform 0.2s ease-in-out;
}
@media screen and (max-width: 768px) {
    .question-section {
        padding: 40px 20px; /* Reduce el padding para evitar demasiado espacio */
    }

    .question-section h2 {
        font-size: 20px; /* Reduce el tama帽o del t铆tulo */
        margin-bottom: 15px;
    }

    .question-button {
        display: block; /* Hace que el bot贸n ocupe todo el ancho */
        width: 100%;
        max-width: 280px; /* Limita el ancho m谩ximo */
        padding: 15px 20px; /* Reduce el tama帽o del padding */
        font-size: 14px; /* Ajusta el tama帽o del texto */
        margin: 0 auto; /* Centra el bot贸n */
    }
}



/* Contenedor grande de esquina a esquina */
/* ===========================
   Fondo animado para tours/viajes
   =========================== */
.container12{
  /* Variables (ajústalas a tu gusto) */
  --base:  #F2B907;  /* color base */
  --tile:  20px;    /* tamaño del mosaico: debe coincidir con el "tile" del SVG */
  --alpha: 0.10;     /* opacidad del patrón */
  --speed: 60s;      /* velocidad de paneo */

  position: relative;
  width: 100%;
  padding: 0;
  background: var(--base);
  overflow: hidden;
}

/* Capa 1 (patrón) */
.container12::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/mountain.svg"); /* tu archivo externo */
  background-repeat: repeat;
  background-size: var(--tile) var(--tile);
  background-position: 0 0;
  opacity: var(--alpha);
  animation: travelPan var(--speed) linear infinite;
  transform: translateZ(0);
  pointer-events: none;
}

/* Contenido por encima */
.container12 > *{
  position: relative;
  z-index: 1;
}

/* Animación de paneo diagonal infinito */
@keyframes travelPan{
  from { background-position: 0 0; }
  to   { background-position: var(--tile) var(--tile); }
}




.container1234 {
    width: 100%;
    padding: 40px 0;
    background-color: whitesmoke;

}
.popular {
    max-width: 1500px;
    margin: auto;
    padding: 15px 70px;

}

.popular h2 {
    font-size: 22px;
    margin-right: 50px;
    padding:20px 70px;
    color: #4c2912;
    display: flex;    
    font-family: "Poppins", sans-serif;
    gap: 8px;
}
.popular h2.popular-title {
    font-size: 22px;
    margin-right: 50px;
    padding:20px 70px;
    color: #4c2912;
    font-family: "Poppins", sans-serif;
    display: flex;    
    gap: 8px;
}
@media screen and (max-width: 768px) {
    .popular {
        padding: 15px 0px; /* Reduce el padding para evitar demasiado espacio */
    }
    .fa-earth-americas {
        font-size: 17px !important;
      }
    .fa-map-location-dot {
        font-size: 17px !important;
      }
    .fa-route {
        font-size: 17px !important;
      }
    .popular h2 {
        font-size: 14px; /* Reduce el tama帽o del texto */
        margin-right: 20px; /* Reduce el margen derecho */
        padding: 15px 20px; /* Reduce el padding para evitar demasiado espacio */
        gap: 5px; /* Reduce la separaci贸n si es necesario */
    }
    .popular h2.popular-title {
        font-size: 14px;
        margin-right: 20px;
        padding: 15px 20px;
        gap: 5px;
    }
}



.info {
    padding: 15px;
    text-align: left;
}

.info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.info p {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

button {
    flex: 1;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.quote {
    background: transparent;
    color: #27ae60;
    border: 2px solid #27ae60;
    transition: background 0.3s ease, color 0.3s ease;
}

.quote:hover {
    background: #27ae60;
    color: white;
}

.buy {
    background: #27ae60;
    color: white;
    transition: background 0.3s ease;
}

.buy:hover {
    background: #1e8c50; /* Un tono m谩s oscuro de verde */
}

.container123 {
    width: 100%;
    padding: 0px 0;
    background-color: white;
}
/* Fondo del Splash */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #e61822; /* Fondo oscuro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100000000000000000000000;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
}

/* Logo */
.splash-logo {
    width: 180px;
    animation: fadeInZoom 1.5s ease-in-out;
}

/* Animaci贸n de entrada del logo */
@keyframes fadeInZoom {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Texto de carga */
.loading-text {
    font-size: 20px;
    color: white;
    margin-top: 15px;
    font-weight: bold;
}

/* Animaci贸n de puntos suspensivos */
.dots::after {
    content: " ";
    display: inline-block;
    animation: dotsAnimation 1.5s infinite;
}

@keyframes dotsAnimation {
    0% { content: "."; }
    33% { content: ".."; }
    66% { content: "..."; }
    100% { content: ""; }
}

/* Barra de carga */
.progress-bar {
    width: 200px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

.progress {
    width: 0;
    height: 100%;
    background: var(--primary-white); /* Color verde */
    transition: width 2.5s ease-in-out;
}

/* Ocultar el splash */
.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s ease;
}