/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --secondary-color: #7c3aed;
    --accent-color: #0ea5e9;
    --success-color: #059669;
    --warning-color: #ea580c;
    --danger-color: #dc2626;
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --gray-color: #64748b;
    --white: #ffffff;
    --gold-color: #f59e0b;
    --emerald-color: #10b981;
    --rose-color: #e11d48;
    --cyan-color: #06b6d4;
    
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #10b981 50%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #4f46e5 50%, #7c3aed 75%, #ec4899 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación Base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Navegación Desktop - Visible solo en pantallas grandes */
.navbar-desktop {
    display: block;
}

/* Navegación Móvil - Oculta por defecto */
.navbar-mobile {
    display: none;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo span {
    font-size: 0.8rem;
    color: var(--gray-color);
    font-weight: 400;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 1;
    visibility: visible;
}

.whatsapp-float a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white !important;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    border: none;
    outline: none;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: #128c7e;
}

.whatsapp-float a i {
    color: white !important;
    font-size: 1.5rem;
    line-height: 1;
}

/* Fallback si Font Awesome no carga */
.whatsapp-float a::before {
    content: "";
    display: none;
}

.whatsapp-float a:not(:has(i))::before {
    content: "📱";
    display: block;
    font-size: 1.5rem;
}

@keyframes whatsappPulse {
    0% { 
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7); 
    }
    70% { 
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0); 
    }
    100% { 
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); 
    }
}

/* Sección Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite alternate;
}

@keyframes textShimmer {
    0% { filter: brightness(1) saturate(1); }
    100% { filter: brightness(1.2) saturate(1.3); }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Tech Showcase Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
}



.tech-satellite {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 4px solid rgba(79, 70, 229, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 0 0 2px rgba(79, 70, 229, 0.2);
    position: relative;
}

.tech-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.6), rgba(139, 92, 246, 0.6));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-icon:hover {
    border-color: rgba(79, 70, 229, 1);
    box-shadow: 0 12px 35px rgba(79, 70, 229, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 0 0 3px rgba(79, 70, 229, 0.4), 0 0 20px rgba(79, 70, 229, 0.5);
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.tech-icon:hover::before {
    opacity: 1;
}

.tech-icon i {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.tech-label {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 12px;
    border-radius: 12px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.tech-satellite:hover .tech-label {
    border-color: rgba(79, 70, 229, 0.8);
    background: rgba(79, 70, 229, 0.3);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4), 0 0 0 2px rgba(79, 70, 229, 0.5), 0 0 15px rgba(79, 70, 229, 0.4);
}

/* Posicionamiento circular con mayor separación */
.tech-sat-1 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-sat-2 {
    position: absolute;
    top: 25%;
    left: 80%;
    transform: translate(-50%, -50%);
}

.tech-sat-3 {
    position: absolute;
    top: 75%;
    left: 80%;
    transform: translate(-50%, -50%);
}

.tech-sat-4 {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tech-sat-5 {
    position: absolute;
    top: 75%;
    left: 20%;
    transform: translate(-50%, -50%);
}

.tech-sat-6 {
    position: absolute;
    top: 25%;
    left: 20%;
    transform: translate(-50%, -50%);
}

/* Partículas flotantes */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 16s;
}

.particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 14s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.particle:nth-child(5) {
    top: 60%;
    left: 80%;
    animation-delay: 8s;
    animation-duration: 12s;
}

.particle:nth-child(6) {
    top: 10%;
    left: 70%;
    animation-delay: 10s;
    animation-duration: 16s;
}

.particle:nth-child(7) {
    bottom: 40%;
    left: 30%;
    animation-delay: 12s;
    animation-duration: 14s;
}

.particle:nth-child(8) {
    top: 50%;
    right: 40%;
    animation-delay: 14s;
    animation-duration: 18s;
}

/* Animaciones */
@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}





/* Animaciones de prueba ultra-simples */
@keyframes satelliteFloat1 {
    0% { background-color: rgba(79, 70, 229, 0.1); }
    50% { background-color: rgba(79, 70, 229, 0.8); }
    100% { background-color: rgba(79, 70, 229, 0.1); }
}

