:root {
    --primary: #2c5aa0;
    --primary-dark: #1a3a5c;
    --secondary: #f5a623;
    --success: #27ae60;
    --danger: #e74c3c;
    --info: #3498db;
    --warning: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}


.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--bg-tesoro-amarillo);
    z-index: 0;
}

.map-container img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .content-wrapper {
    flex-direction: row;
}

.timeline-item:nth-child(even) .content-wrapper {
    flex-direction: row-reverse;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid var(--bg-tesoro-amarillo);
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 var(--bg-tesoro-amarillo);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--bg-tesoro-amarillo);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.3);
    background: var(--bg-tesoro-amarillo);
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-tesoro-rojo-claro);
    font-weight: bold;
    font-size: 0.9rem;
    pointer-events: none;
}

.timeline-dot:hover .step-number {
    color: white;
}

.card-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 500px;
}

.card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-content:hover .card-image {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--bg-tesoro-rojo-claro);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.btn-location {
    background: var(--bg-tesoro-naranja);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-location:hover {
    transform: scale(1.05);
}

.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

.control-buttons {
    text-align: center;
    margin: 40px 0;
}

.control-buttons button {
    margin: 0 10px;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: 2px solid white;
    background: transparent;
    color: var(--bg-tesoro-rojo-claro);
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-buttons button:hover {
    background: white;
    color: var(--bg-tesoro-rojo-claro);
    transform: scale(1.05);
}

/* 1. Estilo para el contenedor general del Mapa y QR */
.map-and-qr-container {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    position: relative;
    left: 100px;
}

/* 2. Estilo para la imagen del mapa */
.img-mapa {
    /* CLAVE: Asegura que la imagen ocupe el 100% del ancho del contenedor. */
    width: 100%;
    height: auto;
    /* Remover object-fit: contain para permitir que se estire/adapte */
    /* Si la imagen no tiene esquinas redondeadas en la parte superior,
           puedes añadir border-top-left-radius/border-top-right-radius aquí si es necesario. */
}

.mapa-modal-img{
    max-height: 50vh;
    object-fit: cover;
}

/* 3. Estilo para la caja del QR debajo del mapa */
.qr-box {
    /* Puedes añadir un borde superior si quieres separarlo visualmente del mapa */
    border-top: 1px solid #e9ecef;
    /* Borde gris muy claro */
}

.my-accordion-btn {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 12px 15px;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
}

.my-accordion-btn.collapsed {
    background: #ffffff;
}

.my-accordion-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 8px;
}

.my-accordion-body {
    padding: 15px;
    background: #fff;
    border-left: 3px solid #0d6efd;
}

.subtitle {
    font-size: 1.1em;
    color: #94a3b8;
    font-weight: 300;
}

.route-container {
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.route-container::-webkit-scrollbar {
    height: 8px;
}

.route-container::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 10px;
}

.route-container::-webkit-scrollbar-thumb {
    background: var(--bg-tesoro-amarillo);
    border-radius: 10px;
}

.route-wrapper {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    min-width: min-content;
}

.destination-card {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.destination-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.destination-card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 40px 30px;
    color: white;
}

.day-badge {
    background: var(--bg-tesoro-amarillo);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.destination-card h3 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.destination-card p {
    font-size: 1em;
    line-height: 1.6;
    color: #e2e8f0;
    font-weight: 300;
}

.arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    font-size: 2.5em;
    color: var(--bg-tesoro-rojo-claro);
    animation: slideArrow 2s infinite;
}





/* HERO SECTION */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: none;
}


section.hero-section.pt-5.pb-4 {
    max-height: 100vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-card-mapa {
    background: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.hero-card-mapa:hover {
    transform: translateY(-10px);
}

.hero-card-mapa img {
    position: relative;
    object-fit: cover;
    width: 77%;
    filter: brightness(1.1) contrast(1.2);
}

/* INFO CARDS */
.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--secondary) !important;
}

/* MAPA SECTION */
.mapa-section {
    background: #fff;
}

.map-container {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16/10;
}

.accordion-button:not(.collapsed) {
    background-color: var(--title-color) !important;
    border-radius: 5px 5px 0 0 !important;
    color: white !important;
}

.accordion-button {
    border-radius: 8px !important;
    margin-bottom: 10px;
}



/* EXPERIENCIAS */
.experience-card {
    transition: all 0.3s ease;
}

.experience-card img {
    height: 200px;
    object-fit: cover;
}

