/* Variables CSS Profesionales y Corporativas */
:root {
    --primary-blue: #1e3a8a;
    --light-blue: #f0f4ff;
    --accent-blue: #3b82f6;
    --dark-blue: #0f172a;
    --corporate-blue: #1e40af;
    --trust-blue: #2563eb;
    --text-dark: #0f172a;
    --text-medium: #374151;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-light: #e5e7eb;
    --success-green: #059669;
    --trust-gold: #d97706;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 4px 20px rgba(30, 58, 138, 0.08);
    --shadow-medium: 0 8px 30px rgba(30, 58, 138, 0.12);
    --shadow-hard: 0 15px 50px rgba(30, 58, 138, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--corporate-blue) 100%);
    --gradient-subtle: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
}

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

html {
    scroll-behavior: auto; /* Deshabilitamos el nativo para usar el personalizado */
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gradient-subtle);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto; /* Profesional y accesible */
}

/* Elementos de Confianza y Seguridad */
.trust-indicator {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badge {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--border-light);
    text-align: center;
    min-width: 120px;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hard);
    border-color: var(--accent-blue);
}

.trust-badge .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--success-green);
}

.trust-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-medium);
    line-height: 1.3;
}

/* Certificaciones */
.certifications {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.cert-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cert-icon {
    font-size: 3rem;
    color: var(--trust-gold);
    margin-bottom: 1rem;
}

.cert-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
}

/* Progress Bar Profesional */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px var(--accent-blue);
}

/* Header Corporativo y Profesional */
.portal-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
}

.portal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    opacity: 0.95;
    z-index: -1;
}

.header-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.portal-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 45px;
    transition: all 0.3s ease;
    filter: none; /* Más sobrio */
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--accent-blue);
    font-weight: 800;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-blue);
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover {
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

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

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

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--white);
}

.btn-header-outline {
    background: transparent;
    color: var(--accent-blue);
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
    position: relative;
    overflow: hidden;
}

.btn-header-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-blue);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-header-outline:hover::before {
    width: 100%;
}

.btn-header-outline:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--light-blue);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--primary-blue);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.desktop-nav,
.desktop-btn {
    display: flex;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(30, 58, 138, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active .sidebar-content {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-medium);
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}

.sidebar-cta {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.btn-sidebar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.btn-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Main Content Ultra Moderno */
.portal-main {
    margin-top: 80px;
    position: relative;
}

/* Hero Section Profesional y Confiable */
.hero {
    min-height: 85vh;
    background: var(--gradient-subtle);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    animation: subtleGlow 20s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    line-height: 1.2;
    animation: fadeInUp 1.2s ease 0.3s both;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--accent-blue);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero p {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-medium);
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 1.2s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1.2s ease 0.9s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem 2.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1.2s ease 1.2s both;
    border: 1px solid transparent;
    margin-right: 1rem;
    min-height: 54px;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hard);
    border-color: rgba(255,255,255,0.3);
}

.btn-secondary-hero {
    background: transparent;
    color: var(--primary-blue);
    padding: 1.2rem 2.8rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease 1.2s both;
    min-height: 54px;
    box-sizing: border-box;
}

.btn-secondary-hero:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Floating Elements */
.floating-element {
    position: fixed;
    font-size: 2rem;
    pointer-events: none;
    z-index: 1;
    animation: floatUp 5s linear forwards;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animaciones Principales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 204, 255, 0.8);
    }
}
/* Secciones Zig-Zag Profesionales */
.zigzag-section {
    padding: 5rem 0;
    position: relative;
}

.zigzag-section:nth-child(even) {
    background: var(--bg-light);
}

.zigzag-section:nth-child(odd) {
    background: var(--bg-white);
}

.zigzag-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 400px;
    position: relative;
    z-index: 2;
}

.left-content .zigzag-content {
    grid-template-areas: "text visual";
}

.right-content .zigzag-content {
    grid-template-areas: "visual text";
}

.text-content {
    grid-area: text;
    animation: slideInFromLeft 1.2s ease;
    color: var(--text-dark);
}

.right-content .text-content {
    animation: slideInFromRight 1.2s ease;
}

.visual-content {
    grid-area: visual;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.2s ease 0.3s both;
}

.text-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.text-content p {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.feature-list li {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px 0 0 4px;
}

.feature-list li::after {
    content: '✓';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.feature-list li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.feature-icon {
    font-size: 5rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
    background: var(--gradient-subtle);
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

/* Animaciones direccionales para zig-zag */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Trust Section */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    line-height: 1.2;
}

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

.trust-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-medium);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.trust-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.trust-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.5;
    font-weight: 400;
}

