/* ============================================
   FRS Asesorías - Landing Page Styles
   ============================================ */

/* Variables CSS */
:root {
    --color-primary: #8041E0;
    --color-secondary: #EDEDED;
    --color-dark: #1A1A2E;
    --color-light: #FFFFFF;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-500: #ADB5BD;
    --color-gray-600: #6C757D;
    --color-gray-700: #495057;
    --color-gray-800: #343A40;
    --color-gray-900: #212529;
    
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.1);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-light);
    width: 100%;
    overflow-x: hidden;
}

/* Estilos de Secciones */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: visible; /* NUNCA cortar contenido */
}

/* Background Scroll Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(128, 65, 224, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(128, 65, 224, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-outfit);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   Navbar Flotante
   ============================================ */
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.hidden {
    transform: translateX(-50%) translateY(-150px);
    opacity: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: 16px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
}

.logo-text span {
    color: var(--color-primary);
}

/* Logo imagen (INDEX.svg) */
.logo-img {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-img--footer {
    height: 44px;
    filter: brightness(0) invert(1); /* Blanco para el footer oscuro si aplica */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-inter);
    font-weight: 500;
    color: var(--color-gray-700);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-cta {
    background: var(--color-primary);
    color: var(--color-light);
    padding: 12px 28px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-inter);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(128, 65, 224, 0.3);
}

.btn-cta:hover {
    background: #6B35C9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 65, 224, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    border-radius: 2px;
    transition: var(--transition-base);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 120px 24px 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu li {
    transform: translateY(25px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.mobile-menu.active li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a {
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-800);
    transition: var(--transition-base);
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.94) 0%, rgba(128, 65, 224, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--color-light);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.25), rgba(128, 65, 224, 0.1));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.2), rgba(128, 65, 224, 0.05));
    bottom: 10%;
    left: -150px;
    animation-delay: -7s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.15), rgba(128, 65, 224, 0.05));
    top: 50%;
    right: 15%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 40px) scale(0.9);
    }
    75% {
        transform: translate(-40px, -30px) scale(1.08);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-text {
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.1), rgba(128, 65, 224, 0.05));
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(128, 65, 224, 0.2);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), #A771E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 16px;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
    box-shadow: 0 4px 16px rgba(128, 65, 224, 0.3);
}

.btn-primary:hover {
    background: #6B35C9;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(128, 65, 224, 0.4);
}

.btn-secondary {
    background: var(--color-light);
    color: var(--color-gray-800);
    border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-size: 14px;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Hero Stats Preview - REMOVED */

/* Hero Image */
.hero-image {
    position: relative;
    height: 100%;
    display: grid;
    align-items: center;
    min-height: 0;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: visible;
    box-shadow: 0 20px 60px rgba(128, 65, 224, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-slow);
    height: 100%;
    max-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    transition: transform var(--transition-slow);
}

.image-container:hover .hero-main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.1), transparent);
    border-radius: var(--border-radius-xl);
    pointer-events: none;
    z-index: -1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 18px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(128, 65, 224, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 100;
    border: 1px solid rgba(128, 65, 224, 0.1);
    transition: all var(--transition-base);
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(128, 65, 224, 0.2);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.15), rgba(128, 65, 224, 0.05));
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.floating-card span {
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-gray-800);
    white-space: nowrap;
}

.card-1 {
    top: 40px;
    left: -30px;
    animation-delay: 0s;
    z-index: 100;
}

.card-2 {
    top: 50%;
    right: -40px;
    animation-delay: -2s;
    z-index: 100;
}

