:root {
    --primary-purple: #8B5CF6;
    --dark-purple: #7C3AED;
    --light-purple: #A78BFA;
    --accent-purple: #C084FC;
    --bg-light: #FAFBFF;
    --bg-section: #F8FAFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(139, 92, 246, 0.2);
    --success-green: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

.btn-cta-nav {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple)) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.6rem 1.5rem !important;
    font-weight: 600 !important;
    margin-left: 1rem;
    transition: all 0.3s ease !important;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white !important;
}

/* Hero Section - Solo Slider */
.hero {
    padding: 100px 0 50px 0;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
    aspect-ratio: 971 / 419;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background: white;
}

.slide img:hover {
    transform: scale(1.02);
}

.slider-dots {
    text-align: center;
    margin-top: 25px;
    position: relative;
    z-index: 10;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 8px;
    background-color: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid rgba(139, 92, 246, 0.5);
}

.dot:hover,
.dot.active {
    background-color: var(--primary-purple);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Benefits Section - Nueva estructura */
.benefits-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.benefits-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefits-section .text-highlight {
    color: var(--primary-purple);
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.benefit-check {
    width: 30px;
    height: 30px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-check i {
    color: white;
    font-size: 0.9rem;
}

.benefits-image {
    text-align: center;
    padding: 2rem;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
}

/* Process Section - Actualizado para Product Sliders */
.process-section {
    padding: 5rem 0;
    background: white;
}

/* Product Sliders Section */
.product-slider {
    position: relative;
    margin-bottom: 2rem;
}

.slider-wrapper-product {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.product-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-slide.active {
    display: block;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    transition: transform 0.3s ease;
    background: white;
}

.product-slide img:hover {
    transform: scale(1.05);
}

.product-dots {
    text-align: center;
    margin-top: 15px;
}

.product-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-dot:hover,
.product-dot.active {
    background-color: var(--primary-purple);
    transform: scale(1.2);
}

.fixed-product-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease;
    background: white;
}

.fixed-product-image img:hover {
    transform: scale(1.05);
}

/* Requirements Section */
.requirements-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.requirement-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

.requirement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.requirement-text {
    flex: 1;
}

.requirement-text h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.requirement-text p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-role {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.1);
}

.faq-question {
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-section);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-white-large {
    background: white;
    color: var(--primary-purple);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-white-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    color: var(--primary-purple);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 2rem 0 1rem;
    color: white;
    text-align: center;
}

.footer a {
    color: var(--accent-purple);
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide {
    animation: fadeIn 0.5s ease-in-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Locations Section - Actualizado para móviles */
.locations-section {
    padding: 5rem 0;
    background: white;
}

.locations-image {
    text-align: center;
    padding: 2rem;
}

.locations-image img {
    max-width: 60%;
    height: auto;
}

.locations-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Por defecto: 1 columna en desktop */
    gap: 15px;
    padding: 0 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    margin-bottom: 0; /* Removemos el margin-bottom ya que usamos gap */
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.location-item:hover {
    transform: translateX(5px);
}

.location-icon {
    margin-right: 15px; /* Más espacio entre icono y texto */
    flex-shrink: 0;
}

.location-icon i {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.location-text {
    flex: 1;
}

.location-text h5 {
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.2;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-purple);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .slider-container {
        width: 90%;
    }
    
    .hero {
        padding: 30px 0 30px 0;
    }
}

@media (max-width: 768px) {
    .slider-container {
        width: 98%;
    }
    
    .hero {
        padding: 10px 0 10px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-section .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    .benefits-image {
        display: none;
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .slider-wrapper-product {
        height: 280px;
    }
    
    .fixed-product-image {
        height: 280px;
        margin-top: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    /* Ocultar botón CTA en móviles */
    .btn-cta-nav {
        display: none;
    }
    
    /* Mostrar links normales para navegación en móviles */
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(139, 92, 246, 0.1);
        transform: none;
    }
    
    /* Responsive para locations */
    .locations-image {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .locations-image img {
        max-width: 80%; /* Imagen un poco más grande en móviles */
    }
    
    .locations-list {
        grid-template-columns: repeat(2, 1fr); /* En móviles: 2 columnas */
        gap: 10px;
        padding: 1rem;
    }
    
    .location-item {
        padding: 0.8rem 0.5rem;
        margin-bottom: 0;
    }
    
    .location-icon {
        margin-right: 10px;
    }
    
    .location-icon i {
        font-size: 1rem;
    }
    
    .location-text h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .slider-wrapper {
        border-radius: 5px;
    }
    
    .slide img {
        border-radius: 5px;
    }
    
    .hero {
        padding: 70px 0 20px 0;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
    .locations-list {
        gap: 8px;
        padding: 0.5rem;
    }
    
    .location-item {
        padding: 0.6rem 0.3rem;
    }
    
    .location-icon {
        margin-right: 8px;
    }
    
    .location-text h5 {
        font-size: 0.9rem;
    }
}

/* Estilos para el formulario financiero */
.financial-form-popup .swal2-html-container {
    margin: 0 !important;
    padding: 20px !important;
}

.financial-form-popup .swal2-input {
    border: 1px solid #D1D5DB !important;
    border-radius: 6px !important;
}

.financial-form-popup .swal2-input:focus {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 1px #8B5CF6 !important;
}

/* Estilos para métodos de pago */
.payment-methods-popup .swal2-html-container {
    margin: 0 !important;
    padding: 20px !important;
}

.payment-methods-popup button:hover {
    background: #7b1fa2 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.stores-section {
    background: #2D3748;
    padding: 3rem 0;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
}

.store-item {
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}

.store-info h5 {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.store-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.store-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .store-item {
        margin-bottom: 2rem;
    }
    
    .store-info h5 {
        font-size: 1rem;
    }
}