/* ===== VARIABLES DE COLOR FUTURISTAS ===== */
:root {
    /* ===== NEON MATRIX PALETTE (Inspired by Image) ===== */
    --primary-color: #00FFFF;
    /* Cyan brillante - Como el "K" del logo */
    --secondary-color: #0099FF;
    /* Azul eléctrico - Como los botones */
    --accent-color: #00CCFF;
    /* Cyan medio - Para transiciones */
    --text-primary: #FFFFFF;
    /* Blanco puro */
    --text-secondary: #B0E0E6;
    /* Cyan claro */
    --text-muted: #87CEEB;
    /* Azul claro */
    --bg-primary: #0A0A2A;
    /* Azul muy oscuro - Como el fondo principal */
    --bg-secondary: #1A1A4A;
    /* Azul oscuro - Como las tarjetas */
    --bg-tertiary: #2A2A6A;
    /* Azul medio - Para elementos elevados */
    --bg-card: rgba(26, 26, 74, 0.9);
    --border-color: rgba(0, 255, 255, 0.3);
    --border-hover: rgba(0, 153, 255, 0.6);
    --border-action: rgba(0, 204, 255, 0.5);
    --shadow-primary: 0 0 40px rgba(0, 255, 255, 0.6);
    --shadow-secondary: 0 0 40px rgba(0, 153, 255, 0.6);
    --shadow-action: 0 0 40px rgba(0, 204, 255, 0.6);
    --gradient-primary: linear-gradient(135deg, #00FFFF 0%, #0099FF 100%);
    --gradient-secondary: linear-gradient(135deg, #0099FF 0%, #00FFFF 100%);
    --gradient-action: linear-gradient(135deg, #00CCFF 0%, #0099FF 100%);
    --gradient-bg: linear-gradient(135deg, #0A0A2A 0%, #1A1A4A 50%, #2A2A6A 100%);
    --success-color: #00FFFF;
    --warning-color: #00CCFF;
    --info-color: #0099FF;
    --bg-glass: rgba(26, 26, 74, 0.8);
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 204, 255, 0.05) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: var(--shadow-primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
    transform: scale(1.05);
}

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

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.main-nav a:hover::before {
    opacity: 0.1;
}

.main-nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ===== MENÚ HAMBURGUESA ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.nav-toggle-bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== NAVEGACIÓN MÓVIL ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.5rem;
        font-weight: 600;
        padding: 1rem 2rem;
        border-radius: 12px;
        display: block;
        width: 100%;
        max-width: 300px;
    }

    .main-nav a::before {
        border-radius: 12px;
    }

    .main-nav a:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-primary);
    }

    .hero-badge {
        margin: 3.5rem 0 2rem 0;
    }

    .hero-stats {
        margin: 0 auto 3.5rem auto;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }

    .nav-toggle-bar {
        width: 22px;
        height: 2.5px;
    }

    .hero-badge {
        margin: 4rem 0 2rem 0;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin: 3rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    overflow: visible;
}

.title-line {
    display: block;
    animation: slideInUp 0.8s ease-out;
    padding: 0.2rem 0;
    margin: 0.1rem 0;
    overflow: visible;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0.3rem 0;
    margin: 0.2rem 0;
}

@supports not (-webkit-background-clip: text) {
    .title-line.highlight {
        background: none;
        -webkit-text-fill-color: var(--primary-color);
        color: var(--primary-color);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 180px;
    min-height: 50px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-primary);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.btn-action {
    background: var(--gradient-action);
    color: white;
    box-shadow: var(--shadow-action);
}

.btn-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 107, 53, 0.5);
}

/* ===== ELEMENTOS DE ACCIÓN ===== */
.action-highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.success-indicator {
    color: var(--success-color);
}

.warning-indicator {
    color: var(--warning-color);
}

.info-indicator {
    color: var(--info-color);
}

/* ===== BADGES Y ETIQUETAS ===== */
.badge-success {
    background: var(--success-color);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-info {
    background: var(--info-color);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.neon-glow {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.5);
}

.blue-glow {
    box-shadow: 0 0 50px rgba(0, 153, 255, 0.4);
    border: 1px solid rgba(0, 153, 255, 0.5);
}

.cyan-glow {
    box-shadow: 0 0 50px rgba(0, 204, 255, 0.4);
    border: 1px solid rgba(0, 204, 255, 0.5);
}

.neon-overlay {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 153, 255, 0.1) 100%);
}

.blue-overlay {
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.1) 0%, rgba(0, 255, 255, 0.1) 100%);
}

