/*
* TechVision 2025 - Estilos principales
* Diseño Web Moderno y Tecnológico
* Autor: TechVision
*/

/* Variables y configuración inicial */
:root {
    /* Colores principales */
    --primary: #591e4a;
    --secondary: #a58c9f;
    --white: #ffffff;
    --dark: #1a0e16;
    --light: #f9f9f9;

    /* Variantes con transparencia */
    --primary-transparent: rgba(89, 30, 74, 0.85);
    --primary-light: rgba(89, 30, 74, 0.1);
    --primary-medium: rgba(89, 30, 74, 0.3);

    /* Colores adicionales */
    --accent: #7e3b69;
    --accent-bright: #b93c9c;
    --neon-glow: #ff00ff;

    /* Fuentes */
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Tamaños de fuente */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    --fs-huge: 3.5rem;

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Bordes y sombras */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-back: -1;
    --z-normal: 1;
    --z-menu: 50;
    --z-modal: 100;
    --z-cursor: 1000;
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* Reset básico */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: white;
}

/* Cursor personalizado */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: var(--z-cursor);
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-bright);
    box-shadow: 0 0 10px var(--neon-glow);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    transition: width 0.3s ease, height 0.3s ease;
}

/* Partículas de fondo */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-back);
    opacity: 3.4;
}

/* Estilos para el contenedor principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
}

/* Header y navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(26 14 22 / 30%);
    backdrop-filter: blur(10px);
    z-index: var(--z-menu);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(165, 140, 159, 0.1);
    transition: all var(--transition-normal);
}

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

.logo-footer {
    display: flex;
    align-items: flex-start;
    position: relative;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
}

.logo-text span {
    color: var(--accent-bright);
    position: relative;
}

.logo-accent {
    position: absolute;
    bottom: -4px;
    left: 0;
    height: 2px;
    width: 70%;
    background: linear-gradient(90deg, var(--accent-bright), transparent);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--fs-sm);
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-bright);
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-bright);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition-normal);
}

/* Estilos para la sección Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--spacing-xl) * 2) 0 var(--spacing-xl);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top left, var(--accent) 0%, transparent 50%),
        radial-gradient(ellipse at top right, var(--primary) 0%, transparent 50%),
        linear-gradient(to bottom, transparent 0%, #591e4a 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.8'%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='150' cy='80' r='2'/%3E%3Ccircle cx='80' cy='150' r='2'/%3E%3Cpath d='M50,50 L150,80 M150,80 L80,150'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 400px;
    opacity: 0.9;
    z-index: var(--z-back);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    position: relative;
    z-index: var(--z-normal);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: var(--fs-huge);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    position: relative;
    z-index: var(--z-normal);
}

.animated-subheading {
    height: 30px;
    margin: var(--spacing-sm) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--accent-bright);
}

.animated-subheading span {
    display: block;
    height: 100%;
    animation: rotate-words 8s infinite;
    position: absolute;
    opacity: 0;
}

.animated-subheading span:nth-child(1) {
    animation-delay: 0s;
}

.animated-subheading span:nth-child(2) {
    animation-delay: 3s;
}

.animated-subheading span:nth-child(3) {
    animation-delay: 6s;
}

.hero-text p {
    max-width: 540px;
    margin-bottom: var(--spacing-lg);
    font-size: var(--fs-md);
    color: var(--white);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.deco-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 3s infinite alternate;
}

.deco-line {
    position: absolute;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    transform: rotate(45deg);
    top: 50%;
    left: 10%;
    animation: pulse 4s infinite alternate;
}

.holographic-display {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    background-color: rgba(89, 30, 74, 0.2);
    box-shadow: 0 0 40px rgba(185, 60, 156, 0.3);
    backdrop-filter: blur(5px);
}

.holo-content {
    width: 100%;
    height: 100%;
    position: relative;
    animation: float 6s infinite ease-in-out;
}

.circuit-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, var(--primary-light) 1px, transparent 1px),
        linear-gradient(180deg, var(--primary-light) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-animation 20s linear infinite;
}

.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent 0%, var(--accent-bright) 50%, transparent 100%);
    opacity: 0.2;
    animation: data-flow 3s linear infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    z-index: var(--z-normal);
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--white);
    border-radius: var(--border-radius-full);
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0.6;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: var(--border-radius-full);
    margin-top: 8px;
    animation: scroll-wheel 2s infinite;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrows span {
    width: 12px;
    height: 12px;
    border: 2px solid var(--white);
    border-left: 0;
    border-top: 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: arrow-down 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: var(--fs-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background-color: var(--accent-bright);
    color: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(185, 60, 156, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(185, 60, 156, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: rgba(126, 59, 105, 0.1);
    border-color: var(--accent-bright);
    transform: translateY(-3px);
}

/* Modern Button Styles */
.btn-modern {
    background: linear-gradient(45deg, var(--accent), var(--accent-bright));
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(185, 60, 156, 0.4);
    font-weight: 600;
    letter-spacing: 0.5px;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-modern:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(185, 60, 156, 0.6);
}