@keyframes satelliteFloat2 {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes satelliteFloat3 {
    0% { border-radius: 50%; }
    50% { border-radius: 0%; }
    100% { border-radius: 50%; }
}

@keyframes satelliteFloat4 {
    0% { filter: brightness(1); }
    50% { filter: brightness(2); }
    100% { filter: brightness(1); }
}

@keyframes satelliteFloat5 {
    0% { box-shadow: 0 0 0px rgba(79, 70, 229, 0.5); }
    50% { box-shadow: 0 0 20px rgba(79, 70, 229, 1); }
    100% { box-shadow: 0 0 0px rgba(79, 70, 229, 0.5); }
}

@keyframes satelliteFloat6 {
    0% { outline: 0px solid rgba(79, 70, 229, 0.5); }
    50% { outline: 5px solid rgba(79, 70, 229, 1); }
    100% { outline: 0px solid rgba(79, 70, 229, 0.5); }
}



@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.4;
    }
}



/* Efectos hover */
.tech-satellite:hover .tech-icon {
    transform: scale(1.1);
    background: linear-gradient(145deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.tech-satellite:hover .tech-label {
    opacity: 1;
    transform: translateY(-2px);
}

/* Formas de fondo del hero */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 50%;
    animation-duration: 20s;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Secciones generales */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Sección Quiénes Somos */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-visual {
    position: relative;
}

.about-image {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.tech-icons i {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.tech-icons i:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Sección Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gradient-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 3px solid rgba(79, 70, 229, 0.4);
    position: relative;
    outline: 2px solid rgba(79, 70, 229, 0.2);
    outline-offset: 2px;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(79, 70, 229, 0.3), 0 0 20px rgba(79, 70, 229, 0.4);
    border-color: rgba(79, 70, 229, 0.7);
    outline-color: rgba(79, 70, 229, 0.4);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-overlay i {
    font-size: 3rem;
    color: white;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.service-features i {
    color: var(--success-color);
    font-size: 0.8rem;
}

/* Sección Proyectos */
.projects {
    background: var(--light-color);
}

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

.project-card {
    background: var(--gradient-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    border: 3px solid rgba(79, 70, 229, 0.4);
    cursor: pointer;
    position: relative;
    outline: 2px solid rgba(79, 70, 229, 0.2);
    outline-offset: 2px;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(79, 70, 229, 0.3), 0 0 20px rgba(79, 70, 229, 0.4);
    border-color: rgba(79, 70, 229, 0.7);
    outline-color: rgba(79, 70, 229, 0.4);
}

.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #4f46e5 100%);
}

.project-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
}

.project-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 50%, #0ea5e9 100%);
}

.project-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #7c3aed 100%);
}

.project-5 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 50%, #10b981 100%);
}

.project-6 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #feca57 100%);
}

.project-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-icon i {
    font-size: 2.5rem;
    color: white;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 2rem;
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.project-content p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: var(--transition);
}

.project-card:hover .tag {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sección Contacto */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--gray-color);
    line-height: 1.4;
}