.cyan-overlay {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(0, 153, 255, 0.1) 100%);
}

.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.2rem 0;
    margin: 0.1rem 0;
    overflow: visible;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.2rem 0;
    margin: 0.1rem 0;
    overflow: visible;
}

.text-gradient-action {
    background: var(--gradient-action);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.2rem 0;
    margin: 0.1rem 0;
    overflow: visible;
}

@supports not (-webkit-background-clip: text) {
    .text-gradient-primary {
        background: none;
        -webkit-text-fill-color: var(--primary-color);
        color: var(--primary-color);
    }

    .text-gradient-secondary {
        background: none;
        -webkit-text-fill-color: var(--secondary-color);
        color: var(--secondary-color);
    }

    .text-gradient-action {
        background: none;
        -webkit-text-fill-color: var(--accent-color);
        color: var(--accent-color);
    }
}

.neon-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #00FFFF, #0099FF, #00CCFF) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.neon-text {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
}

.neon-pulse {
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    to {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.4);
    }
}

.blue-pulse {
    animation: bluePulse 2s ease-in-out infinite alternate;
}

@keyframes bluePulse {
    from {
        box-shadow: 0 0 20px rgba(0, 153, 255, 0.3);
    }

    to {
        box-shadow: 0 0 40px rgba(0, 153, 255, 0.8), 0 0 60px rgba(0, 153, 255, 0.4);
    }
}

.cyan-pulse {
    animation: cyanPulse 2s ease-in-out infinite alternate;
}

@keyframes cyanPulse {
    from {
        box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
    }

    to {
        box-shadow: 0 0 40px rgba(0, 204, 255, 0.8), 0 0 60px rgba(0, 204, 255, 0.4);
    }
}

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

.btn:hover .btn-glow {
    left: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== SERVICIOS SECTION ===== */
.servicios {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-color);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding: 0.3rem 0;
    overflow: visible;
}

.title-highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding: 0.2rem 0;
    margin: 0.1rem 0;
    overflow: visible;
}

@supports not (-webkit-background-clip: text) {
    .title-highlight {
        background: none;
        -webkit-text-fill-color: var(--secondary-color);
        color: var(--secondary-color);
    }
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.service-badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
    gap: 1rem;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 0.05;
}