.hover-scale {
    transform: scale(1);
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* GUÍAS */
.guide-card {
    transition: all 0.3s ease;
    border-radius: var(--border-radius) !important;
}

.guide-card img {
    height: 250px;
    object-fit: cover;
}

.guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

/* INCLUIDO */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.check-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.check-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* PRECIOS */
.pricing-card {
    border-radius: var(--border-radius) !important;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card:not(.featured):hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.price .amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.pricing-card .btn {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
}

/* TESTIMONIOS */
.testimonial-card {
    border-radius: var(--border-radius) !important;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.stars i {
    margin-right: 5px;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-final .btn {
    transition: all 0.3s ease;
}

.cta-final .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* MODAL */
.modal-content {
    border-radius: var(--border-radius) !important;
}

.modal-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 12px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--secondary) !important;
    text-decoration: underline !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 30px;
    }

    .hero-card-mapa img {
        height: 380px;
        width: 40%;
        left: 180px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-marker::after {
        height: 100%;
        left: 50%;
    }

    .timeline-content img {
        height: 200px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .min-vh-70 {
        min-height: auto;
        padding-top: 20px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .timeline-item {
        margin-bottom: 40px;
    }

    .hero-card-mapa img {
        height: 370px;
        width: 70%;
        left: 54px;
        top: -17px;
        top: -17px;
    }

    .map-container {
        aspect-ratio: auto;
        height: 300px;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .btn-group-vertical {
        width: 100%;
    }

    .pricing-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 320px) {
    .hero-card-mapa img {
        height: 270px;
        width: 70%;
        left: 50px;
        top: -10px;
    }
}

@media (min-width: 1527px) {
    .hero-section {
        height: 100vh;
    }

    .hero-card-mapa img {
        width: 100%;
    }
}

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.hero-card-mapa {
    animation: fadeInUp 0.6s ease-out;
}

/* SCROLL SMOOTH */
a[href*="#"] {
    scroll-behavior: smooth;
}

/* SHADOW UTILITIES */
.shadow-md {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.d-flex::-webkit-scrollbar {
    height: 8px;
}

.d-flex::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 5px;
}

:root {
    --orange-gradient: linear-gradient(90deg, #f39200 0%, #e94e1b 100%);
}

.tour-card {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #f39200;
    background-color: white;
    min-height: 150px;
}

.operator-section {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.operator-section h6 {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.logo-placeholder {
    max-width: 150px;
    height: auto;
}

.recommendations-section {
    background: var(--orange-gradient);
    color: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recommendations-section h2 {
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.recommendations-section h2 span {
    font-weight: 100;
    opacity: 0.8;
    font-style: italic;
}

.list-items {
    font-size: 0.85rem;
    line-height: 1.4;
}

.bullet-point {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.bullet-point::before {
    content: "•";
    position: absolute;
    left: 0;
}


.include-container {
    background-color: #fffaf5;
    /* Fondo crema suave */
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.include-header {
    background: linear-gradient(90deg, #f39200 0%, #f7b24a 100%);
    padding: 10px 25px;
    color: white;
}

.include-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: bold;
}

.include-header h2 span {
    font-weight: 300;
    font-style: italic;
}

.include-body {
    padding: 20px 25px;
}

.include-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
    color: #444;
    font-size: 0.95rem;
}

/* Viñeta personalizada */
.include-body ul li::before {
    content: "•";
    color: #e94e1b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.text-english {
    color: #777;
    font-style: italic;
    font-weight: 300;
}

.physical-level {
    font-size: 0.8rem;
    color: #e94e1b;
    border-top: 1px solid #ffe0b2;
    padding-top: 10px;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .tour-card {
        border-radius: 15px;
        width: 100%;
    }

    .recommendations-section {
        border-radius: 0 0 15px 15px;
    }
}




@keyframes slideArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

.scroll-indicator {
    text-align: center;
    margin-top: 40px;
    color: #64748b;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.scroll-indicator::before,
.scroll-indicator::after {
    content: '';
    width: 40px;
    height: 1px;
    background: #334155;
}

@media (max-width: 1024px) {
    .destination-card {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .destination-card {
        width: 300px;
        height: 400px;
    }

    .destination-card h3 {
        font-size: 1.6em;
    }

    .card-overlay {
        padding: 30px 25px;
    }

    .arrow-connector {
        min-width: 30px;
        font-size: 2em;
    }
}

@media (max-width: 480px) {

    header {
        margin-bottom: 40px;
    }

    h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 0.95em;
    }

    .destination-card {
        width: 280px;
        height: 380px;
    }

    .destination-card h3 {
        font-size: 1.4em;
    }

    .destination-card p {
        font-size: 0.9em;
    }
}



@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 10px;
    }

    .content-wrapper {
        flex-direction: column !important;
        padding-left: 70px;
    }

    .card-content {
        max-width: 100%;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 1rem;
    }

    .map-and-qr-container {
        left: 0;
        max-width: 100%;
    }
}
/* 
.modal-header {
    background: linear-gradient(135deg, var(--bg-tesoro-rojo-claro) 0%, #764ba2 100%);
    color: white;
} */

.modal-body img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}