/* ============================================
   J&C SEO - Digital Ecosystem Website
   Styles CSS - Modern & Animated
   ============================================ */

/* CSS Variables - J&C Brand Colors */
:root {
    --primary: #4A90E2;
    --primary-dark: #2563EB;
    --secondary: #8B5CF6;
    --accent: #6C63FF;
    --dark: #0a0a0f;
    --dark-surface: #12121a;
    --dark-card: #1a1a24;
    --dark-hover: #22222e;
    --text: #e0e0e0;
    --text-muted: #8888aa;
    --gradient-1: linear-gradient(135deg, #4A90E2 0%, #8B5CF6 100%);
    --gradient-2: linear-gradient(135deg, #8B5CF6 0%, #4A90E2 100%);
    --gradient-3: linear-gradient(135deg, #4A90E2 0%, #8B5CF6 100%);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 40px rgba(74, 144, 226, 0.3);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ============================================
   LOADER
   ============================================ */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    text-align: center;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-dots {
    display: flex;
    gap: 6px;
}

.loader-dots span {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: loaderBounce 1.4s infinite ease-in-out both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loaderBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.loader-wrapper.hidden {
    animation: loaderFadeOut 0.6s forwards;
}

@keyframes loaderFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse 15s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(50px, 30px); }
    50% { transform: translate(-30px, 50px); }
    75% { transform: translate(40px, -20px); }
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.25; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.7rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
}

.logo-accent {
    color: var(--primary);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-3);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    transition: var(--transition);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.btn-nav i {
    transition: var(--transition);
}

.btn-nav:hover i {
    transform: translateX(4px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 2rem 80px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--dark-card);
    border-color: var(--primary);
}

.btn-secondary i {
    color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centered visually */
    gap: 1.5rem;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 580px; /* Made slightly wider for premium feel */
    margin: 0 auto;
}

.hero-main-image {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow), var(--glow);
    display: block;
    object-fit: cover;
    aspect-ratio: 16/10;
}

/* Hero Feature Badges (replace floating elements) */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 580px;
}

.hero-feature-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: var(--transition);
    cursor: default;
}

.hero-feature-badge:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--glow);
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.hero-feature-text h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.hero-feature-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Fallback mockup when image not loaded */
.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-frame {
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--dark);
    padding: 6px 12px;
    border-radius: 6px;
}

.mockup-content {
    display: flex;
    padding: 16px;
    gap: 16px;
    min-height: 280px;
}

.mockup-sidebar {
    width: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    height: 30px;
    background: var(--dark-hover);
    border-radius: 6px;
    transition: var(--transition);
}

.sidebar-item.active {
    background: var(--primary);
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
}

.hero-card {
    background: var(--dark-hover);
    border-radius: 8px;
    transition: var(--transition);
}

.card-1 { width: 100%; height: 80px; }
.card-2 { width: 48%; height: 60px; }
.card-3 { width: 48%; height: 60px; }

.mockup-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(74, 144, 226, 0.15), transparent 60%);
    pointer-events: none;
}

.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow);
    animation: floatElement 6s ease-in-out infinite;
    z-index: 2;
}

.floating-element i {
    color: var(--primary);
}

.element-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.element-2 {
    bottom: 20px;
    right: -50px;
    animation-delay: 2s;
}

.element-3 {
    bottom: -20px;
    left: -30px;
    animation-delay: 4s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: 100px 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ============================================
   ECOSISTEMA SECTION
   ============================================ */
.ecosistema {
    padding-top: 60px;
    padding-bottom: 60px;
}

.ecosistema-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ecosistema-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    background: #fff;
    box-shadow: var(--shadow);
}

.ecosistema-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow), var(--glow);
    border-color: var(--primary);
}

.ecosistema-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* Ecosistema Overlay - Texto sobre las imágenes */
.ecosistema-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    text-align: left;
}

