/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'MiFuente';
  src: url('fonts/helvetica-neue-5/HelveticaNeueRoman.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MiFuenteLight';
  src: url('fonts/helvetica-neue-5/HelveticaNeueUltraLight.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Cursor parpadeante */
.typewriter-cursor {
    display: inline-block;
    width: 2px;
    background: #363636;
    margin-left: 3px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0; }
}

:root {
    --finq: #6AFF62;
}

body {
    font-family: 'MiFuente', sans-serif;
    line-height: 1.6;
    color: #060708;
    
}

.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 1rem;
}

.fuenteligth {
  font-family: 'MiFuenteLigth', sans-serif; /* ejemplo de otra fuente */
  font-weight: 10;
}

/* Header Styles */

.header {
    background: rgba(0, 0, 0, 0); /* 50% transparente */
    border-radius: 0;
    position: fixed; /* flotante */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;

    overflow: visible;
    backdrop-filter: blur(4px); /* opcional: difumina fondo */
        }

        .header::before,
        .header::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            transition: width 0.5s ease;
            z-index: 1;
        }

        .header::before {
            top: 0;
            left: 0;
        }

        .header::after {
            bottom: 0;
            right: 0;
        }

        .header:hover::before,
        .header:hover::after {
            width: 100%;
        }

        .header-container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 150px;
            position: relative;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            position: relative;
            z-index: 2;
        }

        .header-logo-home {
            margin-right: auto;
        }

        .header-logo-home img {
            max-height: 35px;
          
            transition: all 0.3s ease;
        }

        .header-logo-home:hover img {
            filter: drop-shadow(0 0 20px rgba(11, 251, 35, 0.8));
            transform: scale(1.05);
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .header-nav-link {
            background: none;
            border: 2px solid #0bfb23;
            color: #000000;
            font-size: 16px;
            font-weight: bold;
            padding: 12px 25px;
            clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            position: relative;
            overflow: hidden;
        }

        .header-nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #0bfb23;
            transition: left 0.3s ease;
            z-index: -1;
        }

        .header-nav-link:hover::before {
            left: 0;
        }

        .header-nav-link:hover {
            color: #000;
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(11, 251, 35, 0.6);
        }

        .header-dropdown {
            position: relative;
        }

        .header-dropdown-btn {
            background: none;
            border: 2px solid #0bfb23;
            color: #272c28;
            font-size: 16px;
            font-weight: bold;
            padding: 12px 25px;
            clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .header-dropdown-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #0bfb23;
            transition: left 0.3s ease;
            z-index: -1;
        }

        .header-dropdown-btn:hover::before {
            left: 0;
        }

        .header-dropdown-btn:hover {
            color: #000;
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(11, 251, 35, 0.6);
        }

        .header-dropdown-icon {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }

        .header-dropdown:hover .header-dropdown-icon {
            transform: rotate(180deg);
        }

        .header-dropdown-content {
            position: absolute;
            top: 60px;
            left: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(11, 251, 35, 0.1));
            border: 2px solid #0bfb23;
            border-radius: 10px;
            padding: 25px;
            min-width: 320px;
            opacity: 0;
            visibility: hidden;
            transform: rotateX(-90deg);
            transform-origin: top;
            transition: all 0.4s ease;
            z-index: 9999;
            box-shadow: 0 10px 40px rgba(11, 251, 35, 0.3);
        }

        .header-dropdown:hover .header-dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: rotateX(0);
        }

        .header-dropdown-section {
            margin-bottom: 20px;
        }

        .header-dropdown-section:last-child {
            margin-bottom: 0;
        }

        .header-dropdown-category {
            color: #0bfb23;
            font-size: 12px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            text-shadow: 0 0 10px rgba(11, 251, 35, 0.5);
        }

        .header-dropdown-item {
            display: block;
            padding: 12px 15px;
            background: transparent;
            border: 1px solid rgba(11, 251, 35, 0.3);
            color: #fff;
            text-decoration: none;
            margin-bottom: 8px;
            clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .header-dropdown-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #0bfb23, #00ffff);
            transition: left 0.3s ease;
            z-index: -1;
        }

        .header-dropdown-item:hover::before {
            left: 0;
        }

        .header-dropdown-item:hover {
            color: #000;
            transform: translateX(15px);
            box-shadow: 0 5px 15px rgba(11, 251, 35, 0.4);
        }

        .header-dropdown-item-title {
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 4px;
        }

        .header-dropdown-item-desc {
            font-size: 12px;
            opacity: 0.8;
            line-height: 1.3;
        }

        /* Mobile menu button */
        .header-mobile-menu-btn {
            display: none;
            flex-direction: column;
            background: none;
            border: 2px solid #0bfb23;
            padding: 8px;
            cursor: pointer;
            gap: 3px;
            transition: all 0.3s ease;
            position: relative;
        }

        .header-mobile-menu-btn span {
            width: 25px;
            height: 3px;
            background: #0bfb23;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .header-mobile-menu-btn.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .header-mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }

        .header-mobile-menu-btn.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        .header-mobile-menu-btn:hover {
            box-shadow: 0 0 15px rgba(11, 251, 35, 0.6);
        }

        /* Mobile Navigation */
        .header-mobile-nav {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(11, 251, 35, 0.1));
            border: 2px solid #0bfb23;
            border-top: none;
            padding: 20px;
            display: none;
            flex-direction: column;
            gap: 15px;
            z-index: 9999;
            box-shadow: 0 10px 40px rgba(11, 251, 35, 0.3);
        }

        .header-mobile-nav.active {
            display: flex;
        }

        .header-mobile-nav-item {
            width: 100%;
        }

        .header-mobile-nav-link {
            display: block;
            width: 100%;
            padding: 12px 15px;
            background: transparent;
            border: 1px solid #0bfb23;
            color: #0bfb23;
            text-decoration: none;
            text-align: center;
            font-weight: bold;
            transition: all 0.3s ease;
            margin-bottom: 10px;
        }

        .header-mobile-nav-link:hover {
            background: #0bfb23;
            color: #000;
            transform: scale(1.02);
        }

        .header-mobile-dropdown {
            width: 100%;
        }

        .header-mobile-dropdown-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            width: 100%;
            padding: 12px 15px;
            background: transparent;
            border: 1px solid #0bfb23;
            color: #0bfb23;
            font-weight: bold;
            transition: all 0.3s ease;
            cursor: pointer;
            margin-bottom: 10px;
        }

        .header-mobile-dropdown-btn:hover {
            background: #0bfb23;
            color: #000;
        }

        .header-mobile-dropdown-btn.active .header-dropdown-icon {
            transform: rotate(180deg);
        }

        .header-mobile-dropdown-content {
            background: rgba(0, 0, 0, 0.8);
            border: 1px solid rgba(11, 251, 35, 0.3);
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 8px;
            display: none;
        }

        .header-mobile-dropdown-content.active {
            display: block;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .header-mobile-dropdown-section {
            margin-bottom: 15px;
        }

        .header-mobile-dropdown-section:last-child {
            margin-bottom: 0;
        }

        .header-mobile-dropdown-category {
            color: #0bfb23;
            font-size: 11px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
            text-align: center;
        }

        .header-mobile-dropdown-item {
            display: block;
            padding: 10px;
            background: rgba(11, 251, 35, 0.1);
            border: 1px solid rgba(11, 251, 35, 0.3);
            color: #fff;
            text-decoration: none;
            margin-bottom: 8px;
            text-align: center;
            transition: all 0.3s ease;
            border-radius: 5px;
        }

        .header-mobile-dropdown-item:hover {
            background: rgba(11, 251, 35, 0.3);
            transform: scale(1.02);
        }

        .header-mobile-dropdown-item-title {
            font-weight: bold;
            font-size: 12px;
            margin-bottom: 3px;
        }

        .header-mobile-dropdown-item-desc {
            font-size: 10px;
            opacity: 0.8;
            line-height: 1.2;
        }

        /* Desktop nav visibility */
        .header-desktop-nav {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-desktop-nav {
                display: none;
            }
            
            .header-mobile-menu-btn {
                display: flex;
            }
            
            .header-content {
                padding: 15px 0;
            }

            .header-container {
                padding: 0 15px;
            }

            .header-logo-home img {
                max-height: 35px;
            }
        }

        @media (max-width: 480px) {
            .header-container {
                padding: 0 10px;
            }

            .header-logo-home img {
                max-height: 30px;
            }

            .header-mobile-nav {
                padding: 15px;
            }

            .header-mobile-dropdown-content {
                padding: 10px;
            }
        }

        /* Demo background for testing */
        .demo-content {
            padding: 50px 20px;
            text-align: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .demo-content h1 {
            color: #0bfb23;
            font-size: 2.5rem;
            margin-bottom: 20px;
            text-shadow: 0 0 20px rgba(11, 251, 35, 0.5);
        }

        .demo-content p {
            color: #fff;
            font-size: 1.2rem;
            line-height: 1.6;
        }

/* Hero Section */


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0; left:0;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(105, 254, 97, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(105, 254, 97, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-text {
  margin-bottom: 1rem; /* espacio entre el texto y el botón */
}


.hero-content {
    grid-template-columns: 1fr 600px;
    gap: 1rem;
    position: relative;
    z-index: 2;
    display: block; /* mantenemos el flujo normal */
    flex-direction: column; /* apila el texto y el botón */
    align-items: flex-start; /* alinea a la izquierda */
}

.hero-text h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    margin-bottom: 20px;
    
}

.hero-text2 h1 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #363636;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}



.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.feature-item svg {
    color: #69FE61;
    flex-shrink: 0;
}



/* Stats Section */
.stats-section {
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
    border-bottom: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.stat-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon svg {
    color: #69FE61;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Investment Section */
.investment-section {
    padding: 4rem 0;
    background: black;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

.investment-products {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-row.reverse {
    direction: rtl;
}

.product-row.reverse > * {
    direction: ltr;
}

.product-card {
    background: linear-gradient(135deg, #69FE61 0%, #5DE455 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(105, 254, 97, 0.2);
}

.product-icon {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-icon svg {
    color: #1f2937;
    margin-right: 0.75rem;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.product-description {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.product-subtitle {
    color: #374151;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.product-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #1f2937;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

    .product-btn {
        background: #1f2937;
        color: white;
        border: none;
        padding: 0.75rem 2rem;
        border-radius: 0.5rem;
        font-weight: 600;
         text-decoration: none; /* evita subrayado si es <a> */
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex; /* en lugar de flex */
    width: auto;
        align-items: center;
        gap: 0.5rem;
    }

    .product-btn:hover {
        background: #374151;
        transform: translateY(-2px);
    }

.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 24rem;
}

.visual-placeholder svg {
    color: #69FE61;
}


/* Testimonials Section */
        .testimonials-section {
            padding: 4rem 0;
            background: white;
        }

        .testimonials-section h2 {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 3rem;
        }

        .testimonials-main {
            display: flex;
            gap: 3rem;
            align-items: flex-start;
        }

        .testimonials-video {
            flex: 0 0 auto;
        }

        .testimonials-video iframe {
            width: 280px;
            height: 498px;
            border-radius: 1rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .testimonials-grid {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 1.5rem;
            height: 498px;
        }

        .testimonial-card {
            background: white;
            border-radius: 1rem;
            position: relative;
            padding: 1.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
            border: 1px solid #e5e7eb;
        }

        .testimonial-card:hover {
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .testimonial-icons {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .testimonial-icons a {
            color: #6b7280;
            font-size: 1rem;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .testimonial-icons a:hover {
            color: #69FE61;
            background-color: #f0fff0;
            transform: scale(1.15);
        }

        .testimonial-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding-right: 2rem;
        }

        .testimonial-avatar {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }

        .testimonial-info h4 {
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 0.25rem;
            font-size: 0.95rem;
        }

        .testimonial-info p {
            font-size: 0.8rem;
            color: #6b7280;
        }

        .testimonial-rating {
            margin-bottom: 1rem;
        }

        .star {
            color: #fbbf24;
            font-size: 0.9rem;
        }

        .testimonial-content {
            position: relative;
        }

        .quote-icon {
            fill: #69FE61;
            margin-bottom: 0.5rem;
            width: 20px;
            height: 20px;
        }

        .testimonial-content p {
            font-style: italic;
            color: #374151;
            line-height: 1.5;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .testimonials-main {
                flex-direction: column;
                gap: 2rem;
                align-items: center;
            }

            .testimonials-video iframe {
                width: 250px;
                height: 444px;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(4, 1fr);
                height: auto;
                gap: 1rem;
            }

            .container {
                padding: 0 0.5rem;
            }
        }

        @media (max-width: 480px) {
            .testimonials-section h2 {
                font-size: 1.5rem;
                margin-bottom: 2rem;
            }

            .testimonial-card {
                padding: 1rem;
            }
        }


        /* Aliados Section */
        .aliados-section {
            padding: 5rem 0;
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            position: relative;
            overflow: hidden;
        }

        .aliados-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, #69FE61 50%, transparent 100%);
        }

        .aliados-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .aliados-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .aliados-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #69FE61, #4ade80);
            border-radius: 2px;
        }

        .aliados-subtitle {
            font-size: 1.1rem;
            color: #6b7280;
            max-width: 60%;
            margin: 0 auto;
            line-height: 1.6;
        }

        .aliados-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 3rem;
            flex-wrap: wrap;
        }

        .aliados-logo {
            flex: 0 0 auto;
            transition: all 0.3s ease;
            opacity: 0.8;
            filter: grayscale(30%);
        }

        .aliados-logo:hover {
            opacity: 1;
            filter: grayscale(0%);
            transform: translateY(-5px) scale(1.05);
        }

        .aliados-logo img {
            height: 80px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background: white;
            padding: 1rem;
            transition: box-shadow 0.3s ease;
        }

        .aliados-logo:hover img {
            box-shadow: 0 8px 25px rgba(105, 254, 97, 0.2);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .aliados-logos {
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .aliados-section {
                padding: 3rem 0;
            }

            .aliados-title {
                font-size: 2rem;
            }

            .aliados-subtitle {
                font-size: 1rem;
                padding: 0 1rem;
            }

            .aliados-logos {
                gap: 1.5rem;
                justify-content: space-around;
            }

            .aliados-logo img {
                height: 60px;
                max-width: 140px;
                padding: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .aliados-title {
                font-size: 1.75rem;
            }

            .aliados-logos {
                flex-direction: column;
                gap: 1rem;
            }

            .aliados-logo img {
                height: 50px;
                max-width: 120px;
            }
        }

        /* Animation for logos */
        .aliados-logo {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
            transform: translateY(30px);
        }

        .aliados-logo:nth-child(1) { animation-delay: 0.1s; }
        .aliados-logo:nth-child(2) { animation-delay: 0.2s; }
        .aliados-logo:nth-child(3) { animation-delay: 0.3s; }
        .aliados-logo:nth-child(4) { animation-delay: 0.4s; }

        @keyframes fadeInUp {
            to {
                opacity: 0.8;
                transform: translateY(0);
            }
        }


/* Footer */
.footer {
  position: relative; 
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  color: #1f2937;
  padding: 3rem 0 1rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px; /* 👈 aumenta si quieres que la franja sea más visible */
  background: linear-gradient(
    90deg,
    transparent 0%,
    #69FE61 50%,
    transparent 100%
  );
}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #374151;
}

.footer-link {
    color: #1f2937;
    text-decoration: underline;
    font-size: 0.875rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1f2937;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background: #69FE61;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.footer-legal-links a {
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #1f2937;
}

.footer-legal-text {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #374151;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
}

.footer-legal-text p {
    margin-bottom: 1rem;
}

.footer-legal-text strong {
    color: #1f2937;
}

/* Lista estilizada */
.footer-legal-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-legal-text ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.4em;
}
.footer-legal-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1f2937; /* punto oscuro para contraste sobre verde */
    font-weight: bold;
}

/* Línea divisoria */
.footer-legal-text .divider {
    width: 1px;
    background: rgba(31, 41, 55, 0.4); /* tono oscuro semi-transparente */
}

/* Responsivo (1 columna en móviles) */
@media (max-width: 768px) {
    .footer-legal-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-legal-text .divider {
        width: 100%;
        height: 1px;
        background: rgba(31, 41, 55, 0.4);
    }
}



.user-message .message-content {
    background: #69FE61;
    color: #1f2937;
    border-bottom-right-radius: 0.25rem;
}


.cending-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    min-height: 100vh;
}

.cending-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cending-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.cending-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #69FE61, #4AE54A);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(105, 254, 97, 0.3);
    animation: cending-float 3s ease-in-out infinite;
}

.cending-hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cending-highlight-text {
    background: linear-gradient(135deg, #69FE61, #4AE54A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.cending-highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #69FE61, #4AE54A);
    border-radius: 2px;
}

.cending-hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cending-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cending-description {
    background: linear-gradient(135deg, rgba(105, 254, 97, 0.05), rgba(105, 254, 97, 0.02));
    border: 2px solid rgba(105, 254, 97, 0.2);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(105, 254, 97, 0.1);
    transition: all 0.3s ease;
}

.cending-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(105, 254, 97, 0.2);
    border-color: #69FE61;
}

.cending-description-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.cending-description p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cending-description p:last-child {
    margin-bottom: 0;
}

.cending-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cending-feature-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cending-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(105, 254, 97, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cending-feature-card:hover::before {
    opacity: 1;
}

.cending-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(6, 172, 209, 0.2);
    border-color: #69FE61;
}

.cending-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0rem;
    display: block;
}

.cending-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cending-feature-content {
    position: relative;
    z-index: 2;
}

.cending-feature-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.cending-highlight {
    color: #69FE61;
    font-weight: 700;
}

.cending-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: #69FE61;
    margin-bottom: 1rem;
    text-align: center;
}

.cending-progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.cending-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #69FE61, #4AE54A);
    border-radius: 4px;
    animation: cending-progress-fill 2s ease-out;
}

@keyframes cending-progress-fill {
    from { width: 0; }
}

.cending-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cending-sector-tag {
    background: rgba(105, 254, 97, 0.1);
    color: #69FE61;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(105, 254, 97, 0.3);
}

.cending-security-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cending-security-badge {
    background: #69FE61;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.cending-years {
    font-size: 2.5rem;
    font-weight: 800;
    color: #69FE61;
    text-align: center;
    margin-bottom: 1rem;
}

.cending-legal-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cending-legal-icon {
    font-size: 1.5rem;
    padding: 0.5rem;
    background: rgba(105, 254, 97, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(105, 254, 97, 0.3);
}

.cending-support-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.5rem;
}

.cending-step {
    background: linear-gradient(135deg, #69FE61, #4AE54A);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.cending-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cending-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(105, 254, 97, 0.1), rgba(105, 254, 97, 0.05));
    animation: cending-float 6s ease-in-out infinite;
}

.cending-circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: -2s;
}

.cending-circle-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 10%;
    animation-delay: -4s;
}

.cending-circle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation-delay: -1s;
}

.cending-triangle {
    position: absolute;
    width: 0;
    height: 0;
    animation: cending-rotate 8s linear infinite;
}

.cending-triangle-1 {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(105, 254, 97, 0.1);
    top: 20%;
    right: 20%;
    animation-delay: -3s;
}

.cending-triangle-2 {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(105, 254, 97, 0.08);
    bottom: 30%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes cending-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes cending-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .cending-container {
        padding: 0 1rem;
    }
    
    .cending-section {
        padding: 3rem 0;
    }
    
    .cending-hero {
        margin-bottom: 3rem;
    }
    
    .cending-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cending-feature-card {
        padding: 2rem;
    }
    
    .cending-description {
        padding: 2rem;
    }
    
    .cending-support-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cending-security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cending-hero-title {
        font-size: 2rem;
    }
}



/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-form-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-row.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .stat-card:last-child {
        border-bottom: none;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .media-logos,
    .partners-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-form-container {
        padding: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .visual-placeholder {
        padding: 2rem;
        height: 16rem;
    }
}


/*Seccion crowlending reloj */
.s-crow2-section {
            background-color: white;
            padding: 60px 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .s-crow2-title {
            color: #69FE61;
            font-size: 2.5rem;
            font-weight: bold;
            text-align: center;
            margin-bottom: 60px;
        }

        .s-crow2-semicircle-container {
            position: relative;
            width: 800px;
            height: 400px;
            margin-bottom: 40px;
        }

        .s-crow2-semicircle {
            width: 100%;
            height: 100%;
            border: 3px solid #69FE61;
            border-bottom: none;
            border-radius: 400px 400px 0 0;
            position: relative;
            background-color: rgba(105, 254, 97, 0.05);
        }

        .s-crow2-arrow {
            position: absolute;
            top: 100%;
            left: 50%;
            width: 3px;
            height: 150px;
            background-color: #69FE61;
            transform-origin: bottom center;
            transform: translate(-50%, -100%) rotate(0deg);
            transition: transform 0.4s ease;
            z-index: 10;
        }

        .s-crow2-arrow::after {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 15px solid #69FE61;
            transform: translateX(-50%);
        }

        .s-crow2-arrow::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 10px;
            height: 10px;
            background-color: #69FE61;
            border-radius: 50%;
            transform: translateX(-50%);
        }

        .s-crow2-step {
            position: absolute;
            color: black;
            font-weight: bold;
            font-size: 1rem;
            text-align: center;
            cursor: pointer;
            transition: color 0.3s ease;
            padding: 10px;
            border-radius: 5px;
            max-width: 120px;
            line-height: 1.3;
        }

        .s-crow2-step:hover {
            color: #69FE61;
            background-color: rgba(105, 254, 97, 0.1);
        }

        .s-crow2-step-1 {
            top: 70%;
            left: 5%;
        }

        .s-crow2-step-2 {
            top: 20%;
            left: 15%;
        }

        .s-crow2-step-3 {
            top: 5%;
            left: 42%;
        }

        .s-crow2-step-4 {
            top: 20%;
            right: 15%;
        }

        .s-crow2-step-5 {
            top: 70%;
            right: 5%;
        }

        .s-crow2-step-1:hover ~ .s-crow2-arrow {
            transform: translate(-50%, -100%) rotate(-72deg);
        }

        .s-crow2-step-2:hover ~ .s-crow2-arrow {
            transform: translate(-50%, -100%) rotate(-36deg);
        }

        .s-crow2-step-3:hover ~ .s-crow2-arrow {
            transform: translate(-50%, -100%) rotate(0deg);
        }

        .s-crow2-step-4:hover ~ .s-crow2-arrow {
            transform: translate(-50%, -100%) rotate(36deg);
        }

        .s-crow2-step-5:hover ~ .s-crow2-arrow {
            transform: translate(-50%, -100%) rotate(72deg);
        }

        .s-crow2-cta-button {
            background-color: #69FE61;
            color: black;
            font-weight: bold;
            font-size: 1.2rem;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 30px 0;
            letter-spacing: 1px;
        }

        .s-crow2-cta-button:hover {
            background-color: #5ce653;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(105, 254, 97, 0.3);
        }

        .s-crow2-considerations {
            max-width: 800px;
            width: 100%;
            margin-top: 40px;
        }

        .s-crow2-considerations-title {
            color: #69FE61;
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .s-crow2-considerations-text {
            color: black;
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        @media (max-width: 768px) {
            .s-crow2-semicircle-container {
                width: 400px;
                height: 200px;
            }
            
            .s-crow2-arrow {
                height: 80px;
            }
            
            .s-crow2-step {
                font-size: 0.9rem;
                max-width: 100px;
            }
            
            .s-crow2-title {
                font-size: 2rem;
            }
            
            .s-crow2-considerations-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .s-crow2-semicircle-container {
                width: 300px;
                height: 150px;
            }
            
            .s-crow2-arrow {
                height: 60px;
            }
            
            .s-crow2-step {
                font-size: 0.8rem;
                max-width: 80px;
            }
            
            .s-crow2-title {
                font-size: 1.5rem;
            }
        }

/* Calculadora */
.calc-container {
            max-width: 100%;
            margin: 30px auto;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-top: 100px;
        }

        .calc-header {
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            color: white;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .calc-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .calc-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }

        .calc-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }

        .calc-company-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .calc-company-logo {
            background: white;
            color: #4CAF50;
            padding: 15px 25px;
            border-radius: 10px;
            font-size: 1.5rem;
            font-weight: 800;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .calc-company-details {
            text-align: right;
            font-size: 0.9rem;
        }

        .calc-table-container {
            padding: 40px;
            overflow-x: auto;
            
        }

        .calc-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 1px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .calc-table-header {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
        }

        .calc-table-header th {
            padding: 20px 15px;
            text-align: left;
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            border-right: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .calc-table-header th:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .calc-table-header th:last-child {
            border-right: none;
        }

        .calc-table-row {
            transition: all 0.3s ease;
            border-bottom: 1px solid #f0f0f0;
        }

        .calc-table-row:hover {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .calc-table-row:last-child {
            border-bottom: none;
        }

        .calc-table-cell {
            padding: 20px 15px;
            border-right: 1px solid #f0f0f0;
            font-size: 0.9rem;
            position: relative;
        }

        .calc-table-cell:last-child {
            border-right: none;
        }

        .calc-code {
            font-weight: 600;
            color: #2c3e50;
            
        }

        .calc-client {
            font-weight: 500;
            color: #34495e;
        }

        .calc-amount {
            font-weight: 600;
            color: rgb(29, 29, 29);
        }

        .calc-type {
            background: WHITE;
            color: #7f8c8d;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            text-transform: uppercase;
            display: inline-block;
        }

        .calc-percentage {
            font-weight: 600;
            color: rgb(29, 29, 29);
            font-size: 1rem;
        }

        .calc-gain {
            font-weight: 600;
            color: rgb(8, 58, 29);
       
        }

        .calc-date {
            color: #7f8c8d;
            font-size: 0.85rem;
        }

        .calc-term {
            background: WHITE;
            color: #7f8c8d;
            padding: 6px 12px;
            border-radius: 20px;
            border-color: #006400;
            border: #004d00;
            font-size: 0.8rem;
            font-weight: 500;
            display: inline-block;
        }

        .calc-status-closed {
            background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }

        .calc-stats {
            display: flex;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .calc-stat-card {
            flex: 1;
            min-width: 200px;
            background: #0455BF;
            color: white;
            padding: 25px;
            border-radius: 1px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .calc-stat-card:hover {
            transform: translateY(-5px);
        }

        .calc-stat-value {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .calc-stat-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .calc-calculator-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .calc-calculator-overlay.calc-active {
            opacity: 1;
            visibility: visible;
        }

        .calc-calculator-panel {
            position: fixed;
            top: 0;
            right: -500px;
            width: 500px;
            height: 100vh;
            background: white;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
            z-index: 1001;
            transition: right 0.3s ease;
            overflow-y: auto;
        }

        .calc-calculator-panel.calc-active {
            right: 0;
        }

        .calc-calculator-header {
            background: rgb(20, 19, 49);
            color: white;
            padding: 25px;
            position: relative;
        }

        .calc-calculator-title {
            font-size: 1.45rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .calc-calculator-subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .calc-close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .calc-close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .calc-calculator-content {
            padding: 30px;
        }

        .calc-input-group {
            margin-bottom: 25px;
        }

        .calc-input-label {
            display: block;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .calc-input-field {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .calc-input-field:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .calc-calculate-btn {
            width: 100%;
            padding: 15px;
            background: rgb(20, 19, 49);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 30px;
        }

        .calc-calculate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
        }

        .calc-calculate-btn:active {
            transform: translateY(0);
        }

        .calc-results {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            padding: 25px;
            margin-top: 20px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .calc-results.calc-show {
            opacity: 1;
            transform: translateY(0);
        }

        .calc-result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            font-size: 0.95rem;
        }

        .calc-result-item:last-child {
            border-bottom: none;
        }

        .calc-result-label {
            font-weight: 600;
            color: #2c3e50;
        }

        .calc-result-value {
            font-weight: 700;
            color: #27ae60;
            font-size: 1.1rem;
        }

        .calc-result-value.calc-negative {
            color: #e74c3c;
        }

        .calc-result-value.calc-percentage {
            color: #8e44ad;
        }

        .calc-table-row {
            transition: all 0.3s ease;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .calc-table-container {
                padding: 20px;
            }
            
            .calc-title {
                font-size: 2rem;
            }
            
            .calc-company-info {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            
            .calc-table-header th,
            .calc-table-cell {
                padding: 15px 10px;
                font-size: 0.8rem;
            }

            .calc-calculator-panel {
                width: 100vw;
                right: -100vw;
            }
        }
        
        .wsp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.wsp-float:hover {
    transform: scale(1.1);
    background: #1ebc59;
}

/* crowdfunding */
/* Estilo general para secciones crowdfunding */
.crowdfunding-intro {
  background: linear-gradient(135deg, #69FE61 0%, #ffffff 100%);
  padding: 4em 2em;
  text-align: center;
  color: #0a0a0a;
}

.crowdfunding-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5em;
}

.crowdfunding-intro h2 span {
  color: #069c0e;
  font-weight: bold;
}

.crowdfunding-intro p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5em;
}

.btn-primary {
  display: inline-block;
  background: #0a0a0a;
  color: white;
  padding: 0.8em 2em;
  border-radius: 50px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #333;
}

/* Beneficios */
.cf-beneficios {
  background: #f9f9f9;
  padding: 4em 2em;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  max-width: 1100px;
  margin: auto;
}

.cf-card {
  background: white;
  padding: 2em;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.cf-card img {
  width: 80px;
  margin-bottom: 1em;
}

.cf-card h3 {
  margin-bottom: 0.5em;
}

/* Llamado a la acción final */
.cf-cta {
  background: #ffffff;
  padding: 4em 2em;
  text-align: center;
  color: #0a0a0a;
}

.cf-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

.cf-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5em;
}

.btn-secondary {
  background: white;
  color: #0a0a0a;
  padding: 0.8em 2em;
  border-radius: 50px;
  font-weight: bold;
  border: 2px solid #0a0a0a;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #0a0a0a;
  color: white;
}


/*section 3d cards*/

.card-slider {
  position: relative;
  width: 90%;
  margin: 4em auto;
  perspective: 1000px;
}

.slider-container {
  display: flex;
  transition: transform 0.8s ease;
}

.card {
  flex: 0 0 300px;
  margin: 0 1em;
  padding: 2em;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.card:hover {
  transform: rotateY(15deg) scale(1.05);
}

.card h3 {
  color: #069c0e;
  margin-bottom: 0.5em;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #69FE61;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3em 0.6em;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: #05b838;
}

.prev {
  left: -2em;
}

.next {
  right: -2em;
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 80%;
  }
}



.funding-section {
            padding: 60px 20px;
            background-color: #ffffff;
            min-height: 100vh;
            font-family: 'Arial', sans-serif;
        }

        .funding-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .funding-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            padding: 20px 0;
        }

        .funding-card {
            position: relative;
            width: 100%;
            height: 280px;
            perspective: 1000px;
            cursor: pointer;
        }

        .funding-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s ease;
            transform-style: preserve-3d;
        }

        .funding-card:hover .funding-card-inner {
            transform: rotateY(180deg);
        }

        .funding-card-front, .funding-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 30px;
            box-sizing: border-box;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .funding-card-front {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
        }

        .funding-card-back {
            background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
            color: white;
            transform: rotateY(180deg);
            padding: 20px;
            text-align: left;
            justify-content: flex-start;
        }

        .funding-icon {
            font-size: 48px;
            margin-bottom: 20px;
            opacity: 0.9;
        }

        .funding-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #ffffff;
        }

        .funding-subtitle {
            background-color: rgba(255, 255, 255, 0.15);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            color: #ffffff;
            backdrop-filter: blur(10px);
        }

        .funding-back-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #ffffff;
            border-bottom: 2px solid rgba(255, 255, 255, 0.3);
            padding-bottom: 8px;
        }

        .funding-back-content {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Cards específicas */
        .funding-card:nth-child(1) .funding-card-front {
            background: #042326;
        }
        .funding-card:nth-child(1) .funding-card-back {
            background: #042326;
        }

        .funding-card:nth-child(2) .funding-card-front {
            background: #0A3A40;
        }
        .funding-card:nth-child(2) .funding-card-back {
            background: #0A3A40;
        }

        .funding-card:nth-child(3) .funding-card-front {
            background: #0F5959;
        }
        .funding-card:nth-child(3) .funding-card-back {
            background: #0F5959;
        }

        .funding-card:nth-child(4) .funding-card-front {
            background: #0F5959;
        }
        .funding-card:nth-child(4) .funding-card-back {
            background: #0F5959;
        }

        .funding-card:nth-child(5) .funding-card-front {
            background: #0A3A40;
        }
        .funding-card:nth-child(5) .funding-card-back {
            background: #0A3A40;
        }

        .funding-card:nth-child(6) .funding-card-front {
            background: #042326;
        }
        .funding-card:nth-child(6) .funding-card-back {
            background: #042326;
        }

        @media (max-width: 768px) {
            .funding-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .funding-card {
                height: 250px;
            }
            
            .funding-title {
                font-size: 20px;
            }
            
            .funding-subtitle {
                font-size: 12px;
            }
        }



        /* ESTILOS CON PREFIJO FAQ */
        .faq-section {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: #1a1a1a;
            background: white;
            padding: 0;
            margin: 0;
        }

        .faq-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .faq-hero-section {
            text-align: center;
            padding: 4rem 0;
           
        }

        .faq-hero-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            background: black;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .faq-hero-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-content-container {
            background: white;
            border-radius: 24px;
            padding: 3rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            border: 1px solid #e2e8f0;
        }

        .faq-category-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 3rem;
            justify-content: center;
        }

        .faq-nav-button {
            background: linear-gradient(135deg, #f8fafc, #e2e8f0);
            border: 2px solid transparent;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-size: 0.95rem;
        }

        .faq-nav-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #16291b;
            transition: left 0.3s ease;
            z-index: -1;
        }

        .faq-nav-button:hover::before,
        .faq-nav-button.faq-active::before {
            left: 0;
        }

        .faq-nav-button:hover,
        .faq-nav-button.faq-active {
            color: var(--finq);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

        .faq-category-section {
            display: none;
            animation: faqFadeIn 0.5s ease-in-out;
        }

        .faq-category-section.faq-active {
            display: block;
        }

        @keyframes faqFadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .faq-category-title {
            font-size: 2rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 2rem;
            text-align: center;
            position: relative;
        }

        .faq-category-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--finq);
            margin: 1rem auto;
            border-radius: 2px;
        }

        .faq-item {
            background: #f8fafc;
            border-radius: 16px;
            margin-bottom: 1rem;
            overflow: hidden;
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .faq-question {
            padding: 1.5rem;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            color: #1e293b;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .faq-question:hover {
            background:  #16291b;
            color: var(--finq);
        }

        .faq-question::after {
            content: '+';
            font-size: 1.5rem;
            transition: transform 0.3s ease;
            margin-left: auto;
            flex-shrink: 0;
        }

        .faq-item.faq-active .faq-question::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .faq-answer.faq-active {
            max-height: 1000px;
        }

        .faq-answer-content {
            padding: 0 1.5rem 1.5rem;
            color: #475569;
            line-height: 1.7;
        }

        .faq-answer-content ul {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .faq-answer-content ol {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .faq-answer-content li {
            margin-bottom: 0.5rem;
        }

        .faq-highlight-box {
            background: linear-gradient(135deg, #fef3c7, #fbbf24);
            padding: 1.5rem;
            border-radius: 12px;
            margin: 1rem 0;
            border-left: 4px solid #f59e0b;
        }

        .faq-risk-warning {
            background: #ffe5e5;         
            padding: 2rem;
            border-radius: 16px;
            margin-top: 2rem;
        }

        .faq-risk-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: #8b0000;
            margin-bottom: 1rem;
        }

        .faq-risk-warning ul {
            margin: 1rem 0;
            padding-left: 1.5rem;
        }

        .faq-risk-warning li {
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .faq-hero-title {
                font-size: 2.5rem;
            }
            
            .faq-content-container {
                padding: 2rem 1rem;
            }
            
            .faq-category-nav {
                flex-direction: column;
                align-items: center;
            }
            
            .faq-nav-button {
                width: 100%;
                max-width: 300px;
            }
            
            .faq-container {
                padding: 1rem;
            }

            .faq-question {
                font-size: 1rem;
                padding: 1rem;
            }
        }


        /* Estilos con prefijo refer */

        /* Hero Section Styles */
        .refer-hero {
            
            padding: 80px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .refer-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.3;
        }

        .refer-hero-content {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

     
        .refer-btn {
            display: inline-block;
            background: #026677;
            color: white;
            padding: 16px 32px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .refer-btn:hover {
            transform: translateY(-3px);
        
        }

        .refer-btn-secondary {
            background: #026677;
        }

        

        /* Container */
        .refer-container {
            max-width:1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Section Styles */
        .refer-section {
            padding: 80px 0;
            background: white;

        }

        .refer-section h2 {
            font-size: 2.5rem;
            margin-bottom: 40px;
            text-align: center;
            color: #1a1a1b;
            font-weight: 700;
        }

        /* How it works section */
        .refer-how-works {
                 background: white;
            margin: 0 -20px;
        }

        .refer-how-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
            gap: 40px;
            margin-top: 40px;
        }

        .refer-how-card {
            background: whitesmoke;
            padding: 40px;
            border-radius: 4px;
            border: 1px;
            transition: all 0.3s ease;
        }

        .refer-how-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 0 4px var(--finq), 0 0 20px var(--finq), 0 0 40px #00ffcc;
            border: 2px solid var(--finq);
            outline: 0.5px dashed #00ffcc;
            outline-offset: -6px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .refer-how-card h3 {
            color: #2f2f2f;
            font-size: 1.3rem;
            margin-bottom: 20px;
            font-weight: 700;
            text-align: left;
        }

        .refer-how-steps {
            list-style: none;
            margin-bottom: 30px;
        }

        .refer-how-steps li {
            padding: 10px 0;
            padding-left: 40px;
            position: relative;
            font-size: .9rem;
            text-align: left;
        }

        .refer-how-steps li::before {
            content: counter(step-counter);
            counter-increment: step-counter;
            position: absolute;
            left: 0;
            top: 10px;
            background: var(--finq);
            color: rgb(88, 87, 87);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .refer-how-steps {
            counter-reset: step-counter;
        }

        /* Collaborator types */
        

        .refer-table {
            background: whitesmoke;
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);   
        }

        .refer-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .refer-table th {
            background: white;
            color: rgb(39, 39, 39);
            padding: 20px;
            font-weight: 600;
            text-align: left;
        }

        .refer-table td {
            padding: 20px;
            border-bottom: 1px solid white;
        }

        .refer-table tr:last-child td {
            border-bottom: none;
        }

        .refer-table tr:hover {
            background: #9ca89ea3;
        }

        /* Commission tables */
        .refer-commission-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 40px;
            margin-top: 40px;
        }

        .refer-commission-card {
            background: rgb(255, 255, 255);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .refer-commission-header {
            background: #ffffff;
            padding: 20px;
            text-align: center;
        }

        .refer-commission-header h3 {
            color: rgb(65, 65, 65);
            font-size: 1.3rem;
            font-weight: 700;
        }

        .refer-commission-body {
            padding: 30px;
        }

        /* FAQ Section */
        .refer-faq {
            background: whitesmoke;
            margin: 0 -20px;
        }

        .refer-faq-item {
            background: white;
            margin-bottom: 20px;
            border-radius: 15px;
            overflow: hidden;
        }

        .refer-faq-question {
            background: whitesmoke;
            padding: 20px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-left: 4px solid var(--finq);
        }

        .refer-faq-answer {
            padding: 20px;
            display: none;
            animation: slideDown 0.3s ease;
        }

        .refer-faq-answer.active {
            display: block;
        }

        .refer-faq-icon {
            transition: transform 0.3s ease;
        }

        .refer-faq-item.active .refer-faq-icon {
            transform: rotate(180deg);
        }

        /* Modal Styles */
        .refer-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .refer-modal.active {
            display: flex;
        }

        .refer-modal-content {
            background: white;
            max-width: 75%;
            max-height: 80vh;
            overflow-y: auto;
            border-radius: 20px;
            position: relative;
            margin: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        }

        .refer-modal-header {
            background: whitesmoke;
            padding: 30px;
            color: white;
        }

        .refer-modal-header h2 {
            margin: 0;
            font-size: 1.8rem;
            color: black;
        }

        .refer-modal-body {
            padding: 30px;
            line-height: 1.8;
        }

        .refer-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: rgb(92, 0, 0);
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .refer-modal-close:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .refer-terms-section {
            margin-bottom: 30px;
        }

        .refer-terms-section h3 {
            color: #f59e0b;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .refer-terms-section ul {
            padding-left: 20px;
        }

        .refer-terms-section li {
            margin-bottom: 8px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .refer-hero h1 {
                font-size: 2.5rem;
            }

            .refer-hero p {
                font-size: 1.1rem;
            }

            .refer-how-grid {
                grid-template-columns: 1fr;
            }

            .refer-commission-grid {
                grid-template-columns: 1fr;
            }

            .refer-table {
                overflow-x: auto;
            }

            .refer-modal-content {
                margin: 10px;
                max-height: 90vh;
            }
        }

        /* Animation */
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Example commission table styles */
        .refer-example-table {
            margin-top: 20px;
        }

        .refer-example-table table {
            background: whitesmoke;
            border-radius: 5px;
            overflow: hidden;   
        }

        .refer-example-table th,
        .refer-example-table td {
            padding-left: 40px;
            padding-right: 40px;
        }

        .refer-example-table th {
            background: #efefef;
            color: #f59e0b;
            font-weight: 600;
        }

        .refer-example-table td {
            text-align: center;
            font-weight: 500;
        }

        /* Servicios index */

       .services-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 7rem 1rem;
        }

        .services-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
            
      
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.4rem;
            justify-items: center;
        }

        .services-card {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 28px;
            width: 100%;
            max-width: 340px;
            border-radius: 0px;
            background: #fff;
            box-shadow: 0px 0px 14px 0px rgba(192, 192, 192, 0.2);
            transition: 1s all;
            overflow: hidden;
        }

        .services-card::after {
            content: "";
            position: absolute;
            bottom: -30%;
            right: -30%;
            width: 120px;
            height: 120px;
            background: #ffffff;
            filter: blur(70px);
            border-radius: 50%;
            transition: width 1s, height 1s;
        }

        .services-card::before {
            content: "";
            position: absolute;
            bottom: -160%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            background: #57fe1b9c;
            filter: blur(70px);
            border-radius: 50%;
            transition: width 1s, height 1s;
        }

        .services-card:hover::before {
            bottom: -230%;
            width: 1000px;
            height: 1000px;
            filter: blur(1px);
        }

        .services-containers {
            position: relative;
            width: 100%;
        }

        .services-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 56px;
            height: 56px;
            border-radius: 6px;
            background: #e5f6eb;
            margin-bottom: 1rem;
        }

        .services-card:hover .services-icon {
            background: #94FF79;
            transition: 1s all;
        }

        .services-card:hover .services-icon svg,
        .services-card:hover .services-linkMore svg {
            filter: brightness(0) invert(1);
            transition: 1s all;
        }

        .services-title-card {
            color: #171d29;
            font-size: 1.4rem;
            font-style: normal;
            font-weight: 500;
            line-height: 1.2;
            transition: 1s all;
            margin-bottom: 1rem;
            word-wrap: break-word;
            hyphens: auto;
        }

        .services-subtitle {
            color: #7e8882;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 22px;
            transition: 1s all;
            margin-bottom: 1rem;
        }

        .services-linkMore {
            display: flex;
            justify-content: start;
            align-items: center;
            gap: 0.8rem;
            color: #072713;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 22px;
            text-decoration: none;
            transition: 1s all;
            cursor: pointer;
        }

        .services-card:hover .services-title-card,
        .services-card:hover .services-subtitle,
        .services-card:hover .services-linkMore {
            color: #480505;
            transition: 1s all;
        }

        /* Responsividad */
        @media (min-width: 1024px) {
            .services-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 1023px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .services-title {
                font-size: 2rem;
                margin-bottom: 2rem;
            }
            
            .services-title-card {
                font-size: 22px;
                line-height: 1.3;
            }
        }


        .ruta-container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
}

.ruta-header {
    text-align: center;
    margin-bottom: 50px;
}

.ruta-title {
    font-size: 2.5rem;
    color: #083c2f;
    margin-bottom: 10px;
}

.ruta-subtitle {
    font-size: 1.1rem;
    color: #374151;
    max-width: 600px;
    margin: auto;
}

.ruta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* Animación inicial */
.ruta-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
}

.ruta-card.show {
    animation: magicAppear 0.8s forwards;
}

@keyframes magicAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
        filter: blur(5px);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05) translateY(-5px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ruta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.ruta-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border: 4px solid #083c2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Círculo punteado giratorio */
.ruta-icon-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed #083c0b;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ruta-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: #65ff2d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.ruta-icon {
    font-size: 0rem;
}

.ruta-step-title {
    font-size: 1.2rem;
    color: #083c2f;
    font-weight: bold;
    margin-bottom: 10px;
}

.ruta-step-description {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}


.beneficios-section {
  text-align: center;
  padding: 40px 20px;
}

.beneficios-section h2 {
  font-size: 1.8rem;
  color: #006400;
  margin-bottom: 30px;
}

.beneficios-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.beneficios-card {
  background: #f8fff8;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.beneficios-card:hover {
  transform: translateY(-5px);
}

.beneficios-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #006400;
}

.beneficios-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #006400;
}

.beneficios-subtitle {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 15px;
}

.beneficios-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
  text-align: left;
}

.beneficios-card ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #006400;
}

.beneficios-btn {
  background: #006400;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.beneficios-btn:hover {
  background: #004d00;
}

/* Responsivo */
@media (max-width: 768px) {
  .beneficios-container {
    flex-direction: column;
    align-items: center;
  }
}


/* Beneficios con prefijo */
.beneficios-section {
  text-align: center;
  padding: 40px 20px;
}

.title {
  font-size: 2.5rem;
  color: #083c2f;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.1rem;
  color: #374151;
  max-width: 600px;
  margin: auto;
  margin-bottom: 30px;
}

.beneficios-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Card original adaptada */
.beneficios-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  padding: 32px;
  overflow: hidden;
  border-radius: 10px;
  background: transparent; /* Fondo transparente */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.beneficios-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #083c2f; /* Texto principal */
}

.beneficios-heading {
  font-weight: 700;
  font-size: 1.5rem;
}

.beneficios-para {
  font-size: 0.9rem;
  color: #374151;
  text-align: left;
}

.beneficios-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beneficios-content ul li {
  font-size: 0.9rem;
}

.beneficios-btn {
  color: #e8e8e8;
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #004d00;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.beneficios-card::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(-45deg, #94FF79 0%, #94FF79 100%);
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.beneficios-card:hover::before {
  width: 100%;
}

.beneficios-card:hover {
  box-shadow: none;
}

.beneficios-card:hover .beneficios-btn {
  color: #212121;
  background: #e8e8e8;
}

/* Efecto aparición */
.fade-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsivo */
@media (max-width: 768px) {
  .beneficios-container {
    flex-direction: column;
    align-items: center;
  }
}



/* Modal Styles */
        .formulario-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .formulario-modal-overlay.formulario-active {
            opacity: 1;
            visibility: visible;
        }

        .formulario-modal-container {
            background: white;
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: scale(0.7);
            transition: transform 0.3s ease;
        }

        .formulario-modal-overlay.formulario-active .formulario-modal-container {
            transform: scale(1);
        }

        .formulario-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            z-index: 10;
        }

        .formulario-content {
            padding: 30px;
        }

        .formulario-logo {
            color: #1a7a3e;
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 30px;
        }

        .formulario-title {
            color: #1a7a3e;
            font-size: 1.2rem;
            font-weight: bold;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .formulario-subtitle {
            color: #333;
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.4;
        }

        .formulario-step {
            margin-bottom: 25px;
        }

        .formulario-step-title {
            color: #333;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .formulario-radio-group {
            display: flex;
            gap: 20px;
            margin-bottom: 25px;
        }

        .formulario-radio-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .formulario-radio-option input[type="radio"] {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            accent-color: #1a7a3e;
        }

        .formulario-radio-option label {
            color: #333;
            font-size: 14px;
            cursor: pointer;
        }

        .formulario-input-group {
            margin-bottom: 15px;
        }

        .formulario-input {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            transition: border-color 0.3s ease;
        }

        .formulario-input:focus {
            outline: none;
            border-color: #1a7a3e;
        }

        .formulario-input::placeholder {
            color: #999;
        }

        .formulario-checkbox-group {
            display: flex;
            align-items: flex-start;
            margin: 20px 0;
        }

        .formulario-checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-right: 10px;
            margin-top: 2px;
            accent-color: #1a7a3e;
        }

        .formulario-checkbox-group label {
            font-size: 14px;
            color: #333;
            line-height: 1.4;
        }

        .formulario-checkbox-group a {
            color: #1a7a3e;
            text-decoration: underline;
        }

        .formulario-submit-btn {
            width: 100%;
            background-color: #1a7a3e;
            color: white;
            border: none;
            padding: 18px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .formulario-submit-btn:hover:not(:disabled) {
            background-color: #145a2e;
        }

        .formulario-submit-btn:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

        @media (max-width: 768px) {
            .formulario-modal-container {
                width: 95%;
                margin: 10px;
            }
            
            .formulario-content {
                padding: 20px;
            }
            
            .formulario-title {
                font-size: 24px;
            }
            
            .formulario-radio-group {
                flex-direction: column;
                gap: 10px;
            }
        }


        /* Botón CTA estilizado */
.cta {
  display: inline-flex; /* mantiene el estilo bonito del botón */
  margin-top: 1rem;     /* asegura separación */
  position: relative;
  
  align-items: left;
  justify-content: left;
  padding: 12px 24px;
  transition: all 0.3s ease;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50px;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50px;
  background: #69fe61; /* Verde vibrante */
  width: 45px;
  height: 100%;
  transition: all 0.3s ease;
  z-index: 0;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #083c2f; /* Verde oscuro para contraste */
  z-index: 1;
}

.cta svg {
  position: relative;
  margin-left: 10px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #083c2f;
  stroke-width: 2;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  z-index: 1;
}

.cta:hover:before {
  width: 100%;
  background: #69fe61;
}

.cta:hover span {
  color: rgb(0, 121, 111); /* texto blanco en hover */
}

.cta:hover svg {
  stroke: rgb(0, 121, 111);
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.95);
}


.hidden {
  display: none;
}

#hero-btn {
  margin-top: 1rem;
  display: inline-flex; /* se ajusta al texto */
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#hero-btn.show {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}


/* Section de circulo dorado */
 /* Nosotros Círculo Section */
        .nosotros-circulo-section {
            padding: 5rem 0rem;
            width: 100%;
            height: auto;
            min-height: 10px;
            
        }

        .nosotros-circulo-main {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .nosotros-content {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .content-item {
            background:  rgba(132, 204, 22, 0.05);
            padding: 2.2rem;
            border-radius: 1.5rem;
            border-left: 5px solid #84cc16;
            border: 0px solid rgba(136, 255, 0, 0.7); /* borde verde-limón semi-transparente */
            border-left-width: 8px;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .content-item:hover {
            transform: translateX(15px) translateY(-5px);
            background: rgba(132, 204, 22, 0.05);
            border-left-color: #a3e635;
        }

        .content-item h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 1rem;
            position: relative;
        }

        .content-item h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, #84cc16 0%, #a3e635 100%);
            border-radius: 2px;
        }

        .content-item p {
            font-size: 1.1rem;
            color: #374151;
            line-height: 1.6;
            margin: 0;
        }

        .circulo-dorado {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            min-height: 600px;
        }

        .circulo-container {
            position: relative;
            width: 400px;
            height: 400px;
            margin-bottom: 2rem;
        }

        /* Círculo exterior ¿Por qué? - Amarillo/Verde limón */
        .circulo-exterior {
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%);
            border-radius: 50%;
            border: 1px solid #54ca11;
            box-shadow: 
                0 0 30px rgba(132, 204, 22, 0.3),
                inset 0 0 30px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s ease;
            z-index: 1;
        }

        .circulo-exterior:hover {
            transform: scale(1.05);
            box-shadow: 0 0 40px rgba(132, 204, 22, 0.5);
        }

        .circulo-exterior .texto-porque {
            font-size: 1.4rem;
            font-weight: 700;
            color: linear-gradient(90deg, #f8ff00 0%, #3ad59f 100%);
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .circulo-exterior:hover .texto-porque {
            opacity: 0;
            transform: scale(0.8);
        }

        /* Círculo medio ¿Cómo? - Azul/Verde agua */
        .circulo-medio {
            position: absolute;
            width: 75%;
            height: 75%;
            background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%);
            border-radius: 50%;
            border: 1px solid #54ca11;
            top: 12.5%;
            left: 12.5%;
            box-shadow: 
                0 0 25px rgba(6, 182, 212, 0.3),
                inset 0 0 25px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s ease;
            z-index: 2;
        }

        .circulo-medio:hover {
            transform: scale(1.05);
            box-shadow: 0 0 35px rgba(6, 182, 212, 0.5);
        }

        .circulo-medio .texto-como {
            font-size: 1.2rem;
            font-weight: 700;
            color: #1f2937;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .circulo-medio:hover .texto-como {
            opacity: 0;
            transform: scale(0.8);
        }

        /* Círculo interior ¿Qué? - Rosa/Morado */
        .circulo-interior {
            position: absolute;
            width: 50%;
            height: 50%;
            background: linear-gradient(15deg, #54ca11 0%, #a3e635 100%);
            border-radius: 50%;
            border: 1px solid #54ca11;
            top: 25%;
            left: 25%;
            box-shadow: 
                0 0 20px rgba(236, 72, 153, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.4s ease;
            z-index: 3;
        }

        .circulo-interior:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
        }

        .circulo-interior .texto-que {
            font-size: 1rem;
            font-weight: 700;
            color: #1f2937;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
        }

        .circulo-interior:hover .texto-que {
            opacity: 0;
            transform: scale(0.8);
        }

        /* Texto hover centrado debajo del círculo */
        .hover-text {
            position: absolute;
            bottom: -100px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #9fff0f 0%, #a3e635 100%);
            color: #1f2937;
            padding: 1rem 2rem;
            border-radius: 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 10px 30px rgba(132, 204, 22, 0.3);
            white-space: nowrap;
            border: 2px solid #65a30d;
        }

        .hover-text.active {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(-10px);
        }

        /* Tooltips de información */
        .tooltip {
            position: absolute;
            background: white;
            border: 2px solid rgba(132, 204, 22, 0.3);
            border-radius: 15px;
            padding: 20px;
            max-width: 280px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            z-index: 20;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            transform: translateY(10px);
        }

        .tooltip.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .tooltip h4 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: #84cc16;
        }

        .tooltip p {
            font-size: 0.95rem;
            line-height: 1.4;
            color: #374151;
            margin: 0;
        }

        .tooltip-que {
            bottom: 60%;
            left: -20%;
        }

        .tooltip-como {
            top: -20%;
            left: 50%;
            transform: translateX(-50%);
        }

        .tooltip-como.active {
            transform: translateX(-50%) translateY(0);
        }

        .tooltip-porque {
            bottom: 60%;
            right: -20%;
        }

        /* Flecha del tooltip */
        .tooltip::before {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border: 8px solid transparent;
        }

        .tooltip-que::before {
            top: 50%;
            right: -16px;
            border-left-color: rgba(132, 204, 22, 0.3);
            transform: translateY(-50%);
        }

        .tooltip-como::before {
            bottom: -16px;
            left: 50%;
            border-top-color: rgba(132, 204, 22, 0.3);
            transform: translateX(-50%);
        }

        .tooltip-porque::before {
            top: 50%;
            left: -16px;
            border-right-color: rgba(132, 204, 22, 0.3);
            transform: translateY(-50%);
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .nosotros-circulo-main {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .circulo-container {
                width: 350px;
                height: 350px;
            }
        }

        @media (max-width: 768px) {
            .nosotros-circulo-section {
                padding: 3rem 0;
            }

            .nosotros-circulo-main {
                gap: 2rem;
            }

            .nosotros-content {
                gap: 2rem;
            }

            .content-item {
                padding: 2rem;
            }

            .content-item h3 {
                font-size: 1.3rem;
            }

            .content-item p {
                font-size: 1rem;
            }

            .circulo-container {
                width: 300px;
                height: 300px;
            }

            .segmento {
                font-size: 1rem;
            }

            .tooltip {
                max-width: 240px;
                padding: 15px;
            }

            .hover-text {
                font-size: 1rem;
                padding: 0.8rem 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 0.5rem;
            }

            .content-item {
                padding: 1.5rem;
            }

            .circulo-container {
                width: 250px;
                height: 250px;
            }

            .segmento {
                font-size: 0.9rem;
            }

            .tooltip {
                max-width: 200px;
                padding: 12px;
            }

            .hover-text {
                font-size: 0.9rem;
                padding: 0.7rem 1.2rem;
            }
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                box-shadow: 0 0 30px rgba(132, 204, 22, 0.2);
            }
            50% {
                box-shadow: 0 0 50px rgba(132, 204, 22, 0.4);
            }
        }

        .content-item {
            animation: fadeInUp 0.6s ease-out;
        }

        .content-item:nth-child(1) { animation-delay: 0.1s; }
        .content-item:nth-child(2) { animation-delay: 0.2s; }
        .content-item:nth-child(3) { animation-delay: 0.3s; }

        .circulo-container {
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .circulo-exterior {
            animation: pulse 4s ease-in-out infinite;
        }



/* Section modelo de FINQ */
.modelo-section {
  padding: 0rem 2rem;
  background: white;
  margin-bottom: 150px;
}
.modelo-wrapper {
  max-width: 80%;   /* ancho máximo en escritorio */
  margin: 0 auto;      /* centra horizontalmente */
  width: 100%;
}

.modelo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Cards grid */
.modelo-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  flex: 1;
  min-width: 300px;
}

/* Card */
.modelo-card {
  perspective: 1000px;
}

.modelo-card-inner {
  position: relative;
  width: 100%;
  height: 280px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.modelo-card:hover .modelo-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back */
.modelo-card-front,
.modelo-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modelo-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modelo-card-title {
  background: white;
  width: 100%;
  padding: 0.8rem;
}

.modelo-card-title h3 {
  font-size: 1.2rem;
  color: #083c2f;
  margin: 0;
}

/* Back */
.modelo-card-back {
  transform: rotateY(180deg);
  background: white;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.modelo-card-back h3 {
  font-size: 1.3rem;
  color: #083c2f;
  margin-bottom: 0.5rem;
}

.modelo-card-back p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}

/* Imagen lateral */
.modelo-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modelo-image img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
}

/* Responsive mejorado */

/* Tablets grandes y laptops pequeñas */
@media (max-width: 1200px) {
  .modelo-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets verticales */
@media (max-width: 992px) {
  .modelo-container {
    flex-direction: column;
    align-items: center;
  }

  .modelo-cards {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .modelo-image img {
    max-width: 70%;
  }
}

/* Móviles grandes */
@media (max-width: 768px) {
  .modelo-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modelo-card-inner {
    height: 260px;
  }

  .modelo-image img {
    max-width: 80%;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .modelo-card-inner {
    height: 240px;
  }

  .modelo-card-title h3 {
    font-size: 1rem;
  }

  .modelo-card-back h3 {
    font-size: 1.1rem;
  }

  .modelo-card-back p {
    font-size: 0.9rem;
  }

  .modelo-image img {
    max-width: 100%;
  }
}


/* Cards de referidos colaboradores */



        .ref-colab-container {
          width: 80%;
          margin: 0 auto;
        }



        .ref-colab-cards {
         display: grid;
         grid-template-columns: repeat(auto-fit, minmax(300px, .3fr)); /* ancho mínimo 300px */
         gap: 20px;
         justify-content: center; /* centra las cards cuando sobran espacios */
         margin-top: 40px;
            
        }

        .ref-colab-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 40px 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;   
        }

        .ref-colab-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s ease;
        }

        .ref-colab-card:hover::before {
            left: 100%;
        }

        .ref-colab-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .ref-colab-card:nth-child(1) {
             background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 201, 195, 0.1) 100%);
        }

        .ref-colab-card:nth-child(2) {
            background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(80, 201, 195, 0.1) 100%);
        }

        .ref-colab-image {
            width: 100px;
            height: 100px;
            margin: 0 auto 30px;
            background: var(--finq);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }

        .ref-colab-card:nth-child(2) .ref-colab-image {
            background: var(--finq);
            box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
        }

        .ref-colab-card:hover .ref-colab-image {
            transform: scale(1.1) rotate(360deg);
        }

        .ref-colab-card-title {
            text-align: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .ref-colab-card-subtitle {
            text-align: center;
            font-size: 1rem;
            color: #7f8c8d;
            margin-bottom: 30px;
            line-height: 1.5;
            font-weight: 500;
        }

        .ref-colab-requirements {
            text-align: left;
        }

        .ref-colab-requirements-title {
            font-size: 1rem;
            font-weight: 600;
            color: #34495e;
            margin-bottom: 15px;
        }

        .ref-colab-requirement {
            display: flex;
            align-items: flex-start;
            margin-bottom: 12px;
            font-size: 0.95rem;
            color: #5a6c7d;
        }

        .ref-colab-requirement:last-child {
            margin-bottom: 0;
        }

        .ref-colab-checkmark {
            color: black;
            font-size: 1rem;
            margin-right: 10px;
            font-weight: bold;
            flex-shrink: 0;
            margin-top: 1px;
        }

        @media (max-width: 768px) {
            .ref-colab-section {
                padding: 40px 15px;
            }

            .ref-colab-title {
                font-size: 2rem;
                margin-bottom: 30px;
            }

            .ref-colab-cards {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .ref-colab-card {
                padding: 30px 25px;
            }

            .ref-colab-image {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }
        }



