: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;
}



/* 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 .mapa-svg {
    position: relative;
    object-fit: cover;
    width: 67%;
    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 .mapa-svg {
        width: 85%;
    }
}

/* 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);
}


.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-section {
    text-align: center;
    padding: 40px 20px;
    z-index: 10;
}


.treasures-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 3px;
    background: #fff5e8;
    border-radius: 1rem;
    overflow: hidden;
    align-items: stretch;
}


.treasures-showcase > div:first-child {
    grid-row: span 2; 
}

.treasure-box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
}

.treasure-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.3) 0%, rgba(167, 139, 250, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.treasure-box:hover::before {
    opacity: 1;
}

.treasure-bg {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.6);
}

.treasure-box:hover .treasure-bg {
    transform: scale(1.2) rotate(2deg);
    filter: brightness(0.8);
}

.treasure-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    transform: translateY(40%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.treasure-box:hover .treasure-info {
    transform: translateY(0);
}

.treasure-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: inline-block;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.treasure-box:hover .treasure-icon {
    transform: scale(1.1);
}

.treasure-title {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.treasure-desc {
    font-size: 1em;
    color: #cbd5e1;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.treasure-box:hover .treasure-desc {
    opacity: 1;
    transform: translateY(0);
}

.pulse-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-tesoro-amarillo);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--bg-tesoro-rojo-claro);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

@media (max-width: 1024px) {
    .header-section h1 {
        font-size: 2.5em;
    }

    .treasures-showcase {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-container {
        height: auto;
    }

    .header-section {
        padding: 30px 20px;
    }

    .header-section h1 {
        font-size: 2em;
    }

    .header-section p {
        font-size: 1em;
    }

    .treasures-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2px;
    }

    .treasure-box {
        min-height: 350px;
    }

    .treasure-info {
        transform: translateY(0);
        padding: 30px 25px;
    }

    .treasure-desc {
        opacity: 1;
        transform: translateY(0);
    }

    .treasure-title {
        font-size: 1.5em;
    }

    .treasure-icon {
        font-size: 2.5em;
    }
}

@media (max-width: 480px) {
    .header-section h1 {
        font-size: 1.8em;
    }

    .treasure-box {
        min-height: 300px;
    }

    .treasure-info {
        padding: 25px 20px;
    }

    .treasure-title {
        font-size: 1.3em;
    }

    .treasure-desc {
        font-size: 0.9em;
    }
}

/* Efecto de partículas en el fondo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    animation: float 15s infinite;
    opacity: 0.3;
}