.card-3 {
    bottom: 60px;
    left: 0px;
    animation-delay: -4s;
    z-index: 100;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-500);
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    animation: arrowDown 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

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

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.94) 0%, rgba(128, 65, 224, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.stat-card {
    background: var(--color-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: rgba(128, 65, 224, 0.1);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-value {
    font-family: var(--font-outfit);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.stat-suffix {
    font-size: 32px;
}

.stat-description {
    color: var(--color-gray-600);
    font-size: 15px;
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions {
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    background: rgba(128, 65, 224, 0.1);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: var(--border-radius-md);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--color-gray-600);
    line-height: 1.7;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-200);
    /* Forzar que el navegador respete border-radius con transformaciones */
    will-change: transform;
    isolation: isolate;
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(128, 65, 224, 0.3);
}

.card-header {
    background: linear-gradient(135deg, var(--color-primary), #A771E8);
    padding: 32px;
    display: flex;
    justify-content: center;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper svg {
    width: 36px;
    height: 36px;
}

.card-body {
    padding: 32px;
}

.card-body h3 {
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.card-body p {
    color: var(--color-gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-features {
    margin-bottom: 24px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-700);
    font-size: 14px;
    margin-bottom: 10px;
}

.card-features svg {
    flex-shrink: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 15px;
}

.card-link:hover {
    gap: 12px;
}

/* ============================================
   Partners Section
   ============================================ */
.partners {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.94) 0%, rgba(128, 65, 224, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.partners .section-title {
    color: var(--color-light);
}

.partners .section-description {
    color: var(--color-gray-300);
}

.partners .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-light);
}

@media (max-width: 1023px) {
    .partners {
        background-attachment: scroll;
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    background: var(--color-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden; /* Previene que la imagen circular sobresalga */
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    will-change: transform;
    isolation: isolate;
    padding-top: 30px; /* Espacio arriba para que el circulo respire */
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.partner-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid rgba(128, 65, 224, 0.15);
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all var(--transition-slow);
}

.partner-card:hover .partner-image {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(128, 65, 224, 0.3));
    pointer-events: none;
}

.partner-info {
    padding: 24px;
    text-align: center;
}

.partner-info h3 {
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.partner-role {
    color: var(--color-primary);
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
}

.partner-bio {
    color: var(--color-gray-600);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.partner-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0077B5;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    background: rgba(0, 119, 181, 0.1);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-base);
}

.partner-linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
}

.partner-linkedin svg {
    width: 20px;
    height: 20px;
}


/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F0E6FF 100%);
    display: block;
    min-height: auto; /* El CTA no necesita llenar 100svh */
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #A771E8;
    bottom: -80px;
    right: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), #A771E8);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-description {
    font-size: 16px;
    color: var(--color-gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cta-badge-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(128, 65, 224, 0.1), rgba(128, 65, 224, 0.05));
    border: 1px solid rgba(128, 65, 224, 0.2);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.trust-indicators-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.trust-item-form {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-700);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(128, 65, 224, 0.15);
    box-shadow: var(--shadow-sm);
}

.trust-item-form svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
    padding-left: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-gray-500);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-200);
}

.form-disclaimer svg {
    flex-shrink: 0;
}

.cta-form {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 24px;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 50px rgba(128, 65, 224, 0.1), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

input,
textarea {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid var(--color-gray-200);
    border-radius: 20px;
    font-family: var(--font-inter);
    font-size: 15px;
    color: var(--color-gray-800);
    transition: all var(--transition-base);
    background: var(--color-light);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 5px rgba(128, 65, 224, 0.12);
    transform: translateY(-2px);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-gray-400);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6B35C9 100%);
    color: var(--color-light);
    border: none;
    border-radius: 20px;
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 12px 35px rgba(128, 65, 224, 0.4);
    position: relative;
    overflow: hidden;
}

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

.btn-submit:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(128, 65, 224, 0.5);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit svg {
    transition: transform var(--transition-base);
}

.btn-submit:hover svg {
    transform: translateX(6px);
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-gray-700);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 24px;
    background: var(--color-light);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(128, 65, 224, 0.1);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.contact-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--color-light);
}

.footer-brand p {
    color: var(--color-gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.footer-email {
    margin-top: 16px;
}

.footer-email a {
    color: var(--color-gray-400);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-base);
}

.footer-email a:hover {
    color: var(--color-primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-light);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--color-gray-400);
    font-size: 14px;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--color-gray-500);
    font-size: 14px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    color: var(--color-light);
}