/* Features Grid Profesional */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}

.features h2 {
    color: var(--text-dark);
    margin-bottom: 4rem;
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--primary-blue);
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.2s ease;
    cursor: pointer;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-medium);
}

.feature-card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Contact Section Profesional */
.contact {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 5rem 0;
    position: relative;
    border-top: 1px solid var(--border-light);
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    text-align: left;
}

.contact-info p {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-medium);
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.contact-details a,
.contact-details span {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.cta-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Navigation Media Queries */
@media (max-width: 768px) {
    .desktop-nav,
    .desktop-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .navbar .container {
        padding: 0 1rem;
    }
}

/* Footer Profesional */
.portal-footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand .accent {
    color: var(--accent-blue);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.social-media h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    max-width: 60px;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-btn:hover {
    max-width: 200px;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-text {
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.whatsapp-btn:hover .whatsapp-text {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
}
/* Contact Section con efectos avanzados */
/* Contact Section con efectos avanzados */
.contact {
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    animation: fadeInUp 1s ease;
}

.contact p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Footer */
.portal-footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    font-size: 1rem;
    animation: fadeInUp 1s ease;
}
/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Scroll animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .portal-header {
        padding: 0.8rem 0;
    }
    
    .portal-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portal-header nav ul {
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    /* Zig-zag responsive */
    .zigzag-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .left-content .zigzag-content,
    .right-content .zigzag-content {
        grid-template-areas: 
            "visual"
            "text";
    }
    
    .text-content h2 {
        font-size: 2rem;
    }
    
    .feature-icon {
        font-size: 6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features ul {
        padding: 0 1rem;
    }
    
    .portal-main {
        margin-top: 140px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .zigzag-section {
        padding: 4rem 0;
    }
    
    .text-content h2 {
        font-size: 1.8rem;
    }
    
    .text-content p {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        font-size: 5rem;
    }
    
    .feature-list li {
        padding: 0.8rem 1.2rem;
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }
    
    .features, .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-info h2,
    .contact-info p {
        text-align: center;
    }
    
    .contact-methods {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .features h2, .contact-info h2 {
        font-size: 2.2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}

/* Animaciones de scroll para zig-zag */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.left-content .text-content {
    animation: slideInFromLeft 1s ease;
}

.right-content .text-content {
    animation: slideInFromRight 1s ease;
}

.left-content .visual-content {
    animation: slideInFromRight 1s ease 0.3s both;
}

.right-content .visual-content {
    animation: slideInFromLeft 1s ease 0.3s both;
}

/* Loading animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
/* Container Ultra Moderno */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utilities y Clases de Animación */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.magnetic {
    transition: transform 0.3s ease;
}

.parallax {
    transition: transform 0.1s ease-out;
}

.counter {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Ultra Avanzado */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .zigzag-content {
        gap: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Ocultar cursor personalizado en móvil */
    .custom-cursor,
    .cursor-trail {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .portal-header {
        padding: 0.8rem 0;
        background: rgba(10, 14, 39, 0.95);
    }
    
    .portal-header .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .main-nav ul {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-header {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-secondary-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-right: 0;
        min-width: 250px;
    }
    
    /* Zig-zag responsive */
    .zigzag-section {
        padding: 4rem 0;
    }
    
    .zigzag-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .left-content .zigzag-content,
    .right-content .zigzag-content {
        grid-template-areas: 
            "visual"
            "text";
    }
    
    .text-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .text-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        font-size: 6rem;
    }
    
    .feature-list li {
        padding: 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features h2 {
        margin-bottom: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
    
    .feature-card-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .contact h2 {
        margin-bottom: 1.5rem;
    }
    
    .contact p {
        margin-bottom: 2rem;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .portal-main {
        margin-top: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-secondary-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 220px;
    }
    
    .zigzag-section {
        padding: 3rem 0;
    }
    
    .text-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .text-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon {
        font-size: 4.5rem;
    }
    
    .feature-list li {
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .features,
    .contact {
        padding: 3rem 0;
    }
    
    .features h2,
    .contact h2 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        min-height: 220px;
    }
    
    .feature-card-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .link-group h4 {
        font-size: 1rem;
    }
    
    .portal-main {
        margin-top: 100px;
    }
}

/* Estados de carga y utilidades finales */
.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

::selection {
    background: var(--accent-blue);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 39, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}