.contact-item p a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-form {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1), 0 4px 12px rgba(79, 70, 229, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

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

/* Estilos para CAPTCHA */
.captcha-group {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.captcha-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.captcha-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

#captcha-question {
    font-weight: bold;
    color: var(--secondary-color);
}

.captcha-group input {
    width: calc(100% - 50px);
    margin-bottom: 0;
}

.captcha-refresh {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-refresh:hover {
    background: var(--secondary-color);
    transform: rotate(180deg);
}

/* Estilos para checkbox */
.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--dark-color);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.75rem;
    margin-top: 2px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Estilos para errores de validación */
.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: '⚠';
    font-size: 1rem;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.contact-form .btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== RESPONSIVE DESIGN - TABLET ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-content {
        gap: 3rem;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Navegación tablet */
    .nav-menu,
    .nav-menu-mobile {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    /* Botones optimizados para tablet */
    .btn {
        padding: 14px 28px;
        font-size: 1.05rem;
    }
    
    /* Tarjetas con mejor espaciado */
    .service-card,
    .project-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .service-card:hover,
    .project-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    /* WhatsApp flotante para tablet */
    .whatsapp-float a {
        width: 65px;
        height: 65px;
        font-size: 1.4rem;
    }
}

/* ===== RESPONSIVE DESIGN - MÓVIL ===== */
@media (max-width: 768px) {
    /* Variables específicas para móvil */
    :root {
        --mobile-padding: 20px;
        --mobile-border-radius: 16px;
        --mobile-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    /* Navegación móvil mejorada */
    .navbar {
        height: 70px;
        padding: 0 var(--mobile-padding);
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
    
    /* Prevenir scroll horizontal */
    body {
        overflow-x: hidden;
    }
    
    /* Ocultar navegación desktop en móvil */
    .navbar-desktop {
        display: none !important;
    }
    
    /* Mostrar navegación móvil */
    .navbar-mobile {
        display: block !important;
    }
    
    .nav-container {
        height: 70px;
        padding: 0;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
    
    .hamburger {
        display: flex !important;
        z-index: 1002;
        position: relative;
        visibility: visible;
        opacity: 1;
        flex-direction: column;
        cursor: pointer;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-menu,
    .nav-menu-mobile {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
        backdrop-filter: blur(20px);
        width: auto;
        min-width: 200px;
        max-width: 280px;
        height: auto;
        max-height: 400px;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
        padding: 1.5rem 2rem;
        gap: 0.8rem;
        justify-content: center;
        z-index: 1001;
        border-radius: 20px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        overflow: hidden;
    }
    
    .nav-menu.active,
    .nav-menu-mobile.active {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.6rem 1rem;
        border-radius: var(--mobile-border-radius);
        margin: 0 0.5rem;
        transition: all 0.3s ease;
        display: block;
        width: auto;
        color: white;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    
    /* Hero móvil optimizado */
    .hero {
        min-height: 100vh;
        padding: 70px 0 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding: 2rem var(--mobile-padding);
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        line-height: 1.7;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 24px;
        font-size: 1.1rem;
        justify-content: center;
    }
    
    .hero-visual {
         height: 300px;
         margin-top: 2rem;
     }
     
     .tech-orbit {
         width: 280px;
          height: 280px;

      }
     

     
     .tech-logo i {
         font-size: 1.8rem;
     }
     
     .tech-satellite {
         width: 60px;
         height: 60px;
     }
     
     .tech-sat-1 { animation: satelliteFloat1 30s ease-in-out infinite; }
      .tech-sat-2 { animation: satelliteFloat2 35s ease-in-out infinite; }
      .tech-sat-3 { animation: satelliteFloat3 33s ease-in-out infinite; }
      .tech-sat-4 { animation: satelliteFloat4 37s ease-in-out infinite; }
      .tech-sat-5 { animation: satelliteFloat5 32s ease-in-out infinite; }
      .tech-sat-6 { animation: satelliteFloat6 34s ease-in-out infinite; }
     
     .tech-icon {
         width: 45px;
         height: 45px;
         background: rgba(255, 255, 255, 0.15);
         border: 2px solid rgba(79, 70, 229, 0.3);
         border-radius: 50%;
         display: flex;
         align-items: center;
         justify-content: center;
         box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
         backdrop-filter: blur(10px);
         transition: all 0.3s ease;
     }
     
     .tech-icon:hover {
         border-color: rgba(79, 70, 229, 0.6);
         box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
         background: rgba(255, 255, 255, 0.25);
     }
     
     .tech-icon i {
         font-size: 1.1rem;
         color: white;
         text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
     }
     
     .tech-label {
         font-size: 0.7rem;
         color: white;
         text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
         background: rgba(0, 0, 0, 0.2);
         padding: 4px 8px;
         border-radius: 8px;
         border: 1px solid rgba(255, 255, 255, 0.2);
         margin-top: 8px;
         backdrop-filter: blur(5px);
     }
     
     .particle {
         width: 3px;
         height: 3px;
         animation-duration: 20s;
     }
    
    /* Secciones móvil */
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* About móvil */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-image {
        height: 250px;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--mobile-border-radius);
        backdrop-filter: blur(10px);
    }
    
    /* Servicios móvil optimizados */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        border-radius: var(--mobile-border-radius);
        box-shadow: var(--mobile-shadow);
    }
    
    .service-content {
        padding: 1.8rem;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .service-features {
        gap: 0.8rem;
    }
    
    .service-features span {
        font-size: 0.85rem;
    }
    
    /* Proyectos móvil */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card {
        border-radius: var(--mobile-border-radius);
        box-shadow: var(--mobile-shadow);
    }
    
    .project-content {
        padding: 1.8rem;
    }
    
    .project-content h4 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    .project-content p {
        font-size: 0.9rem;
    }
    
    .project-tags {
        gap: 0.4rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Contacto móvil */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info h3 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
        border-radius: var(--mobile-border-radius);
        box-shadow: var(--mobile-shadow);
    }
    
    .contact-form h3 {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 1rem;
        border-radius: var(--mobile-border-radius);
    }
    
    .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--mobile-border-radius);
        backdrop-filter: blur(10px);
        margin-bottom: 1.5rem;
        gap: 0.5rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
    }
    
    .contact-item div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .contact-item h4 {
        margin-bottom: 0.3rem;
        text-align: center;
    }
    
    .contact-item p {
        text-align: center;
        margin: 0;
    }
    
    /* Footer móvil */
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    /* Centrar iconos sociales en móvil */
    .social-links {
        justify-content: center;
    }
    
    /* WhatsApp flotante móvil */
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        z-index: 998;
        position: fixed !important;
        display: block !important;
        visibility: visible;
        opacity: 1;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        display: flex !important;
    }
    
    /* Optimizaciones de rendimiento móvil */
     .tech-satellite,
     .service-card,
     .project-card {
         will-change: transform;
     }
    
    /* Mejoras táctiles */
    .btn,
    .nav-link,
    .service-card,
    .project-card,
    .contact-item {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* ===== RESPONSIVE DESIGN - MÓVILES PEQUEÑOS ===== */
@media (max-width: 480px) {
    /* Variables para móviles pequeños */
    :root {
        --mobile-padding: 16px;
        --mobile-border-radius: 14px;
    }
    
    /* Navegación ultra compacta */
    .navbar {
        height: 65px;
    }
    
    /* Ocultar navegación desktop en móviles pequeños */
    .navbar-desktop {
        display: none !important;
    }
    
    /* Mostrar navegación móvil */
    .navbar-mobile {
        display: block !important;
    }
    
    .nav-container {
        height: 65px;
    }
    
    .nav-logo h2 {
        font-size: 1.3rem;
    }
    
    .nav-logo span {
        font-size: 0.7rem;
    }
    
    .nav-menu,
       .nav-menu-mobile {
           top: 65px;
           height: auto;
           max-height: 350px;
           padding: 1.2rem 1.5rem;
           border-radius: 16px;
           background: linear-gradient(135deg, rgba(79, 70, 229, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
           width: auto;
           min-width: 180px;
           max-width: 250px;
           left: -100%;
           border: 2px solid rgba(255, 255, 255, 0.2);
           box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
           transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
           overflow: hidden;
       }
       
       .nav-menu.active,
        .nav-menu-mobile.active {
           left: 50%;
           transform: translateX(-50%);
       }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        margin: 0 1rem;
    }
    
    /* Hero ultra optimizado */
    .hero {
        padding: 65px 0 0;
    }
    
    .hero-content {
        padding: 1.5rem var(--mobile-padding);
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        max-width: 260px;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .hero-visual {
         height: 250px;
     }
     
     .tech-orbit {
         width: 220px;
          height: 220px;

      }
     

     
     .tech-logo i {
         font-size: 1.5rem;
     }
     
     .tech-satellite {
         width: 50px;
         height: 50px;
     }
     
     .tech-sat-1 { animation: satelliteFloat1 40s ease-in-out infinite; }
      .tech-sat-2 { animation: satelliteFloat2 45s ease-in-out infinite; }
      .tech-sat-3 { animation: satelliteFloat3 43s ease-in-out infinite; }
      .tech-sat-4 { animation: satelliteFloat4 47s ease-in-out infinite; }
      .tech-sat-5 { animation: satelliteFloat5 42s ease-in-out infinite; }
      .tech-sat-6 { animation: satelliteFloat6 44s ease-in-out infinite; }
     
     .tech-icon {
         width: 35px;
         height: 35px;
     }
     
     .tech-icon i {
         font-size: 0.9rem;
     }
     
     .tech-label {
         font-size: 0.6rem;
     }
     
     .particle {
         width: 2px;
         height: 2px;
         animation-duration: 25s;
     }
    
    /* Secciones compactas */
    section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 0.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* About compacto */
    .about-content {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .about-image {
        height: 200px;
        max-width: 250px;
    }
    
    .stats {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Servicios compactos */
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        border-radius: var(--mobile-border-radius);
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .service-features {
        gap: 0.6rem;
    }
    
    .service-features span {
        font-size: 0.8rem;
    }
    
    /* Proyectos compactos */
    .projects-grid {
        gap: 1.5rem;
    }
    
    .project-card {
        border-radius: var(--mobile-border-radius);
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-content h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Contacto compacto */
     .contact-content {
         gap: 2rem;
     }
     
     .contact-info {
         text-align: center;
     }
     
     .contact-info h3 {
         text-align: center;
         margin-bottom: 1.5rem;
         font-size: 1.1rem;
     }
    
    .contact-form {
        padding: 1.5rem;
        border-radius: var(--mobile-border-radius);
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .contact-item {
         display: flex;
         flex-direction: column;
         align-items: center;
         justify-content: center;
         text-align: center;
         padding: 1.2rem;
         margin-bottom: 1.2rem;
         border-radius: 12px;
         gap: 0.4rem;
     }
     
     .contact-item i {
         font-size: 1.3rem;
         margin-bottom: 0.4rem;
         margin-top: 0;
     }
     
     .contact-item div {
         display: flex;
         flex-direction: column;
         align-items: center;
         gap: 0.2rem;
     }
     
     .contact-item h4 {
         font-size: 0.95rem;
         margin-bottom: 0.2rem;
         text-align: center;
     }
     
     .contact-item p {
         font-size: 0.85rem;
         text-align: center;
         margin: 0;
     }
    
    /* Footer compacto */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    /* Centrar iconos sociales en móviles pequeños */
    .social-links {
        justify-content: center;
    }
    
    /* WhatsApp optimizado */
     .whatsapp-float {
          bottom: 20px;
          right: 20px;
          z-index: 998;
          position: fixed !important;
          display: block !important;
          visibility: visible;
          opacity: 1;
      }
      
      .whatsapp-float a {
          width: 50px;
          height: 50px;
          font-size: 1.2rem;
          display: flex !important;
      }
    
    /* Optimizaciones adicionales */
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    /* Reducir animaciones para mejor rendimiento */
     .tech-satellite,
     .service-card,
     .project-card {
         animation-duration: 0.4s;
     }
    
    /* Mejorar área táctil */
    .btn,
    .nav-link {
        min-height: 44px;
    }
    
    .contact-item {
        min-height: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

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

.service-card,
.project-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Efectos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de carga */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Mejoras de accesibilidad */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Efectos hover mejorados */
.service-card:hover,
.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Efectos de carga y transiciones suaves */
.loaded .service-card,
.loaded .project-card,
.loaded .tech-satellite {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efectos de brillo en hover */
.btn-primary,
.service-card,
.project-card {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.service-card::after,
.project-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-primary:hover::after,
.service-card:hover::after,
.project-card:hover::after {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Gradientes animados */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* Efectos de partículas */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
                      radial-gradient(circle at 40% 40%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