.ecosistema-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ecosistema-overlay > p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.ecosistema-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ecosistema-tags span {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(74, 144, 226, 0.25);
    border: 1px solid rgba(74, 144, 226, 0.4);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* ============================================
   ECOSISTEMA FEATURES (4 Cards)
   ============================================ */
.ecosistema-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding: 0 2rem;
}

.ef-item {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.ef-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ef-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(74, 144, 226, 0.15) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ef-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.2);
}

.ef-item:hover::before {
    transform: scaleX(1);
}

.ef-item:hover::after {
    opacity: 1;
}

.ef-item i {
    font-size: 2.2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.ef-item:hover i {
    transform: scale(1.15) translateY(-5px);
}

.ef-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.ef-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Animation on load */
@keyframes efSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ef-item {
    animation: efSlideUp 0.6s ease forwards;
    opacity: 0;
}

.ef-item:nth-child(1) { animation-delay: 0.1s; }
.ef-item:nth-child(2) { animation-delay: 0.2s; }
.ef-item:nth-child(3) { animation-delay: 0.3s; }
.ef-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1200px) {
    .ecosistema-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ecosistema-features {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .ef-item {
        padding: 1.8rem 1.5rem;
    }
}

/* ============================================
   SERVICIOS SECTION
   ============================================ */
.servicios {
    padding-top: 80px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.servicio-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.servicio-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow), var(--glow);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.servicio-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 16px;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.servicio-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.servicio-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-features {
    margin-bottom: 1.5rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.7rem;
}

.card-features i {
    color: #00ff88;
    font-size: 0.8rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.card-link:hover {
    color: var(--primary);
}

.card-link i {
    transition: var(--transition);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    padding-top: 80px;
    padding-bottom: 80px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    background: var(--dark-card);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow), var(--glow);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.5) 60%, transparent 100%);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-1);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
}

/* Portfolio Highlights - 3 cards at top */
.portfolio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.portfolio-highlight-item {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--glow);
    border-color: var(--primary);
}

.portfolio-highlight-item .highlight-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.portfolio-highlight-item .highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-highlight-item:hover .highlight-image img {
    transform: scale(1.1);
}

.portfolio-highlight-item .highlight-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
}

.portfolio-highlight-item .highlight-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.7rem;
    color: #fff;
}

.portfolio-highlight-item .highlight-overlay span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}

.portfolio-highlight-item .highlight-content {
    padding: 16px;
}

.portfolio-highlight-item .highlight-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.portfolio-highlight-item .highlight-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.portfolio-highlight-item .highlight-stats {
    display: flex;
    gap: 12px;
}

.portfolio-highlight-item .highlight-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
}

.portfolio-highlight-item .highlight-stats i {
    font-size: 0.7rem;
}

@media (max-width: 992px) {
    .portfolio-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .portfolio-highlights {
        grid-template-columns: 1fr;
    }
    
    .portfolio-highlight-item .highlight-image {
        height: 180px;
    }
}

/* ============================================
   RESULTADOS SECTION - Enhanced
   ============================================ */
.resultados {
    background: var(--dark-surface);
    border-radius: 40px;
    margin: 80px 2rem;
    max-width: 1360px;
    position: relative;
    overflow: hidden;
}

/* Ambient glow effect */
.resultados::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.resultados::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.resultados-showcase {
    display: flex;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Main Result Card - Enhanced */
.resultado-card.main-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: var(--dark-card);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.resultado-card.main-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.resultado-card.main-result:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.15);
    transform: translateY(-4px);
}

/* Chart visual */
.resultado-visual {
    position: relative;
}

.chart-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: var(--dark-hover);
    stroke-width: 12;
}

.progress-bar {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    transition: stroke-dashoffset 2s ease-out;
    filter: drop-shadow(0 0 8px rgba(74, 144, 226, 0.5));
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Animated number in circle */
.big-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.suffix {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Result info */
.resultado-info {
    text-align: center;
}

.resultado-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.resultado-info p {
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
}

/* Stats row inside main card */
.resultado-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.resultado-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.resultado-stat .stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    color: var(--primary);
}

.resultado-stat .stat-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.resultado-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid of mini cards - Enhanced */
.resultados-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.resultado-mini {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.resultado-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.resultado-mini:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.15);
}