/* ===== CLIENTES SECTION ===== */
.clientes {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.clients-showcase {
    margin-top: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.client-logo {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.client-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.client-logo:hover .client-overlay {
    transform: translateY(0);
}

.client-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.client-service {
    font-size: 0.8rem;
    color: var(--primary-color);
}

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

.clients-stats .stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* ===== ELEMENTOS DE CONFIANZA ===== */
.trust-elements {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.trust-icon svg {
    width: 16px;
    height: 16px;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== COPYRIGHT ===== */
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.footer-copyright span {
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .trust-elements {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .trust-item {
        justify-content: center;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .trust-elements {
        gap: 0.75rem;
    }

    .trust-item {
        padding: 0.4rem 0.8rem;
        min-width: 180px;
    }

    .trust-item span {
        font-size: 0.85rem;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-copyright span {
        font-size: 0.85rem;
    }
}

/* ===== BOTÓN FLOTANTE ===== */
.floating-action-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-action-button:not(.visible) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.8) translateY(20px) !important;
    pointer-events: none !important;
}

#back-to-top,
.back-to-top,
.scroll-to-top {
    display: none !important;
}

.floating-action-button.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    display: block !important;
}

.fab-container {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

/* ===== GLOW EFFECT ===== */
.fab-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, rgba(0, 153, 255, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    animation: fabGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}

/* ===== PARTÍCULAS FLOTANTES ===== */
.fab-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
}

.particle-1 {
    top: 20%;
    left: 50%;
    animation: particleFloat1 4s ease-in-out infinite;
}

.particle-2 {
    top: 50%;
    right: 20%;
    animation: particleFloat2 4s ease-in-out infinite 1s;
}

.particle-3 {
    bottom: 20%;
    left: 50%;
    animation: particleFloat3 4s ease-in-out infinite 2s;
}

.particle-4 {
    top: 50%;
    left: 20%;
    animation: particleFloat4 4s ease-in-out infinite 3s;
}

/* ===== BOTÓN PRINCIPAL ===== */
.fab-button {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 40px rgba(0, 153, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.fab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.fab-button:hover::before {
    transform: translateX(100%);
}

.fab-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 60px rgba(0, 153, 255, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.fab-icon {
    color: var(--bg-primary);
    transition: all 0.3s ease;
    z-index: 1;
}

.fab-button:hover .fab-icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

/* ===== EFECTO RIPPLE ===== */
.fab-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: ripple 2s ease-out infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes fabGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes particleFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-10px, -15px) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes particleFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(15px, -10px) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes particleFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(10px, 15px) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes particleFloat4 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-15px, 10px) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes ripple {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }

    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .floating-action-button {
        bottom: 1.5rem;
        right: 1.5rem;
        position: fixed !important;
        z-index: 1000 !important;
    }

    .fab-container {
        width: 50px;
        height: 50px;
    }

    .fab-button {
        width: 50px;
        height: 50px;
    }

    .fab-icon {
        width: 20px;
        height: 20px;
    }

    .fab-glow {
        width: 70px;
        height: 70px;
    }

    .fab-particles {
        width: 80px;
        height: 80px;
    }

    #back-to-top,
    .back-to-top,
    .scroll-to-top,
    .floating-action-button:not(#floatingBtn) {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .floating-action-button {
        bottom: 1rem;
        right: 1rem;
        position: fixed !important;
        z-index: 1000 !important;
    }

    .fab-container {
        width: 45px;
        height: 45px;
    }

    .fab-button {
        width: 45px;
        height: 45px;
    }

    .fab-icon {
        width: 18px;
        height: 18px;
    }

    #back-to-top,
    .back-to-top,
    .scroll-to-top,
    .floating-action-button:not(#floatingBtn) {
        display: none !important;
    }
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin: 5% auto;
    padding: 0;
    width: min(90%, 600px);
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--bg-primary);
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.contact-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.label-required {
    color: var(--accent-color);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    appearance: none;
    transition: all 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

/* ===== BOTÓN VOLVER ARRIBA ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-primary);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

/* ===== PORTFOLIO HERO ===== */
.hero-portfolio {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero-portfolio .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

/* ===== PORTFOLIO FILTER ===== */
.portfolio-filter {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    box-shadow: var(--shadow-primary);
}

.filter-btn .btn-icon {
    font-size: 1.2rem;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
    padding: 4rem 0;
    background: var(--bg-primary);
}

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

.portfolio-item {
    position: relative;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.portfolio-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.portfolio-badge {
    background: var(--gradient-secondary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.project-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.card-footer {
    margin-top: auto;
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-portfolio .btn-icon {
    transition: transform 0.3s ease;
}

.btn-portfolio:hover .btn-icon {
    transform: translateX(4px);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.portfolio-card:hover .card-glow {
    opacity: 0.1;
}

/* ===== PROJECT MODAL ===== */
#project-modal .modal-content {
    max-width: 1000px;
    max-height: 85vh;
    margin-bottom: 2rem;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-primary);
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

#project-modal .modal-content::-webkit-scrollbar {
    display: none;
}

#project-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

#project-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

#project-modal .modal-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    box-shadow: var(--shadow-primary);
}

#project-modal .modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#project-modal .modal-subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* ===== MODAL BODY STYLES ===== */
#project-modal .modal-body {
    padding: 0 2rem 2rem;
}

.project-detail {
    color: var(--text-primary);
    padding-bottom: 1rem;
}

.project-detail h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-detail>p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== WEB PROJECTS GRID ===== */
.web-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0 1.5rem 0;
}

.web-project-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.web-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web-project-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.web-project-card:hover::before {
    opacity: 1;
}

.web-project-image {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.web-project-image img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(1.1);
}

.web-project-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.web-project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.web-project-info .btn-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.web-project-info .btn-portfolio:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* ===== PROJECT INFO SECTIONS ===== */
.project-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1.25rem 0 0.75rem 0;
    border-top: 1px solid var(--border-color);
}

.project-features,
.web-benefits,
.menu-benefits,
.invitation-benefits,
.personalization-benefits {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    position: relative;
}

.project-features::before,
.web-benefits::before,
.menu-benefits::before,
.invitation-benefits::before,
.personalization-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.project-features h4,
.web-benefits h4,
.menu-benefits h4,
.invitation-benefits h4,
.personalization-benefits h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features h4::before,
.web-benefits h4::before,
.menu-benefits h4::before,
.invitation-benefits h4::before,
.personalization-benefits h4::before {
    font-size: 1.2rem;
}

.project-features ul,
.web-benefits ul,
.menu-benefits ul,
.invitation-benefits ul,
.personalization-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li,
.web-benefits li,
.menu-benefits li,
.invitation-benefits li,
.personalization-benefits li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.project-features li::before,
.web-benefits li::before,
.menu-benefits li::before,
.invitation-benefits li::before,
.personalization-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== MENU QR GALERÍA ===== */
.qr-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0 1.5rem 0;
}

.qr-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qr-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qr-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.qr-item:hover::before {
    opacity: 1;
}

.qr-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qr-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.qr-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    text-align: left;
}

.qr-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.875rem;
    line-height: 1.4;
}

.qr-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.qr-link-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.qr-link-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.qr-link-text a:hover {
    color: var(--accent-color);
}

.menu-disclaimer {
    margin-top: 1.25rem;
    padding: 0.875rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.menu-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    font-style: italic;
}

/* ===== INVITATION GALLERY ===== */
.invitation-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.invitation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.invitation-card:hover::before {
    opacity: 1;
}

.invitation-header {
    position: relative;
    margin-bottom: 0;
}

.invitation-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding: 1.5rem 1.5rem 0 1.5rem;
    text-align: left;
}

.invitation-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

.invitation-features {
    padding: 1.5rem;
    margin-bottom: 0;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.invitation-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.invitation-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
}

.invitation-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.invitation-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.invitation-buttons .btn-portfolio {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.quote-btn {
    background: var(--gradient-secondary) !important;
}

/* ===== DESIGN GALLERY ===== */
.design-categories {
    margin: 1.25rem 0;
}

.design-category {
    display: none;
}

.design-category.active {
    display: block;
}

.design-category h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.design-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.design-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.design-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

.design-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.design-item:hover .design-overlay {
    transform: translateY(0);
}

.design-category-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.category-nav-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-nav-btn:hover,
.category-nav-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-primary);
    box-shadow: var(--shadow-primary);
}

/* ===== PERSONALIZATION CAROUSEL ===== */
.personalization-carousel {
    margin: 1.25rem 0 1.5rem 0;
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.carousel-container img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: none;
}

.carousel-container img:first-child {
    display: block;
}

.carousel-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.instagram-link {
    margin-top: 1.5rem;
}

.instagram-link .btn-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #E4405F, #C13584);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instagram-link .btn-portfolio:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 53, 132, 0.3);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== CTA PORTFOLIO ===== */
.cta-portfolio {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.cta-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

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

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-stats .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
        margin: 0 auto 4rem auto;
    }

    .clients-stats {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .client-logo {
        padding: 1.5rem;
    }
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* ===== TIMELINE DEL PROCESO ===== */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding: 2rem 0;
    min-height: 400px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.step-content:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-primary);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--bg-primary);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.step-connector {
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: -4rem;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.process-step:last-child .step-connector {
    display: none;
}

/* ===== CTA DEL PROCESO ===== */
.process-cta {
    margin-top: 4rem;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.process-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: -1;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE PARA TIMELINE ===== */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 2.5rem;
    }

    .step-connector {
        display: none;
    }

    .step-content {
        padding: 1.5rem;
    }

    .process-cta {
        padding: 2rem 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }
}

