/* ========================================
   VARIABLES Y ANIMACIONES GLOBALES
======================================== */
:root {
    --primary-gradient: #000;
    --green-gradient: radial-gradient(circle at 30% 70%, #61bd98, #3a9d7a);
    --accent-green: #61bd98;
    --dark-blue: #003180;
    --medium-blue: #036da7;
    --white: #ffffff;
    --accent-yellow: #fbf036;
    --dark-color: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   ANIMACIONES KEYFRAMES
======================================== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wave {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(5px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(-5px); }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   NAVBAR CON DEGRADADO CIRCULAR ANIMADO
======================================== */
.modern-navbar {
    /* background: radial-gradient(circle at 50% 50%, #199ac5, #4f6dae) !important; */
    background:#000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(25, 154, 197, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.modern-navbar:hover::before {
    left: 100%;
}

.modern-navbar.scrolled {
    background: #000;
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.logo-img {
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(251, 240, 54, 0.6));
}

.modern-navbar .nav-link {
    color: rgba(255,255,255,0.95) !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.modern-navbar .nav-link:hover::before,
.modern-navbar .nav-link.active::before {
    width: 80%;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
    color: white !important;
    transform: translateY(-2px);
}

.modern-navbar .nav-link::after {

    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.modern-navbar .nav-link:hover::after {
    left: 10px;
    opacity: 1;
}

/* ========================================
   HERO CAROUSEL CON ANIMACIONES
======================================== */
.hero-carousel {
    margin-top: 0px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:    
 linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    
    animation: gradientShift 15s ease infinite;
    background-size: 400% 400%;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease;
}

.hero-content h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeIn 1.2s ease;
}

.hero-content p {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideUp 1s ease 0.3s both;
}

.hero-content .btn {
    animation: pulse 2s ease infinite;
}

/* ========================================
   BOTONES MODERNOS CON ANIMACIONES
======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    border: none;
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(97, 189, 152, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(97, 189, 152, 0.6);
    background: linear-gradient(135deg, #4fa885, var(--medium-blue));
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(97, 189, 152, 0.5);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
  transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(97, 189, 152, 0.6);
    background: linear-gradient(135deg, #4fa885, var(--medium-blue))
}

.btn-outline-light:hover::before {
    width: 300%;
    height: 300%;
}

.btn-outline-light:hover {
    color: var(--medium-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
    border-color: white;
}

.btn-outline-light span {
    position: relative;
    z-index: 1;
}

.btn-outline-primary {
    border: 2px solid var(--medium-blue);
    color: var(--medium-blue);
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
  color:#fff !important;
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

/* .btn-outline-primary:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(3, 109, 167, 0.4);
} */

.btn-outline-primary span {
    position: relative;
    z-index: 1;
}

.btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: scale(1.05);
}

/* ========================================
   FEATURE CARDS CON ANIMACIONES
======================================== */
.feature-card {
    background: white;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(97, 189, 152, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-green);
}

.feature-icon {
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    animation: wave 1s ease infinite;
}

/* ========================================
   FLIP CARDS - CORREGIDOS
======================================== */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 480px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    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%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    top: 0;
    left: 0;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.flip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.2), 
        rgba(0, 49, 128, 0.7),
        rgba(3, 109, 167, 0.9)
    );
    transition: all 0.4s ease;
}

.flip-card:hover .flip-overlay {
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.3), 
        rgba(0, 49, 128, 0.8),
        rgba(3, 109, 167, 0.95)
    );
}

.flip-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    width: 100%;
}

.flip-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.price-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    font-weight: 700;
    animation: pulse 2s ease infinite;
}

.price-tag strong {
    font-size: 1.5rem;
}

.flip-card-back {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(240,248,255,0.98) 50%,
        rgba(230,245,255,0.98) 100%
    );
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.flip-card-back h4 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.flip-card-back ul {
    text-align: left;
    margin: 0 auto;
    max-width: 90%;
}

.flip-card-back li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #555;
}

.flip-card-back .btn {
    margin-top: 1.5rem;
    animation: none;
}

