        /* Variables CSS modernas */
        :root {
            --primary-color: #2d3748;
            --secondary-color: #1a202c;
            --accent-color: #718096;
            --light-accent: #a0aec0;
            --success-color: #38a169;
            --warning-color: #d69e2e;
            --danger-color: #e53e3e;
            --white: #ffffff;
            --gray-50: #f7fafc;
            --gray-100: #edf2f7;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e0;
            --gray-400: #a0aec0;
            --gray-500: #718096;
            --gray-600: #4a5568;
            --gray-700: #2d3748;
            --gray-800: #1a202c;
            --gray-900: #171923;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        * {
            box-sizing: border-box;
        }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--gray-700);
            background: var(--gray-50);
            font-weight: 400;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            line-height: 1.2;
        }

        /* Preloader moderno */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
        }
        .preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }
        .preloader-content {
            text-align: center;
            color: white;
        }
        .preloader-logo {
            width: 80px;
            height: 80px;
            border: 3px solid rgba(255,255,255,0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Top Bar */
        .top-bar {
            background: var(--gray-800);
            color: var(--gray-300);
            padding: 8px 0;
            font-size: 13px;
            font-weight: 500;
        }
        .top-bar a {
            color: var(--gray-300);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .top-bar a:hover {
            color: var(--light-accent);
        }
        .top-bar .separator {
            color: var(--gray-500);
            margin: 0 8px;
        }

        /* Main Header */
        .main-header {
            background: var(--white);
            box-shadow: var(--shadow);
            padding: 1px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .logo-container {
            display: flex;
            align-items: center;
        }
        .logo-container img {
            max-height:150px;
            transition: transform 0.3s ease;
        }
        .logo-container:hover img {
            transform: scale(1.5);
        }
        .header-contact {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 30px;
        }
        .contact-item {
            display: flex;
            align-items: center;
            color: var(--gray-600);
            font-size: 14px;
            font-weight: 500;
        }
        .contact-item i {
            color: var(--accent-color);
            margin-right: 8px;
            font-size: 16px;
        }

        /* Navigation */
        .main-nav {
            background: var(--primary-color);
            padding: 0;
            box-shadow: var(--shadow-md);
        }
        .navbar-nav {
            width: 100%;
            justify-content: center;
        }
        .navbar-nav .nav-item {
            position: relative;
        }
        .navbar-nav .nav-link {
            color: rgba(255,255,255,0.9) !important;
            font-weight: 500;
            padding: 18px 24px !important;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
            font-size: 15px;
        }
        .navbar-nav .nav-link:hover {
            color: white !important;
            background: rgba(255,255,255,0.1);
            border-bottom-color: var(--light-accent);
        }
        .navbar-nav .nav-link.active {
            color: white !important;
            background: rgba(255,255,255,0.15);
            border-bottom-color: var(--light-accent);
        }
        .navbar-toggler {
            border: 2px solid rgba(255,255,255,0.3);
            padding: 8px 12px;
        }
        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.25rem rgba(255,255,255,0.25);
        }

        /* Announcement Bar (Marquee) */
        .announcement-bar {
            background: linear-gradient(90deg, var(--accent-color), var(--light-accent));
            color: white;
            padding: 12px 0;
            text-align: center;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }
        .announcement-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            animation: slide 20s linear infinite;
            white-space: nowrap;
        }
        .announcement-item {
            display: flex;
            align-items: center;
            white-space: nowrap;
            font-size: 14px;
        }
        .announcement-item i {
            margin-right: 8px;
        }
        @keyframes slide {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        /* Hero Section */
        .hero-section {
            position: relative;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            overflow: hidden;
        }
        .hero-carousel {
            position: relative;
        }
        .carousel-item {
            height: 600px;
            position: relative;
        }
        .carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.3;
        }
        .carousel-caption {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            text-align: center;
            background: none;
            padding: 0;
        }
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 24px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            font-family: 'Poppins', sans-serif;
        }
        .hero-subtitle {
            font-size: 1.4rem;
            font-weight: 400;
            margin-bottom: 32px;
            opacity: 0.95;
            line-height: 1.6;
        }
        .hero-cta {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Buttons */
        .btn-primary-custom {
            background: var(--accent-color);
            border: 2px solid var(--accent-color);
            color: white;
            padding: 14px 32px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-primary-custom:hover {
            background: var(--light-accent);
            border-color: var(--light-accent);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        .btn-outline-custom {
            background: transparent;
            border: 2px solid white;
            color: white;
            padding: 14px 32px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-outline-custom:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        .btn-success-custom {
            background: var(--success-color);
            border: 2px solid var(--success-color);
            color: white;
            padding: 14px 32px;
            border-radius: 6px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .btn-success-custom:hover {
            background: #29a745; /* Ligeramente más oscuro */
            border-color: #29a745;
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Section Styles */
        .section {
            padding: 80px 0;
        }
        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }
        .section-title {
            font-size: 2.8rem;
            font-weight: 700;
            color: var(--gray-800);
            margin-bottom: 16px;
            font-family: 'Poppins', sans-serif;
        }
        .section-subtitle {
            font-size: 1.2rem;
            color: var(--gray-600);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Cards */
        .professional-card {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            overflow: hidden;
            height: 100%;
        }
        .professional-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--accent-color);
        }
        .card-header-professional {
            background: var(--gray-800);
            color: white;
            padding: 24px;
            border-bottom: none;
        }
       .card-header-professional2 {
            background: #3cff00; /* Verde brillante */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        .card-header-professional3 {
            background: #00BCD4; /* Azul celeste intenso */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        .card-header-professional4 {
            background: #FF6F00; /* Naranja vibrante */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        .card-header-professional5 {
            background: #7a0303; /* Rosa fuerte */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        .card-header-professional6 {
            background: #D500F9; /* Morado eléctrico */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        .card-header-professional7 {
            background: #FF1744; /* Rojo vivo */
            color: white;
            padding: 24px;
            border-bottom: none;
        }

        
        .card-header-professional h4 {
            margin: 0;
            font-weight: 600;
            font-size: 1.4rem;
        }
        .card-body-professional {
            padding: 32px 24px;
        }

        /* Event Cards */
        .event-card {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            overflow: hidden;
        }
        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .event-image {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        .event-card:hover .event-image img {
            transform: scale(1.05);
        }
        .event-content {
            padding: 24px;
        }
        .event-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 12px;
        }
        .event-description {
            color: var(--gray-600);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        /* Video Section */
        .video-section {
            background: var(--white);
        }
        .video-card {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            overflow: hidden;
            margin-bottom: 30px;
        }
        .video-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }
        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
        }
        .video-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gray-900);
        }
        .video-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .play-button {
            position: absolute;
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.95);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: var(--accent-color);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-lg);
        }
        .play-button:hover {
            background: white;
            transform: scale(1.1);
            box-shadow: var(--shadow-xl);
        }
        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        /* Products Section */
        .products-section {
            background: var(--gray-100);
        }
        .product-card {
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            padding: 32px 24px;
            text-align: center;
            height: 100%;
        }
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--accent-color);
        }
        .product-image {
            margin-bottom: 24px;
        }
        .product-image img {
            max-width: 100%;
            height: auto;
            max-height: 120px;
            transition: transform 0.3s ease;
        }
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        .product-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 12px;
        }
        .product-description {
            color: var(--gray-600);
            font-size: 14px;
            line-height: 1.5;
        }

        /* Agregando estilos para selector de periodo y botón de compra */
        .period-selector {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
            flex-wrap: wrap;
        }
        .period-btn {
            padding: 10px 24px;
            border: 2px solid var(--primary-color);
            background: white;
            color: var(--primary-color);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }
        .period-btn:hover {
            background: var(--primary-color);
            color: white;
        }
        .period-btn.active {
            background: var(--primary-color);
            color: white;
        }
        .product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin: 16px 0;
        }
        .btn-comprar {
            background: #28a745;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 16px;
        }
        .btn-comprar:hover {
            background: #218838;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--gray-800);
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--gray-300);
            border-radius: 8px;
            font-size: 14px;
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
        }
        .bank-info {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid var(--primary-color);
        }
        .bank-info h6 {
            margin-bottom: 12px;
            color: var(--primary-color);
        }
        .bank-info p {
            margin: 8px 0;
            font-size: 14px;
        }
        .file-upload-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
            width: 100%;
        }
        .file-upload-wrapper input[type=file] {
            position: absolute;
            left: -9999px;
        }
        .file-upload-label {
            display: block;
            padding: 12px;
            background: var(--primary-color);
            color: white;
            text-align: center;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .file-upload-label:hover {
            background: var(--secondary-color);
        }
        .file-name {
            margin-top: 8px;
            font-size: 14px;
            color: var(--gray-600);
        }
        .preview-image {
            max-width: 100%;
            max-height: 200px;
            margin-top: 12px;
            border-radius: 8px;
            display: none;
        }

        /* Links Section */
        .links-section {
            background: var(--white);
        }
        .link-item {
            background: var(--white);
            border-radius: 8px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-200);
            padding: 20px;
            text-align: center;
            height: 100%;
            text-decoration: none;
            color: inherit;
        }
        .link-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
            border-color: var(--accent-color);
            text-decoration: none;
            color: inherit;
        }
        .link-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 12px;
        }
        .link-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        .link-item:hover .link-icon img {
            transform: scale(1.1);
        }
        .link-title {
            font-size: 13px;
            font-weight: 500;
            color: var(--gray-700);
            margin: 0;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            text-align: center;
        }
        .cta-content {
            max-width: 800px;
            margin: 0 auto;
        }
        .cta-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            font-family: 'Poppins', sans-serif;
        }
        .cta-description {
            font-size: 1.2rem;
            margin-bottom: 32px;
            opacity: 0.95;
        }

        /* Social Section */
        .social-section {
            background: var(--gray-100);
            text-align: center;
            padding: 60px 0;
        }
        .social-title {
            font-size: 2rem;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 32px;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background: var(--white);
            border-radius: 12px;
            color: var(--gray-600);
            font-size: 24px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--gray-200);
        }
        .social-link:hover {
            background: var(--accent-color);
            color: white;
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        /* Footer */
        .footer {
            background: var(--gray-800);
            color: var(--gray-300);
            padding: 40px 0 20px;
        }
        .footer-content {
            border-bottom: 1px solid var(--gray-700);
            padding-bottom: 30px;
            margin-bottom: 20px;
        }
        .footer-bottom {
            text-align: center;
            font-size: 14px;
        }
        .footer a {
            color: var(--light-accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .footer a:hover {
            color: white;
        }

        /* Floating Elements */
        .floating-buttons {
            position: fixed;
            right: 24px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .floating-btn {
            background: var(--white);
            color: var(--gray-700);
            padding: 12px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--gray-200);
            transition: all 0.3s ease;
            white-space: nowrap;
        }
        .floating-btn:hover {
            background: var(--accent-color);
            color: white;
            transform: translateX(-8px);
            box-shadow: var(--shadow-xl);
        }
        .paypal-floating {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 1000;
            background: var(--white);
            padding: 12px;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--gray-200);
            transition: all 0.3s ease;
        }
        .paypal-floating:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
        }

        /* Modal */
        .modal-content {
            border-radius: 12px;
            border: none;
            box-shadow: var(--shadow-xl);
        }
        .modal-header {
            background: var(--primary-color);
            color: white;
            border-radius: 12px 12px 0 0;
            border-bottom: none;
            padding: 24px;
        }
        .modal-header .btn-close {
            filter: invert(1);
        }
        .modal-body {
            padding: 32px 24px;
        }
        .modal-footer {
            border-top: 1px solid var(--gray-200);
            padding: 20px 24px;
        }

        /* Estilos para mantener compatibilidad con funcionalidades originales */
        .hidden { display: none !important; }
        .visible { display: block !important; }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }
            .hero-subtitle {
                font-size: 1.1rem;
            }
            .section-title {
                font-size: 2.2rem;
            }
            .floating-buttons {
                right: 16px;
            }
            .floating-btn {
                padding: 10px 16px;
                font-size: 13px;
            }
            .paypal-floating {
                bottom: 16px;
                right: 16px;
            }
            .carousel-item {
                height: 400px;
            }
            .header-contact {
                flex-direction: column;
                gap: 10px;
                align-items: flex-end;
            }
            .hero-cta {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (min-width: 768px) {
            .navbar-toggler {
                display: none;
            }
            .navbar-collapse {
                display: flex !important;
                justify-content: center;
            }
            .header-contact {
                flex-direction: row;
                align-items: center;
            }
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .slide-in-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease;
        }
        .slide-in-left.visible {
            opacity: 1;
            transform: translateX(0);
        }
        .slide-in-right {
            opacity: 0;
            transform: translateX(50px);
            transition: all 0.8s ease;
        }
        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        #imageModal .modal-content {
    background: transparent;
    text-align: center;
}

#imageModal img {
    max-height: 80vh; /* evita que la imagen sea más grande que la pantalla */
    object-fit: contain;
}

     