/* ===== EFECTOS DE SCROLL ===== */
@media (prefers-reduced-motion: no-preference) {

    .service-card,
    .client-logo,
    .stat-item {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .service-card.visible,
    .client-logo.visible,
    .stat-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .process-step {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.6s ease;
    }
}

/* ===== PORTFOLIO RESPONSIVE ===== */
@media (max-width: 768px) {
    .portfolio-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .project-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .portfolio-card {
        padding: 1.5rem;
    }

    .portfolio-icon {
        width: 50px;
        height: 50px;
    }

    .card-content h3 {
        font-size: 1.25rem;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
    }

    #project-modal .modal-content {
        max-width: 95%;
        max-height: 80vh;
        margin: 1rem 1rem 3rem 1rem;
    }

    #project-modal .modal-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem 1rem 1rem;
    }

    #project-modal .modal-body {
        padding: 0 1rem 1.5rem;
    }

    .web-projects-grid,
    .qr-gallery,
    .invitation-examples {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .design-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .design-category-nav {
        flex-direction: column;
        align-items: center;
    }

    .category-nav-btn {
        width: 100%;
        max-width: 250px;
    }

    .invitation-buttons {
        flex-direction: column;
    }

    .invitation-buttons .btn-portfolio {
        width: 100%;
    }

    .carousel-container {
        max-width: 300px;
    }

    .carousel-container img {
        height: 250px;
    }
}