/* ========================================
   ACCORDION MODERNO
======================================== */
.modern-accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.modern-accordion-item:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.modern-accordion-item .accordion-button {
    background: white;
    color: var(--dark-blue);
    font-weight: 600;
    padding: 1.3rem 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

.modern-accordion-item .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(97, 189, 152, 0.15), rgba(3, 109, 167, 0.15));
    color: var(--dark-blue);
    box-shadow: none;
}

.modern-accordion-item .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.modern-accordion-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003180'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.modern-accordion-item .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.modern-accordion-item .accordion-body {
    padding: 1.5rem;
    background: white;
    color: #555;
    animation: fadeIn 0.4s ease;
}

/* ========================================
   PAGE HEADER
======================================== */
.page-header {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0 100px;
    position: relative;
    margin-top: 76px;
    min-height: 400px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 49, 128, 0.85), 
        rgba(3, 109, 167, 0.75),
        rgba(97, 189, 152, 0.4)
    );
    animation: gradientShift 20s ease infinite;
    background-size: 400% 400%;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
}

/* ========================================
   BACKGROUNDS ANIMADOS
======================================== */

.porque-section{
     background: radial-gradient(circle at 30% 70%, #61bd98, #3a9d7a) ;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}
.bg-animated-gradient {
    background: radial-gradient(circle at 30% 70%, #61bd98, #3a9d7a) ;
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-green-gradient {
    background: radial-gradient(circle at 30% 70%, rgba(97, 189, 152, 0.1), rgba(58, 157, 122, 0.05));
}

.bg-wave-pattern {
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(97, 189, 152, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(3, 109, 167, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

/* ========================================
   SECCIONES NUEVAS CON DEGRADADOS
======================================== */
.stats-section {
    background: radial-gradient(circle at 30% 70%, #61bd98, #3a9d7a);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate360 20s linear infinite;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: block;
    animation: bounceIn 1s ease;
}

.stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Sección de Destinos Populares */
.destinations-section {
    background: linear-gradient(135deg, 
        rgba(97, 189, 152, 0.05) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(3, 109, 167, 0.05) 100%
    );
}

/* Sección de Testimonios */
.testimonials-section {
    background: linear-gradient(135deg, rgba(97, 189, 152, 0.05) 0%, rgba(255, 255, 255, 1) 50%, rgba(3, 109, 167, 0.05) 100%);
}


.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(97, 189, 152, 0.1);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--accent-green);
    object-fit: cover;
}

/* Sección de Procesos */
.process-section {
    background: white;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.process-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(97, 189, 152, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.process-step:hover .process-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 40px rgba(97, 189, 152, 0.5);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--medium-blue));
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

/* ========================================
   FORMULARIOS MODERNOS
======================================== */
.custom-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.custom-form:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.form-label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 20px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.25rem rgba(97, 189, 152, 0.25);
    transform: translateY(-2px);
}

.form-control:hover,
.form-select:hover {
    border-color: var(--medium-blue);
}

.form-check-input {
    width: 1.3em;
    height: 1.3em;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.form-check-input:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.25rem rgba(97, 189, 152, 0.25);
}

/* ========================================
   FOOTER CON DEGRADADO RADIAL
======================================== */
.footer {
    /*background: radial-gradient(circle at 50% 50%, #199ac5, #4f6dae);  */
    background:#000;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-green),
        var(--accent-yellow),
        var(--accent-green)
    );
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(97, 189, 152, 0.1) 0%, transparent 70%);
    animation: rotate360 30s linear infinite;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer h5 {
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-green));
    border-radius: 2px;
}

.footer a {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.footer a:hover {
    color: var(--accent-yellow) !important;
    transform: translateX(5px);
}

.social-links a {
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.social-links a:hover {
    transform: translateY(-8px) scale(1.2);
    /* color: var(--accent-yellow) !important;
    background: rgba(251, 240, 54, 0.2); */
    box-shadow: 0 8px 25px rgba(251, 240, 54, 0.4);
}

/* ========================================
   WHATSAPP BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.4s ease;
    animation: pulse 2s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    color: white;
    animation: none;
}

/* ========================================
   CARDS MODERNAS
======================================== */
.card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-img-top {
    transition: all 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* ========================================
   BADGES ANIMADOS
======================================== */
.badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
}

/* ========================================
   BREADCRUMB
======================================== */
.breadcrumb {
    background: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "→";
    color: var(--medium-blue);
}

.breadcrumb-item.active {
    color: var(--dark-blue);
    font-weight: 600;
}

/* ========================================
   COUNTER ANIMATION
======================================== */
.counter {
    display: inline-block;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 992px) {
    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .flip-card {
        height: 420px;
        margin-bottom: 2rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 150px 0 80px;
    }
    
    .process-step::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        height: 60vh;
        min-height: 450px;
        background-attachment: scroll;
    }
    
    .page-header {
        background-attachment: scroll;
    }
    
    .flip-card {
        height: 400px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 130px 0 60px;
    }
    
    .custom-form {
        padding: 1.5rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .process-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 400px;
    }
    
    .flip-card {
        height: 450px;
    }
    
    .modern-navbar .nav-link::after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .price-tag {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* ========================================
   UTILIDADES
======================================== */
.text-accent-green {
    color: var(--accent-green);
}

.text-dark-blue {
    color: var(--dark-blue);
}

.text-medium-blue {
    color: var(--medium-blue);
}

.bg-accent-green {
    background-color: var(--accent-green);
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
}

.rounded-4 {
    border-radius: 20px;
}

/* Animaciones de entrada */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   PRELOADER
======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #199ac5, #4f6dae);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.preloader-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: rotate360 1s linear infinite;
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(97, 189, 152, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(97, 189, 152, 0.6);
}

/* ========================================
   NOTIFICATION TOAST
======================================== */
.notification-toast {
    animation: slideInRight 0.5s ease;
}













/* ========================================
   BOTONES MODERNOS VERSIÓN 2
======================================== */
.cta-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    min-width: 280px;
    justify-content: center;
}

/* Botón Principal */
.btn-modern-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #036da7;
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, #fbf036 0%, #61bd98 100%);
    color: #fff;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 20px 40px rgba(251, 240, 54, 0.4),
        0 0 30px rgba(97, 189, 152, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Botón Secundario */
.btn-modern-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
    box-shadow: 
        0 10px 30px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-modern-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fbf036;
    border-color: #fbf036;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 
        0 20px 40px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(251, 240, 54, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Ícono del botón */
.btn-modern-icon {
    font-size: 1.4rem;
    display: inline-flex;
    transition: transform 0.4s ease;
}

.btn-modern:hover .btn-modern-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-modern-secondary:hover .btn-modern-icon {
    animation: starTwinkle 1s ease infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(180deg);
    }
}

/* Texto del botón */
.btn-modern-text {
    position: relative;
    z-index: 2;
}

/* Efecto Pulso para botón principal */
.btn-modern-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(251, 240, 54, 0.3);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    animation: pulseEffect 2s ease-out infinite;
}

@keyframes pulseEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

.btn-modern-primary:hover .btn-modern-pulse {
    animation: none;
}

/* Efecto Glow para botón secundario */
.btn-modern-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(251, 240, 54, 0.3) 50%, 
        transparent 70%
    );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-modern-secondary:hover .btn-modern-glow {
    opacity: 1;
    animation: glowMove 1.5s ease infinite;
}

@keyframes glowMove {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Partículas decorativas */
.btn-modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #fbf036, 
        #61bd98, 
        #036da7, 
        #fbf036
    );
    border-radius: 50px;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    background-size: 400%;
    transition: opacity 0.4s;
}

.btn-modern:hover::before {
    opacity: 0.7;
    animation: gradientRotate 2s linear infinite;
}

@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive para botones modernos */
@media (max-width: 992px) {
    .cta-buttons-wrapper {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .btn-modern {
        width: 100%;
        min-width: auto;
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .cta-buttons-wrapper {
        gap: 0.75rem;
    }
}

@media (max-width: 576px) {
    .btn-modern {
        padding: 14px 30px;
        font-size: 0.95rem;
    }
    
    .btn-modern-icon {
        font-size: 1.2rem;
    }
}


.porque-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate360 20s linear infinite;
}

.btn:hover {
     content: '';
 color:#fff;
    background: linear-gradient(135deg, var(--accent-green), var(--medium-blue));
    transition: left 0.5s ease;
}

.navbar-toggler .navbar-toggler-icon{
    color:#fff !important;
}