:root {
    /* Fondos */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Acento Primario: Azul Eléctrico (#3B82F6) */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    /* Base */
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-rgb: 59, 130, 246;

    /* Textos - Brightened for elite legibility */
    --text-primary: #FFFFFF;
    --text-secondary: #FAFAFA;
    --text-tertiary: #E4E4E7;
    --text-quaternary: #A1A1AA;

    /* Transition */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Acentos Secundarios */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;
    --btn-portal: #4F46E5;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* GHL Full-Width Breakout Hack */
section,
header,
footer {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.65rem;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-400);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 100px;
    position: relative;
    background: radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.15) 0%, transparent 60%);
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-400);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.glow-text {
    color: var(--primary-400);
    text-shadow: 0 0 35px rgba(var(--primary-rgb), 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-metrics {
    display: flex;
    gap: 48px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Sphere Visual */
.hero-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere {
    width: 400px;
    height: 400px;
    position: absolute;
    transform-style: preserve-3d;
    z-index: -1;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), 0.25), transparent);
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(12px);
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.8);
}

/* Magnetic Button Transition */
.btn-primary,
.btn-secondary-outline,
.btn-portal {
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

.btn-portal {
    background: var(--btn-portal) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Services */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 100px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Glass Card - Enhanced Visibility */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: 0 12px 48px rgba(var(--primary-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-5px);
}

/* Animations & Transitions */
.reveal {
    opacity: 0.8;
    /* Higher fallback opacity */
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    /* Enable interaction even if reveal hasn't finished */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

/* Multi-layer shadow for depth (Flow style) */
.service-card-flip:hover {
    box-shadow:
        0 20px 50px rgba(var(--primary-rgb), 0.3),
        0 0 100px rgba(var(--primary-rgb), 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Flip Cards */
.service-card-flip {
    height: 400px;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    /* Faster, smoother transition */
    transform-style: preserve-3d;
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background-color: var(--bg-tertiary);
}

/* Spotlight Effect */
.service-card-flip::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y),
            rgba(var(--primary-rgb), 0.5),
            transparent 50%);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: 24px;
}

.service-card-flip:hover::before {
    opacity: 1;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.service-card-back {
    background: linear-gradient(135deg, #18181B 0%, #09090B 100%);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    transform: rotateY(180deg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.back-title {
    font-size: 1.4rem;
    color: var(--primary-400);
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
    padding-bottom: 10px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '→';
    color: var(--primary-500);
    font-weight: 800;
}

.btn-micro {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-600);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-micro:hover {
    background: var(--primary-500);
    transform: scale(1.05);
}

.service-title-back {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--primary-400);
}

.service-description {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.feature-tag {
    padding: 6px 14px;
    background: rgba(var(--primary-rgb), 0.2);
    border: 1px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* Glass Card - Enhanced Visibility */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 48px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
}

/* CRM Section Elite AI */
.crm-section {
    padding: 120px 0;
    background: radial-gradient(circle at right, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.crm-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.crm-content {
    max-width: 900px;
    margin-bottom: 30px;
}

.crm-visual-container {
    width: 100%;
    max-width: 1000px;
}

/* AI Highlight Block */
.ai-feature-highlight {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(139, 92, 246, 0.08) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(var(--primary-rgb), 0.05);
    transition: var(--transition-smooth);
}

.ai-feature-highlight:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.2);
}

.ai-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(90deg, var(--primary-600), #8B5CF6);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.ai-feature-highlight h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.crm-feature-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 18px;
    padding: 24px 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    text-align: left;
    /* Keep internal item text left-aligned for elite look */
}

.crm-feature-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.crm-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 12px;
    color: var(--primary-400);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.crm-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(12px);
}

.crm-feature-item:hover .crm-feature-icon {
    background: var(--primary-600);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
}

.crm-feature-item h4 {
    color: #FFFFFF;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.crm-feature-item p {
    color: var(--text-secondary);
}

/* Premium Carousel */
/* Premium Carousel - Global Flow & Absolute Visibility */
.premium-carousel {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 600px;
    /* More space for vertical stack */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: #000;
    margin: 0 auto;
}

.premium-carousel .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: 1 !important;
    visibility: visible !important;
}

.carousel-card {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Ensure it's not hidden by default scroll/loading */
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    z-index: 10;
    pointer-events: none;
}

.caption-content {
    transform: translateY(10px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .caption-content {
    transform: translateY(0);
}

.carousel-caption h5 {
    font-size: 1.85rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 85%;
    color: rgba(255, 255, 255, 0.85);
}

/* Elite Background Accents */
.crm-section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(0, 0, 0, 0.3) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: 800 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-600) !important;
    border-color: var(--primary-400) !important;
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-500) !important;
    width: 30px !important;
    border-radius: 10px !important;
}

/* Licenses - White Premium Mode */
.licenses-section {
    background-color: #FFFFFF !important;
    padding: 100px 0;
}

.licenses-section .section-title {
    color: #18181B !important;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.license-item {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #F4F4F5;
    border: 1px solid #E4E4E7;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.license-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.license-item img {
    max-width: 100%;
    max-height: 100%;
    filter: none;
    /* Removed brightness for white background */
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 10000;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* Footer */
.footer {
    padding: 100px 0 30px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand .brand-name {
    color: #FFFFFF !important;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--primary-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-rnc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-400);
    padding-left: 8px;
}

.contact-info-list p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form .form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.newsletter-form .form-input:focus {
    outline: none;
    border-color: var(--primary-500);
    background: rgba(255, 255, 255, 0.06);
}

.newsletter-form .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    background: var(--primary-grad);
    color: #FFFFFF;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Social */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.social-link-item:hover {
    color: var(--primary-400);
    transform: translateY(-3px);
}

.social-link-item svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Navbar compacto en pantallas medianas */
    .nav-links {
        gap: 16px;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .brand-tagline {
        display: none;
    }
}

@media (max-width: 768px) {


    .hero-grid,
    .services-grid,
    .crm-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-metrics {
        justify-content: center;
        flex-wrap: wrap;
        gap: 32px;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #FFFFFF;
        border-radius: 10px;
        transition: var(--transition-smooth);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition-smooth);
        z-index: 1000;
        padding: 0;
        margin: 0;
        display: flex !important;
        /* Forces flex when active class is handled by JS */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }
}

/* Elite Parallax & Depth */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.parallax-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.7;
    background: radial-gradient(circle, var(--primary-500), transparent);
}

.sphere-1 {
    width: 500px;
    height: 500px;
    top: 0%;
    right: 0%;
}

.sphere-2 {
    width: 450px;
    height: 450px;
    bottom: 0%;
    left: 0%;
    background: radial-gradient(circle, #4F46E5, transparent);
}

.sphere-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 40%;
    opacity: 0.1;
}

/* Elite Intro Animation */
.hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    animation: eliteEnter 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .hero-label {
    animation-delay: 0.2s;
}

.hero-content h1 {
    animation-delay: 0.4s;
}

.hero-content .hero-subtitle {
    animation-delay: 0.6s;
}

.hero-content .hero-actions {
    animation-delay: 0.8s;
}

.hero-content .hero-metrics {
    animation-delay: 1s;
}

@keyframes eliteEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}