/* ============================================
   Reveal on Scroll Animation
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll[data-delay="100"] {
    transition-delay: 0.1s;
}

.reveal-on-scroll[data-delay="200"] {
    transition-delay: 0.2s;
}

.reveal-on-scroll[data-delay="300"] {
    transition-delay: 0.3s;
}

/* Parallax Scroll Effect for Background Shapes */
.parallax-shape {
    transition: transform 0.1s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .nav-links,
    .btn-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 20px;
    }
    
    /* En tablet, las secciones deben adaptarse a su contenido */
    section {
        min-height: 100svh;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: 100%;
        gap: 16px;
    }
    
    .hero-text {
        flex: 0 0 auto;
        margin-bottom: 10px;
    }
    
    .hero-image {
        max-width: 450px; /* Reducido para evitar el corte vertical de la imagen */
        margin: 0 auto;
        flex: 1 1 0;
        width: 100%;
        min-height: 150px;
    }
    
    .image-container {
        height: auto;
        max-height: none;
        aspect-ratio: 4/3;
    }
    
    .hero-main-image {
        object-fit: cover; /* Volver a cover porque ahora el contenedor dicta la proporción perfecta */
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .solutions-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 20px;
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        padding-left: 20%;
        padding-right: 20%;
    }
    
    .solutions-grid::-webkit-scrollbar {
        display: none;
    }
    
    .solution-card {
        flex: 0 0 60%;
        scroll-snap-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    
    .logo {
        gap: 8px;
    }
    
    .logo-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    /* En mobile, las secciones se adaptan 100% a su contenido */
    section {
        min-height: auto; /* No forzar altura minima en mobile */
        padding-top: 80px;
        padding-bottom: 24px;
    }

    .cta-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .cta-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .cta-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .trust-indicators-form {
        gap: 8px;
        margin-bottom: 16px;
    }

    .trust-item-form {
        padding: 8px 12px;
        font-size: 11px;
    }

    .cta-form {
        padding: 20px;
        gap: 12px;
        margin-bottom: 0;
    }
    
    input, textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    textarea {
        min-height: 80px;
    }
    
    .btn-submit {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .form-disclaimer {
        margin-top: 12px;
        padding-top: 12px;
        font-size: 11px;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Mostrar la sección de imagen Hero solo en celulares */
    .mobile-hero-image-section {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-trust-badges {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .trust-badge {
        font-size: 12px;
    }
    
    /* Los padding de section ya fueron definidos arriba en este media query */

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .section-description {
        font-size: 13px;
        margin-bottom: 0;
    }
    
    .stats-section {
        padding-top: 80px;
        padding-bottom: 10px;
    }

    .stat-value {
        font-size: 24px;
        margin-bottom: 2px;
    }
    
    .stat-description {
        font-size: 12px;
    }
    
    .card-body h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .card-body p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .partner-info h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .partner-info p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .partner-image-wrapper {
        aspect-ratio: 16/9;
        margin-bottom: 12px;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        overflow: visible;
        margin: 0;
        padding: 0;
    }
    
    .stat-card {
        padding: 12px 16px;
    }
    
    .solutions,
    .partners {
        display: block;
    }
    
    .section-header {
        margin-bottom: 12px;
    }
    
    .solutions-grid,
    .partners-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 16px;
        padding-top: 20px; /* Previene que se vea cuadrado arriba al levantarse */
        padding-bottom: 24px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        padding-left: 7.5%;
        padding-right: 7.5%;
    }
    
    .solutions-grid::-webkit-scrollbar,
    .partners-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* Efecto de zoom automatico en la tarjeta activa del carrusel */
    .solution-card,
    .partner-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 14px;
        transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
        transform: scale(0.92);
        opacity: 0.7;
    }
    
    .solution-card.carousel-active,
    .partner-card.carousel-active {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 16px 40px rgba(128, 65, 224, 0.25);
    }
    
    /* Ocultar features list en mobile para ahorrar espacio vertical */
    .card-features {
        display: none;
    }
    
    .card-link, .partner-linkedin {
        margin-top: 10px;
        font-size: 13px;
    }
    
    .card-header {
        margin-bottom: 10px;
    }
    
    .partner-image-wrapper {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        margin: 0 auto 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-contact {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .hero {
        padding-bottom: 40px;
    }
    

    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    
    .floating-card {
        padding: 10px 14px;
        gap: 8px;
    }
    
    .floating-card span {
        font-size: 11px;
    }
    
    .card-icon {
        width: 28px;
        height: 28px;
    }
    
    .card-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .card-1 { top: 10px; left: -10px; }
    .card-2 { top: 40%; right: -10px; }
    .card-3 { bottom: 10px; left: -10px; }
    
    .navbar {
        top: 16px;
        width: calc(100% - 32px);
    }
    
    .nav-container {
        padding: 12px 16px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon svg {
        width: 28px;
        height: 28px;
    }
    

    
    .hero {
        padding-top: 100px;
        padding-bottom: 90px;
    }
    
    .scroll-indicator {
        bottom: 15px;
        transform: translateX(-50%) scale(0.9);
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-trust-badges {
        margin-top: 16px;
        padding-top: 16px;
        gap: 12px;
    }
    
    .trust-badge {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-content {
        padding: 20px 0;
    }
    
    .cta-form {
        padding: 24px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Barra de Progreso de Lectura
   ============================================ */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), #A855F7);
    z-index: 1100;
    transition: width 0.1s ease-out;
}

/* ============================================
   Spotlight Hover Glow Effect (Soluciones & Socios)
   ============================================ */
.solution-card, .partner-card {
    position: relative;
    overflow: hidden;
}

.solution-card::before, .partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        300px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(128, 65, 224, 0.08),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.solution-card:hover::before, .partner-card:hover::before {
    opacity: 1;
}

/* Asegurar que los textos, iconos y enlaces queden sobre el fondo luminoso */
.solution-card *, .partner-card * {
    position: relative;
    z-index: 2;
}

/* ============================================
   Sobrescribir colores en Hero Oscuro para Contraste
   ============================================ */
.hero .hero-title {
    color: var(--color-light);
}

.hero .hero-description {
    color: var(--color-gray-300);
}

.hero .hero-badge {
    background: rgba(128, 65, 224, 0.2);
    border: 1px solid rgba(128, 65, 224, 0.4);
    color: #D8B4FE;
}

.hero .hero-trust-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero .trust-badge {
    color: var(--color-gray-300);
}

.hero .trust-badge svg {
    color: #C084FC;
}

/* Botón secundario en Hero Oscuro (Estilo Glassmorphism) */
.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary:hover {
    background: var(--color-light);
    color: var(--color-gray-900);
    border-color: var(--color-light);
}

/* Desactivar Parallax en móviles para el Hero y Stats */
@media (max-width: 1023px) {
    .hero, .stats-section {
        background-attachment: scroll;
    }
}
