/* ==================== VARIABLES ==================== */
:root {
    --primary: #03bfac;
    --secondary: #2a3c54;
    --accent: #066aab;
    --dark: #1a2332;
}

/* ==================== GENERAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

html {
    scroll-behavior: smooth;
}


/* ==================== STATS SECTION ==================== */
.stats-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(3, 191, 172, 0.1) 0%, transparent 70%);
}

.stat-card {
    padding: 2rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(3, 191, 172, 0.3);
}

.stat-number {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* ==================== FLIP CARDS CORREGIDAS ==================== */
/* ==================== FLIP CARDS CORREGIDAS 100% ==================== */
.flip-cards-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #e8eef5 100%);
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
    background-color: #bbb;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2.5rem 1.5rem 1.5rem;
}

.flip-card-label h4 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.flip-card-back {
    background: linear-gradient(135deg, #2a3c54 0%, #066aab 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.flip-card-back::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(3, 191, 172, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.flip-icon {
    font-size: 2.5rem;
    color: #03bfac;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.flip-card-back h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.flip-card-back p {
    line-height: 1.5;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    text-align: center;
}

.destination-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.destination-features li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.destination-features i {
    color: #03bfac;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.flip-card-back .btn {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    background: white;
    color: #2a3c54;
    border: none;
    transition: all 0.3s ease;
}

.flip-card-back .btn:hover {
    background: #03bfac;
    color: white;
    transform: scale(1.05);
}

/* Responsive para flip cards */
@media (max-width: 991px) {
    .flip-card {
        height: 400px;
    }
    
    .flip-card-back h3 {
        font-size: 1.3rem;
    }
    
    .flip-card-back p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .flip-card {
        height: 350px;
    }
    
    .flip-card-back {
        padding: 1.5rem 1rem;
    }
    
    .flip-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .flip-card-back h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .flip-card-back p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .destination-features li {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
}

/* ==================== SERVICES ==================== */
.services {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 191, 172, 0.05) 0%, rgba(6, 106, 171, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(3, 191, 172, 0.2);
    border-color: var(--primary);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

/* ==================== WHY US ==================== */
.why-us {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(3, 191, 172, 0.3);
}

.feature-content h5 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 191, 172, 0.15);
    border-color: var(--primary);
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== CR INFO ==================== */
.cr-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 191, 172, 0.15);
    border-color: var(--primary);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(3, 191, 172, 0.3);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(3, 191, 172, 0.2) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

/* ==================== CONTACT ==================== */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(3, 191, 172, 0.15);
    border-color: var(--primary);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(3, 191, 172, 0.3);
}

.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    padding: 12px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(3, 191, 172, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 191, 172, 0.4);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: 50px;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: var(--primary);
}

.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(3, 191, 172, 0.1) 0%, transparent 50%);
      pointer-events: none; /* 👈 AGREGA ESTA LÍNEA */
}

.footer-logo {
    max-width: 150px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: translateY(-3px);
    color: white;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(3, 191, 172, 0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 191, 172, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
    .hero-slider {
        margin-top: 70px;
    }
    
    .heroSwiper {
        height: 70vh;
    }
    
    .display-2 {
        font-size: 2.5rem;
    }
    
    .flip-card {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .heroSwiper {
        height: 60vh;
    }
    
    .display-2 {
        font-size: 2rem;
    }
    
    .flip-card {
        height: 350px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}




/* ---- Modern Gradient Button #0f94ac ---- */
.btn.btn-primary.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 38px;
    background: linear-gradient(135deg, #0f94ac 0%, #066aab 50%, #2a3c54 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(15, 148, 172, 0.35);
    z-index: 1;
}

/* Hover: shift gradient + lift */
.btn.btn-primary.btn-lg:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 148, 172, 0.5);
    color: #fff;
}

/* Active: press down */
.btn.btn-primary.btn-lg:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 148, 172, 0.4);
}

/* Shine sweep animation on hover */
.btn.btn-primary.btn-lg::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.btn.btn-primary.btn-lg:hover::after {
    left: 100%;
}