.resultado-mini:hover::before {
    transform: scaleX(1);
}

.mini-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 16px;
    margin: 0 auto 1.2rem;
    font-size: 1.4rem;
    color: #fff;
    transition: transform 0.4s ease;
}

.resultado-mini:hover .mini-icon {
    transform: scale(1.1) rotate(5deg);
}

.mini-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.mini-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mini-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .resultados-showcase {
        flex-direction: column;
    }
    
    .resultado-card.main-result {
        width: 100%;
    }
    
    .resultado-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .resultados-grid {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .resultados-grid {
        grid-template-columns: 1fr;
    }
    
    .resultado-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .resultado-stat {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

/* ============================================
   TESTIMONIOS SECTION - 3D SCROLL EFFECT
   ============================================ */
.testimonios {
    overflow: visible;
    background: var(--dark-surface);
    border-radius: 40px;
    margin: 0 2rem 80px;
    max-width: 1360px;
    padding: 80px 4rem;
}

/* Stats row */
.testimonios-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.tstat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tstat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.tstat-stars {
    color: #ffd700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.tstat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tstat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Wrapper with arrows */
.testimonios-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navigation arrows */
.testimonial-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 2;
}

.testimonial-arrow:hover {
    background: var(--gradient-1);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--glow);
}

/* Verified badge */
.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00cc77;
    margin-bottom: 0.8rem;
    padding: 4px 10px;
    background: rgba(0, 204, 119, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(0, 204, 119, 0.2);
}

.testimonial-verified i {
    font-size: 0.75rem;
}

/* Footer with result + tag */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 8px;
}

.testimonial-result {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.result-metric {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.testimonios-slider {
    overflow: hidden;
    flex: 1;
    padding: 30px 0 50px;
    perspective: 1600px;
    perspective-origin: 50% 40%;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    will-change: transform;
    transform-style: preserve-3d;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.65s ease,
                border-color 0.4s ease,
                opacity 0.65s ease;
    transform-origin: center center;
    cursor: pointer;
    will-change: transform, opacity;
    opacity: 1;
    position: relative;
}

.testimonial-card.card-active {
    border-color: var(--primary);
    box-shadow: 0 30px 80px rgba(74, 144, 226, 0.35), 0 0 0 1px rgba(74,144,226,0.3);
    transform: translateZ(60px) scale(1.04);
    opacity: 1;
    z-index: 3;
}

.testimonial-card.card-active:hover {
    transform: translateZ(70px) scale(1.05) rotateX(2deg);
    box-shadow: 0 40px 100px rgba(74, 144, 226, 0.45);
}

.testimonial-card.card-side {
    opacity: 0.65;
    transform: rotateY(22deg) translateZ(-35px) translateX(-15px) scale(0.9);
    z-index: 2;
}

.testimonial-card.card-side-right {
    opacity: 0.65;
    transform: rotateY(-22deg) translateZ(-35px) translateX(15px) scale(0.9);
    z-index: 2;
}

.testimonial-card.card-far-left {
    opacity: 0.3;
    transform: rotateY(38deg) translateZ(-70px) translateX(-30px) scale(0.78);
    z-index: 1;
}

.testimonial-card.card-far-right {
    opacity: 0.3;
    transform: rotateY(-38deg) translateZ(-70px) translateX(30px) scale(0.78);
    z-index: 1;
}

.testimonial-card:not(.card-active):not(.card-side):not(.card-side-right):not(.card-far-left):not(.card-far-right) {
    opacity: 0.1;
    transform: rotateY(50deg) translateZ(-100px) scale(0.65);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-rating {
    margin-left: auto;
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 0.85rem;
}

.testimonial-content {
    position: relative;
}

.testimonial-content > i {
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark-hover);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ============================================
   TECH STACK
   ============================================ */
.tech-stack {
    padding: 60px 2rem;
    background: var(--dark-surface);
    border-radius: 30px;
    margin: 80px auto;
    max-width: 1360px;
}

.tech-content {
    text-align: center;
}

.tech-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 1.5rem 2rem;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    /* CSS fallback: visible even without GSAP */
    opacity: 1;
    transform: scale(1);
    animation: techItemIn 0.5s ease forwards;
}

.tech-item:nth-child(1) { animation-delay: 0.05s; }
.tech-item:nth-child(2) { animation-delay: 0.10s; }
.tech-item:nth-child(3) { animation-delay: 0.15s; }
.tech-item:nth-child(4) { animation-delay: 0.20s; }
.tech-item:nth-child(5) { animation-delay: 0.25s; }
.tech-item:nth-child(6) { animation-delay: 0.30s; }
.tech-item:nth-child(7) { animation-delay: 0.35s; }
.tech-item:nth-child(8) { animation-delay: 0.40s; }
.tech-item:nth-child(9) { animation-delay: 0.45s; }

@keyframes techItemIn {
    from { opacity: 0; transform: scale(0.8) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glow);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary);
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: 100px 2rem;
    margin: 80px auto;
    max-width: 900px;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--dark-card);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-form .form-group {
    position: relative;
}

.cta-form .form-group.full {
    grid-column: 1 / -1;
}

.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.cta-form textarea {
    min-height: 100px;
    resize: vertical;
}

.cta-form i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition);
}