.btn-modern:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(185, 60, 156, 0.4);
}

.btn-glow {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(185, 60, 156, 0.7);
    padding: 0.8rem 1.9rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(185, 60, 156, 0.3);
    backdrop-filter: blur(5px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-bright), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-glow:hover {
    color: var(--white);
    border-color: var(--accent-bright);
    transform: translateY(-5px);
}

.btn-glow:hover::after {
    opacity: 0.2;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 14, 22, 0.9);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: rgba(89, 30, 74, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(185, 60, 156, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

/* Select Field Styling */
select {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(26, 14, 22, 0.6);
    border: 1px solid rgba(165, 140, 159, 0.2);
    border-radius: var(--border-radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    transition: all var(--transition-normal);
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(89, 30, 74, 0.1);
}

select option {
    background-color: var(--dark);
    color: var(--white);
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-modal:hover {
    color: var(--accent-bright);
    transform: scale(1.1);
}

.modal h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-md);
    color: var(--white);
    text-align: center;
}

/* Sección de servicios */
.services {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    margin-top: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: var(--primary-light);
    color: var(--accent-bright);
    border-radius: var(--border-radius-full);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-xxl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-header h2 span {
    color: var(--accent-bright);
    position: relative;
}

.section-header h2 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-bright), transparent);
}

.section-header p {
    color: var(--white);
    opacity: 0.8;
    margin: 0 auto;
    max-width: 600px;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: rgba(26, 14, 22, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(165, 140, 159, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: var(--z-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.service-icon i {
    font-size: var(--fs-xl);
    color: var(--accent-bright);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--accent-bright), transparent);
    opacity: 0.3;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover .service-icon::after {
    transform: translateX(100%);
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.service-content p {
    color: var(--white);
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--spacing-sm);
}

.tech-tags span {
    background-color: var(--primary-light);
    color: var(--accent);
    font-size: var(--fs-xs);
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
}

.service-card:hover .tech-tags span {
    background-color: var(--primary-medium);
    color: var(--accent-bright);
}

.hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover .hover-effect {
    transform: scaleX(1);
}

/* Sección de tecnología */
.tech {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M30,30 L70,30 L70,70 L30,70 Z" stroke="rgba(165,140,159,0.1)" fill="none" stroke-width="0.5"/><circle cx="30" cy="30" r="2" fill="rgba(185,60,156,0.2)"/><circle cx="70" cy="30" r="2" fill="rgba(185,60,156,0.2)"/><circle cx="30" cy="70" r="2" fill="rgba(185,60,156,0.2)"/><circle cx="70" cy="70" r="2" fill="rgba(185,60,156,0.2)"/></svg>');
    background-repeat: repeat;
    opacity: 0.2;
    z-index: var(--z-back);
}

.tech-showcase {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.tech-visual {
    flex: 1;
    min-width: 300px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-sphere {
    position: relative;
    width: 200px;
    height: 200px;
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-bright) 0%, var(--accent) 100%);
    box-shadow: 0 0 20px var(--accent-bright);
}

.sphere-orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(185, 60, 156, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 12s linear infinite;
}

.sphere-orbit:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 8s;
    animation-direction: reverse;
}

.sphere-orbit:nth-child(3) {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-duration: 20s;
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-bright);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--accent-bright);
}

.data-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.data-lines .line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
    animation: line-flow 3s infinite linear;
}

