@font-face {
    font-family: 'Inter';
    src: url('./assets/font/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('./assets/font/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Reset and Base Styles */



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Color Variables */
:root {
    --primary-color: #B5DE7C;
    --secondary-color: #1F3161;
    --accent-color: #B5DE7C;
    --white: #ffffff;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --black: #000000;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2847 0%, rgba(31, 49, 97, 0.2) 50%, #0f172a 100%);
}

.mouse-follower {
    position: absolute;
    width: 384px;
    height: 384px;
    background: linear-gradient(45deg, rgba(181, 222, 124, 0.3), rgba(31, 49, 97, 0.3));
    border-radius: 50%;
    filter: blur(48px);
    transform: translate(-50%, -50%);
    transition: all .5s ease-out;
    pointer-events: none;
}

.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B5DE7C' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

/* Text Gradients */
.text-gradient-white {
    background: linear-gradient(45deg, #ffffff, rgba(181, 222, 124, 0.8), rgba(31, 49, 97, 0.8));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.8), #1F3161);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-white {
    color: #ffffff;
}

.text-primary {
    color: #B5DE7C;
    font-weight: 600;
}

.text-accent {
    color: #B5DE7C;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

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

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

.fade-in {
    animation: fadeIn 2s ease-out;
}

.fade-in-hero {
    animation: fadeIn 2s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 2s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 2s ease-out 0.5s both;
}

.fade-in-delay-3 {
    animation: fadeIn 2s ease-out 0.7s both;
}

.pulse {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-content {
    text-align: center;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 200px;
    border-radius: 16px;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.headline h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.subtitle p {
    font-size: 1.5rem;
    margin-bottom: 48px;
    color: var(--gray-300);
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(181, 222, 124, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1F3161, #B5DE7C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Estilos específicos para el botón de contactar asesor en el hero */
#contactar-asesor-hero.btn-primary:hover {
    transform: none;
    box-shadow: 0 25px 50px -12px rgba(181, 222, 124, 0.5);
}

#contactar-asesor-hero.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 2px solid #B5DE7C;
    background: transparent;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #B5DE7C;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #B5DE7C;
    color: #000;
    transform: scale(1.05);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.floating-1 {
    top: 80px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #B5DE7C;
    animation-delay: 0s;
}

.floating-2 {
    top: 160px;
    right: 80px;
    width: 24px;
    height: 24px;
    background: #1F3161;
    animation-delay: 1.5s;
}

.floating-3 {
    bottom: 160px;
    left: 80px;
    width: 12px;
    height: 12px;
    background: #B5DE7C;
    animation-delay: 3s;
}

/* Services Section */
.services-section {
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 512px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    padding: 32px;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
}

.service-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.service-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-gradient {
    opacity: 0.1;
}

.service-card[data-service="0"] .service-gradient {
    background: linear-gradient(135deg, #B5DE7C, #1F3161);
}

.service-card[data-service="1"] .service-gradient {
    background: linear-gradient(135deg, #1F3161, #B5DE7C);
}

.service-card[data-service="2"] .service-gradient {
    background: linear-gradient(135deg, #B5DE7C, rgba(181, 222, 124, 0.5));
}

.service-card[data-service="3"] .service-gradient {
    background: linear-gradient(135deg, #1F3161, rgba(31, 49, 97, 0.5));
}

.service-card[data-service="4"] .service-gradient {
    background: linear-gradient(135deg, #B5DE7C, rgba(181, 222, 124, 0.5));
}

.service-card[data-service="5"] .service-gradient {
    background: linear-gradient(135deg, #1F3161, rgba(31, 49, 97, 0.5));
}

.service-card[data-service="6"] .service-gradient {
    background: linear-gradient(135deg, #B5DE7C, rgba(181, 222, 124, 0.5));
}

.service-card[data-service="7"] .service-gradient {
    background: linear-gradient(135deg, #1F3161, rgba(31, 49, 97, 0.5));
}

.service-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon-1 {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.7));
}

.service-icon-2 {
    background: linear-gradient(45deg, #1F3161, rgba(31, 49, 97, 0.7));
}

.service-icon-3 {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.7));
}

.service-icon-4 {
    background: linear-gradient(45deg, #1F3161, rgba(31, 49, 97, 0.7));
}

.service-icon-5 {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.7));
}

.service-icon-6 {
    background: linear-gradient(45deg, #1F3161, rgba(31, 49, 97, 0.7));
}

.service-icon-7 {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.7));
}

.service-icon-8 {
    background: linear-gradient(45deg, #1F3161, rgba(31, 49, 97, 0.7));
}

.service-icon svg {
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-content h3 {
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-description {
    color: var(--gray-400);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: var(--gray-300);
}

.service-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
}

.service-arrow svg {
    color: #B5DE7C;
}

/* About Section */
.about-section {
    position: relative;
    padding: 128px 0;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 32px;
}

.about-text {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.6;
}

.about-subtext {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stat-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 222, 124, 0.2), rgba(31, 49, 97, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.floating-badge {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    animation: float 3s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 1.5s;
}

.floating-badge svg {
    color: white;
}

/* Team Section */
.team-section {
    position: relative;
    z-index: 10;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
    margin-top: 80px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
}

.member-image {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(181, 222, 124, 0.9), rgba(31, 49, 97, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* .team-member:hover .member-overlay {
    opacity: 1;
} */

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.member-description {
    color: var(--gray-400);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 128px 0;
    z-index: 10;
}

.contact-header {
    text-align: center;
    margin-bottom: 64px;
}

.contact-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.contact-subtitle {
    font-size: 1.5rem;
    color: #B5DE7C;
    font-weight: 600;
}

.contact-content {
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-1 {
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
}

.contact-icon-2 {
    background: linear-gradient(45deg, #1F3161, #B5DE7C);
}

.contact-icon svg {
    color: white;
}

.contact-label {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-transform {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 24px 48px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161, #B5DE7C);
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-transform:hover {
    transform: scale(1.1);
    box-shadow: 0 25px 50px -12px rgba(181, 222, 124, 0.5);
}

.btn-transform:hover::before {
    opacity: 1;
}

.btn-transform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1F3161, #B5DE7C, #1F3161);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-transform span,
.btn-transform svg {
    position: relative;
    z-index: 1;
}

.btn-transform svg:last-child {
    transition: transform 0.3s ease;
}

.btn-transform:hover svg:last-child {
    transform: translateX(8px);
}

.final-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.final-stat {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.final-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.final-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease;
}

.final-stat:hover .final-stat-icon {
    transform: scale(1.1);
}

.final-stat-icon-1 {
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
}

.final-stat-icon-2 {
    background: linear-gradient(45deg, #1F3161, #B5DE7C);
}

.final-stat-icon-3 {
    background: linear-gradient(45deg, #B5DE7C, rgba(181, 222, 124, 0.7));
}

.final-stat-icon-4 {
    background: linear-gradient(45deg, #1F3161, rgba(31, 49, 97, 0.7));
}

.final-stat-icon svg {
    color: white;
}

.final-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.3;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .final-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .headline h1 {
        font-size: 3rem;
    }
    
    .subtitle p {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-header h2 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .final-stats {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .member-image {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 640px) {
    .logo-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: auto;
        border-radius: 16px;
        margin-bottom: 24px;
        animation: pulse 2s infinite;
    }

    .pulse{
        animation: none;
    }
    .fade-in-hero{
        animation: none;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(324px, 1fr));
    }

    .container {
        padding: 0 16px;
    }
    
    .headline h1 {
        font-size: 2.5rem;
    }
    
    .subtitle p {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .services-section,
    .about-section,
    .team-section,
    .contact-section {
        padding: 64px 0;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .member-image {
        width: 200px;
        height: 200px;
    }

    .member-info h3 {
        font-size: 1.25rem;
    }

    .member-role {
        font-size: 0.9rem;
    }

    .member-description {
        font-size: 0.85rem;
    }
}

/* Back to Home Button */
.back-to-home {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
}

.btn-back-home {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: rgba(181, 222, 124, 0.2);
    border-color: rgba(181, 222, 124, 0.5);
    color: #B5DE7C;
    transform: translateX(-4px);
}

.btn-back-home svg {
    transition: transform 0.3s ease;
}

.btn-back-home:hover svg {
    transform: translateX(-2px);
}

/* Fixed Autodiagnóstico Button */
#autodiagnostico-btn {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#autodiagnostico-fixed {
    position: fixed;
    right: 24px;
    bottom: 86px;
    z-index: 1000;
    transform: scale(0.9);
    backdrop-filter: blur(10px);
    background: rgba(181, 222, 124, 0.1);
    border: 2px solid rgba(181, 222, 124, 0.5);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #B5DE7C;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
}

#autodiagnostico-fixed.show {
    opacity: 1;
    visibility: visible;
    transform: scale(0.9);
}

#autodiagnostico-fixed:hover {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(181, 222, 124, 0.4);
    background: #B5DE7C;
    color: #000;
}

/* Responsive adjustments for fixed button */
@media (max-width: 768px) {
    #autodiagnostico-fixed {
        right: 16px;
        bottom: 80px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    #autodiagnostico-fixed span {
        display: none;
    }
    
    #autodiagnostico-fixed {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

/* Autodiagnóstico Section */
.autodiagnostico-section {
    position: relative;
    padding: 120px 0;
    z-index: 10;
}

.autodiagnostico-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.autodiagnostico-header {
    margin-bottom: 64px;
}

.autodiagnostico-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 24px;
}

.autodiagnostico-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.autodiagnostico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.autodiagnostico-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.autodiagnostico-card:hover {
    transform: translateY(-8px);
    border-color: rgba(181, 222, 124, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #B5DE7C, #1F3161);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.autodiagnostico-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.autodiagnostico-card p {
    color: var(--gray-400);
    line-height: 1.6;
}

.autodiagnostico-cta {
    text-align: center;
}

.autodiagnostico-cta .btn-primary {
    margin-bottom: 16px;
}

.autodiagnostico-note {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments for autodiagnóstico section */
@media (max-width: 768px) {
    .autodiagnostico-header h2 {
        font-size: 2.5rem;
    }
    
    .autodiagnostico-subtitle {
        font-size: 1.125rem;
    }
    
    .autodiagnostico-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .autodiagnostico-card {
        padding: 24px;
    }
}

@media (max-width: 640px) {


 
    .autodiagnostico-section {
        padding: 80px 0;
    }
    
    .autodiagnostico-header h2 {
        font-size: 2rem;
    }
    
    .autodiagnostico-subtitle {
        font-size: 1rem;
    }
    
    .autodiagnostico-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }
}

/* Botón fijo de Contactar un asesor */
#contactar-asesor-fixed.fixed-asesor-btn,
.fixed-asesor-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    transform: scale(0.9);
    backdrop-filter: blur(10px);
    background: rgba(181, 222, 124, 0.1);
    border: 2px solid rgba(181, 222, 124, 0.5);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #B5DE7C;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
}

.fixed-asesor-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(0.9);
}

#contactar-asesor-fixed:hover {
    transform: none !important;
    box-shadow: 0 25px 50px -12px rgba(181, 222, 124, 0.5);
}

#contactar-asesor-fixed.fixed-asesor-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    #contactar-asesor-fixed.fixed-asesor-btn,
    .fixed-asesor-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    .fixed-asesor-btn span {
        display: none;
    }
}

/* Asegurar que no haya efectos de escala en ningún estado para los botones de asesor */
#contactar-asesor-hero.btn-primary:active,
#contactar-asesor-hero.btn-primary:focus,
#contactar-asesor-fixed.fixed-asesor-btn:active,
#contactar-asesor-fixed.fixed-asesor-btn:focus {
    transform: none !important;
}