.cta-form textarea + i {
    top: 1.5rem;
    transform: none;
}

.cta-form input:focus + i,
.cta-form textarea:focus + i {
    color: var(--primary);
}

.btn-submit {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.2rem 2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-trust i {
    color: #00ff88;
    margin-right: 6px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-surface);
    padding: 60px 2rem 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom i {
    color: var(--secondary);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ecosistema-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resultados-showcase {
        flex-direction: column;
    }

    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .ecosistema-grid {
        grid-template-columns: 1fr;
    }

    .resultados-grid {
        grid-template-columns: 1fr;
    }

    .cta-form {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .portfolio-item img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-trust {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tech-grid {
        gap: 1rem;
    }

    .tech-item {
        padding: 1rem 1.5rem;
    }
}

/* ============================================
   PROPUESTA DE VALOR SECTION
   ============================================ */
.propuesta {
    padding: 80px 2rem;
    text-align: center;
}

.propuesta-inner {
    max-width: 900px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.propuesta-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08), transparent 50%);
    pointer-events: none;
}

.propuesta-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding: 8px 16px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50px;
}

.propuesta-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.propuesta-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.propuesta-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    border-left: 3px solid var(--primary);
    text-align: left;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 0 12px 12px 0;
}

/* ============================================
   SERVICIOS PREMIUM SECTION
   ============================================ */
.servicios-premium .servicios-grid {
    grid-template-columns: repeat(3, 1fr);
}

.servicio-card .card-bullets {
    list-style: none;
    margin-bottom: 1.5rem;
}

.servicio-card .card-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.servicio-card .card-bullets li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.servicio-card .card-note {
    font-size: 0.85rem;
    color: var(--primary);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

/* Navbar logo image */
.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Testimonial result image */
.testimonial-img {
    width: calc(100% + 4rem);
    margin: -2rem -2rem 1.2rem;
    height: 190px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px 20px 0 0;
    display: block;
    transition: transform 0.6s ease;
}

.testimonial-card.card-active .testimonial-img {
    transform: scale(1.03);
}

/* Portfolio gallery (extra images below grid) */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 992px) {
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 200px;
    }
}

/* Reduce space between servicios and diferencial */
.servicios-premium {
    padding-bottom: 20px !important;
}

/* Service card header image */
.card-image {
    width: calc(100% + 4rem);
    margin: -2rem -2rem 1.5rem;
    height: 180px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
    transition: transform 0.5s ease;
}

.servicio-card:hover .card-image {
    transform: scale(1.04);
}