.data-lines .line:nth-child(1) {
    width: 60%;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.data-lines .line:nth-child(2) {
    width: 40%;
    top: 50%;
    left: 30%;
    animation-delay: 1s;
}

.data-lines .line:nth-child(3) {
    width: 70%;
    top: 70%;
    left: 15%;
    animation-delay: 2s;
}

.tech-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tech-feature {
    display: flex;
    gap: var(--spacing-md);
    background-color: rgba(26, 14, 22, 0.8);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(165, 140, 159, 0.1);
    transition: all var(--transition-normal);
}

.tech-feature:hover {
    background-color: rgba(89, 30, 74, 0.3);
    border-color: var(--accent);
    transform: translateX(10px);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: var(--fs-lg);
    color: var(--accent-bright);
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

/* Sección de proceso de trabajo */
.process {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-sm);
    border-radius: 50%;
    position: relative;
    z-index: var(--z-normal);
    box-shadow: 0 0 0 4px var(--primary), 0 0 0 5px rgba(165, 140, 159, 0.3);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    animation: pulse 2s infinite;
}

.timeline-content {
    background-color: rgba(26, 14, 22, 0.8);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(165, 140, 159, 0.1);
    flex: 1;
    position: relative;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    background-color: rgba(89, 30, 74, 0.3);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(26, 14, 22, 0.8);
    transition: border-right-color var(--transition-normal);
}

.timeline-content:hover::before {
    border-right-color: rgba(89, 30, 74, 0.3);
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.timeline-content p {
    opacity: 0.8;
}

.step-icon {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-light);
    color: var(--accent-bright);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.timeline-content:hover .step-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Sección de contacto */
.contact {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: rgba(26, 14, 22, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(165, 140, 159, 0.1);
    position: relative;
    overflow: hidden;
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: var(--fs-lg);
    color: var(--accent-bright);
}

.info-content h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.info-content p {
    font-size: var(--fs-sm);
    opacity: 0.8;
}

.social-media {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(26, 14, 22, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(165, 140, 159, 0.1);
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: var(--spacing-md);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--fs-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-bright);
    animation: blink 1.5s infinite;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(26, 14, 22, 0.6);
    border: 1px solid rgba(165, 140, 159, 0.2);
    border-radius: var(--border-radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    transition: all var(--transition-normal);
}

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

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transition: all var(--transition-normal);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: rgba(89, 30, 74, 0.1);
}

.input-wrapper input:focus~.focus-border,
.input-wrapper textarea:focus~.focus-border {
    width: 100%;
}

/* Footer */
footer {
    background-color: rgba(26, 14, 22, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    border-top: 1px solid rgba(165, 140, 159, 0.1);
    overflow: hidden;
}

.footer-circuit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,40 L100,40 M0,60 L100,60 M40,0 L40,100 M60,0 L60,100" stroke="rgba(165,140,159,0.05)" stroke-width="1"/><circle cx="40" cy="40" r="2" fill="rgba(185,60,156,0.1)"/><circle cx="60" cy="40" r="2" fill="rgba(185,60,156,0.1)"/><circle cx="40" cy="60" r="2" fill="rgba(185,60,156,0.1)"/><circle cx="60" cy="60" r="2" fill="rgba(185,60,156,0.1)"/></svg>');
    background-repeat: repeat;
    opacity: 0.2;
    z-index: var(--z-back);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-brand p {
    margin-top: var(--spacing-sm);
    opacity: 0.7;
    max-width: 300px;
    text-align: left;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a,
.footer-services a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    display: inline-block;
}

.footer-links a::after,
.footer-services a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-bright);
    transition: width var(--transition-normal);
}

.footer-links a:hover,
.footer-services a:hover {
    opacity: 1;
    color: var(--accent-bright);
}

.footer-links a:hover::after,
.footer-services a:hover::after {
    width: 100%;
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background-color: rgba(26, 14, 22, 0.6);
    border: 1px solid rgba(165, 140, 159, 0.2);
    border-radius: var(--border-radius-md) 0 0 var(--border-radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form button {
    background-color: var(--accent-bright);
    color: var(--white);
    border: none;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.newsletter-form button:hover {
    background-color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(165, 140, 159, 0.1);
}

.copyright {
    font-size: var(--fs-xs);
    opacity: 0.7;
}

.tech-badge {
    font-size: var(--fs-xs);
    padding: 4px 10px;
    border-radius: var(--border-radius-full);
    background-color: var(--primary-light);
    color: var(--accent);
}

/* Animaciones */
@keyframes pulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes rotate-words {

    0%,
    25%,
    100% {
        transform: translateY(0%);
        opacity: 0;
    }

    3%,
    22% {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}

@keyframes data-flow {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }

    100% {
        transform: translateX(100%) rotate(-45deg);
    }
}

@keyframes grid-animation {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(-50px) translateY(-50px);
    }
}

@keyframes scroll-wheel {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(8px);
    }
}

@keyframes arrow-down {

    0%,
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(0);
    }

    50% {
        opacity: 0.5;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes line-flow {
    0% {
        background-position: -200% 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        background-position: 300% 0;
        opacity: 0;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

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

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

/* Estilos para efecto glitch */
.glitch {
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 255, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 255, 0.75),
        0.025em 0.05em 0 rgba(0, 255, 255, 0.75);
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(44px, 450px, 56px, 0);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-bright);
    animation: glitch-2 3s infinite alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-glow);
    animation: glitch-3 4s infinite alternate-reverse;
}

@keyframes glitch-2 {
    0% {
        clip: rect(25px, 9999px, 40px, 0);
    }

    20% {
        clip: rect(85px, 9999px, 90px, 0);
    }

    40% {
        clip: rect(52px, 9999px, 59px, 0);
    }

    60% {
        clip: rect(15px, 9999px, 87px, 0);
    }

    80% {
        clip: rect(2px, 9999px, 35px, 0);
    }

    100% {
        clip: rect(73px, 9999px, 76px, 0);
    }
}

@keyframes glitch-3 {
    0% {
        clip: rect(65px, 9999px, 85px, 0);
    }

    20% {
        clip: rect(5px, 9999px, 15px, 0);
    }

    40% {
        clip: rect(95px, 9999px, 96px, 0);
    }

    60% {
        clip: rect(48px, 9999px, 53px, 0);
    }

    80% {
        clip: rect(12px, 9999px, 32px, 0);
    }

    100% {
        clip: rect(78px, 9999px, 81px, 0);
    }
}

/* Sobre Nosotros Section */
.about {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.about-text {
    flex: 1;
}

.about-text>p {
    font-size: var(--fs-md);
    line-height: 1.8;
    color: var(--white);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-top: -3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.about-card {
    position: relative;
    background-color: rgba(26, 14, 22, 0.8);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(165, 140, 159, 0.1);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--accent-bright);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.about-card p {
    line-height: 1.7;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background-color: #1da851;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 26px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-bright);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

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

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

/* Media Queries */
@media (max-width: 1024px) {
    :root {
        --fs-huge: 3rem;
        --fs-xxl: 1.75rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .tech-showcase {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-huge: 2.5rem;
        --fs-xxl: 1.5rem;
        --spacing-xl: 3rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(26, 14, 22, 0.95);
        padding: var(--spacing-lg);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
        backdrop-filter: blur(10px);
        z-index: var(--z-menu);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --fs-huge: 2rem;
        --fs-xxl: 1.25rem;
        --spacing-xl: 2.5rem;
    }

    .section-header h2 {
        font-size: var(--fs-xl);
    }

    .tech-feature {
        flex-direction: column;
    }

    .info-item {
        flex-direction: column;
    }
}