/* Portfolio always-visible overlay */
.portfolio-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.3) 60%, transparent 100%) !important;
}

/* ============================================
   DIFERENCIAL SECTION
   ============================================ */
.diferencial {
    background: var(--dark-surface);
    border-radius: 40px;
    margin: 0 2rem 80px;
    max-width: 1360px;
    padding: 80px 4rem;
    margin-top: 0 !important;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.diferencial-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.diferencial-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.diferencial-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 14px;
    font-size: 1.4rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.diferencial-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.diferencial-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   PROCESO SECTION
   ============================================ */
.proceso {
    padding: 100px 2rem;
}

.proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 3rem;
}

.proceso-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.3;
    z-index: 0;
}

.proceso-step {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.proceso-step:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.paso-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 1.2rem;
}

.proceso-step h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.proceso-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   SOBRE LA AGENCIA SECTION
   ============================================ */
.sobre {
    padding: 80px 2rem;
}

.sobre-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-content h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sobre-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.sobre-frases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.frase-item {
    padding: 1rem 1.5rem;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    font-style: italic;
    transition: var(--transition);
}

.frase-item:hover {
    border-left-color: var(--secondary);
    background: var(--dark-hover);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 80px 2rem;
    background: var(--dark-surface);
    border-radius: 40px;
    margin: 0 2rem 80px;
    max-width: 1360px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.3rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ============================================
   FRASES DE POSICIONAMIENTO
   ============================================ */
.frases-strip {
    padding: 40px 2rem;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1400px;
}

.frases-track {
    display: flex;
    gap: 3rem;
    animation: frasesScroll 20s linear infinite;
    width: max-content;
}

.frase-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.frase-badge i {
    color: var(--primary);
}

@keyframes frasesScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE - NEW SECTIONS
   ============================================ */
@media (max-width: 1200px) {
    .diferencial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proceso-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .proceso-steps::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .sobre-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .propuesta-inner {
        padding: 2.5rem 1.5rem;
    }

    .propuesta-title {
        font-size: 1.8rem;
    }

    .diferencial {
        padding: 60px 2rem;
        margin: 0 0 60px;
        border-radius: 24px;
    }

    .faq {
        margin: 0 0 60px;
        border-radius: 24px;
    }

    .testimonios {
        padding: 60px 2rem;
        margin: 0 0 60px;
        border-radius: 24px;
    }

    .testimonios-wrapper {
        gap: 0.5rem;
    }

    .testimonial-arrow {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .tstat-divider {
        display: none;
    }

    .testimonios-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .diferencial-grid {
        grid-template-columns: 1fr;
    }

    .proceso-steps {
        grid-template-columns: 1fr;
    }

    .servicios-premium .servicios-grid {
        grid-template-columns: 1fr;
    }

    .testimonios-stats {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 1rem;
        padding: 1rem;
    }

    .tstat-divider {
        display: none;
    }

    .testimonial-arrow {
        display: none;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile: hero image smaller */
    .hero-main-image {
        max-height: 280px;
        object-fit: cover;
    }

    /* Mobile: reduce section padding */
    section {
        padding: 60px 1.2rem;
    }

    .hero {
        padding: 100px 1.2rem 60px;
    }

    /* Mobile: portfolio gallery 2 cols */
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile: ecosistema 1 col */
    .ecosistema-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .testimonios-stats {
        grid-template-columns: 1fr 1fr;
    }

    .tstat-number {
        font-size: 1.4rem;
    }

    .result-metric {
        font-size: 1.1rem;
    }

    /* Mobile: reduce hero title */
    .hero-title {
        font-size: 1.9rem;
    }

    /* Mobile: stack hero CTA */
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Mobile: reduce card padding */
    .servicio-card {
        padding: 1.5rem;
    }

    /* Mobile: portfolio 1 col */
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.split-text.visible .char {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal.visible {
    clip-path: inset(0 0 0 0);
}

.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.visible {
    clip-path: inset(0 0 0 0);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}
