:root {
    --bg-dark: #030812;
    --orange: #ff5c00;
    --blue-cyan: #00a3ff;
    --text-gray: #94a3b8;
    --glass: rgba(6, 18, 36, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* 1. CONFIGURACIÓN DEL FONDO GLOBAL FIJO */
body {
    background: linear-gradient(90deg, var(--bg-dark) 30%, rgba(3, 8, 18, 0.6) 60%, rgba(3, 8, 18, 0.3) 100%), 
                url('img/fondohero2.png?v=1.1'); 
    background-size: cover;
    background-position: center right;
    background-attachment: fixed; /* Mantiene la imagen inmóvil al scrollear */
    color: white;
    overflow-x: hidden;
}

/* Contenedor general transparente */
.site-container {
    background: transparent;
    position: relative;
    z-index: 2;
}

/* HEADER FIJO */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding: 20px 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 8, 18, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    text-decoration: none;

    color: inherit;

    cursor: pointer;
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    background: linear-gradient(135deg, #0055ff, var(--blue-cyan));
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-text span {
    color: var(--blue-cyan);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--orange);
}

.btn-whatsapp {
    background-color: var(--orange);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
    transition: transform 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
}

/* HERO SECTION TOTALMENTE TRANSPARENTE */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    background: transparent;
    position: relative; /* Clave para que la barra se agarre de acá abajo */
}

.hero-content {
    max-width: 650px;
}

.tagline {
    color: var(--blue-cyan);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

h1 span {
    color: var(--orange);
}

.description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.description span {
    color: var(--orange);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns a {
    width: 240px;
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: left;
}

.btn-orange, .btn-outline {
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-orange {
    background-color: var(--orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
}

.btn-orange:hover {
    background-color: #e05200;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

/* SECCIÓN SERVICIOS TRANSPARENTE */
.services-section {
    padding: 60px 80px 100px 80px;
    background: transparent;
}

.services-header {
    margin-bottom: 60px;
}

.services-tagline {
    color: var(--orange);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.services-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
}

.services-header h2 span {
    color: var(--blue-cyan);
}

/* CONFIGURACIÓN ESTRICTA DE 3 COLUMNAS */
.services-grid {
    display: grid;
    /* Fuerza a que sean siempre 3 columnas de igual tamaño en pantallas grandes */
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px;
}

/* Tarjeta estilo cristal */
.service-card {
    background: rgba(6, 18, 36, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px; /* Bordes un toque más finos */
    padding: 30px; /* Al achicar el padding interno, la tarjeta se ve más estilizada */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 163, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.service-icon.orange {
    background: rgba(255, 92, 0, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 92, 0, 0.25);
}

.service-icon.blue {
    background: rgba(0, 163, 255, 0.1);
    color: var(--blue-cyan);
    border: 1px solid rgba(0, 163, 255, 0.25);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.service-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 2. BARRA DE CARACTERÍSTICAS DINÁMICA (STICKY) */
.features-bar {
    position: absolute;
    bottom: 30px; /* Clavada al fondo del hero */
    left: 80px;
    right: 80px;
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 25px 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.stat-small, .title {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.3;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.icon-circle.blue {
    background: rgba(0, 163, 255, 0.1);
    color: var(--blue-cyan);
    border: 1px solid rgba(0, 163, 255, 0.3);
}

.icon-circle.orange {
    background: rgba(255, 92, 0, 0.1);
    color: var(--orange);
    border: 1px solid rgba(255, 92, 0, 0.3);
}

.text {
    display: flex;
    flex-direction: column;
}

/* RESPONSIVE BÁSICO */
@media (max-width: 1200px) {
    .features-bar { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        margin: 20px; 
        bottom: 15px;
    }
    .feature-item:not(:last-child) { border-right: none; }
    header, .hero, .services-section { padding-left: 30px; padding-right: 30px; }
}

/* --- DISEÑO RESPONSIVO GLOBAL (TABLETS Y CELULARES) --- */

/* Ajustes para Tablets (Pantallas menores a 992px) */
@media (max-width: 992px) {
    header {
        padding: 15px 30px;
    }
    nav ul {
        gap: 15px; /* Menú más compacto */
    }
    .hero, .services-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    h1 {
        font-size: 2.8rem; /* Achicamos el título principal */
    }
    
    /* CAMBIO REQUERIDO: Pasa a 2 columnas (quedan 3 filas de 2) */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-bar {
        grid-template-columns: repeat(2, 1fr); /* La barra pasa a 2 columnas */
        margin: 40px;
        padding: 20px;
    }
    .feature-item:not(:last-child) {
        border-right: none; /* Quitamos las líneas divisorias */
    }
}

/* Ajustes para Celulares (Pantallas menores a 600px) */
@media (max-width: 600px) {
    header {
    padding: 14px 18px;
}

.logo-text {
    font-size: 1rem;
}

.logo-icon {
    padding: 7px;
}

nav {
    display: none;
}

.btn-whatsapp {
    padding: 9px 14px;
    font-size: 0.85rem;
}
    .hero {
        padding: 0 20px;
        align-items: center;
        text-align: center; /* Centramos el texto en el celular */
    }
    h1 {
        font-size: 2.2rem;
    }
    .hero-btns {
        flex-direction: column; /* Botones uno abajo del otro */
        gap: 12px;
        width: 100%;
    }
    .btn-orange, .btn-outline {
        justify-content: center;
        width: 100%;
    }
    .services-section {
        padding: 60px 20px;
    }
    .services-header h2 {
        font-size: 2rem;
    }

    /* CAMBIO REQUERIDO: Pasa a 1 columna (quedan 6 filas de 1) */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .features-bar {
        position: relative; /* En celular pierde el absoluto para no romperse */
        bottom: auto;
        left: auto;
        right: auto;
        grid-template-columns: 1fr; /* Un item abajo del otro */
        margin: 40px 20px 0 20px;
        gap: 20px;
    }
}

/* --- BOTÓN VOLVER ARRIBA --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(6, 18, 36, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--blue-cyan); /* Borde inicial azul */
    border-radius: 50%; /* Lo hace un círculo perfecto */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 9999; /* Por encima de absolutamente todo */
    cursor: pointer;
    opacity: 0; /* Arranca oculto */
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Efecto al pasar el mouse (Hover) */
.back-to-top:hover {
    background: var(--orange); /* Cambia a naranja completo */
    border-color: var(--orange);
    color: white;
    transform: translateY(-5px); /* Pequeño salto hacia arriba */
    box-shadow: 0 15px 30px rgba(255, 92, 0, 0.3);
}

/* Clase que activaremos con JavaScript cuando el usuario haga scroll */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Ajuste menor para celulares para que no tape botones importantes */
@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ================================================= */
/* SOFTWARE & AUTOMATIZACIÓN */
/* ================================================= */

.sw-section {
    padding: 80px;
    background: transparent;
}

.sw-tagline {
    color: var(--orange);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sw-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
}

.sw-title span {
    color: var(--blue-cyan);
}

.sw-desc {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 30px;
}

.sw-desc a {
    color: var(--blue-cyan);
    text-decoration: none;
    font-weight: 700;
}

.sw-desc a:hover {
    text-decoration: underline;
}

.uj-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.uj-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid;
}

.uj-link:hover {
    transform: translateY(-2px);
}

.uj-link.web {
    background: rgba(0,163,255,0.1);
    color: var(--blue-cyan);
    border-color: rgba(0,163,255,0.3);
}

.uj-link.ig {
    background: rgba(255,92,0,0.1);
    color: var(--orange);
    border-color: rgba(255,92,0,0.3);
}

/* ================================================= */
/* GRID DE APLICACIONES */
/* ================================================= */

.sw-apps-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    /*color: var(--text-gray);*/
    margin-bottom: 20px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.app-card {
    background: rgba(6, 18, 36, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,163,255,0.3);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.app-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.app-icon.orange {
    background: rgba(255,92,0,0.1);
    color: var(--orange);
    border: 1px solid rgba(255,92,0,0.25);
}

.app-icon.blue {
    background: rgba(0,163,255,0.1);
    color: var(--blue-cyan);
    border: 1px solid rgba(0,163,255,0.25);
}

.app-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.app-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-orange {
    background: rgba(255,92,0,0.15);
    color: var(--orange);
}

.badge-blue {
    background: rgba(0,163,255,0.15);
    color: white;
}

.app-desc {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.app-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid;
}

.app-btn:hover {
    transform: translateY(-2px);
}

.app-btn.orange {
    background: rgba(255,92,0,0.1);
    color: var(--orange);
    border-color: rgba(255,92,0,0.3);
}

.app-btn.blue {
    background: rgba(0,163,255,0.1);
    color: var(--blue-cyan);
    border-color: rgba(0,163,255,0.3);
}

/* ================================================= */
/* LAYOUT SOFTWARE 2 COLUMNAS */
/* ================================================= */

.software-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.software-left {
    position: sticky;
    top: 120px;
}

.software-right {
    width: 100%;
}

/* ================================================= */
/* CONSULTA DE REPARACIONES */
/* ================================================= */

.ot-section {
    padding: 40px 80px 80px;
    scroll-margin-top: 180px;
}

.ot-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(6, 18, 36, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.ot-tagline {
    color: var(--orange);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.ot-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.ot-description {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.ot-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.ot-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
}

.ot-benefit i {
    color: var(--blue-cyan);
}

.ot-note {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* ================================================= */
/* CINTA TECNOLOGÍAS */
/* ================================================= */

.tech-marquee {
    overflow: hidden;
    position: relative;
    padding: 18px 0;
    margin: 20px 0 40px 0;

    background: rgba(6, 18, 36, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;

    animation: scrollTech 35s linear infinite;
}

.tech-track span {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.95rem;
    font-weight: 700;

    color: white;

    white-space: nowrap;
}

.tech-track .fa-circle {
    font-size: 0.35rem;
    color: var(--orange);
}

.tech-track .fa-linux,
.tech-track .fa-arduino,
.tech-track .fa-github {
    color: var(--blue-cyan);
    font-size: 1.2rem;
}

@keyframes scrollTech {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* ================================================= */
/* CINTA SERVICIOS */
/* ================================================= */

.services-marquee {
    overflow: hidden;
    position: relative;
    padding: 18px 0;
    margin: 40px 0;

    background: rgba(6, 18, 36, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.services-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;

    animation: scrollServices 40s linear infinite;
}

.services-track span {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 0.95rem;
    font-weight: 700;

    color: white;
    white-space: nowrap;
}

.services-track .fa-circle {
    font-size: 0.35rem;
    color: var(--blue-cyan);
}

.services-track .fa-computer,
.services-track .fa-print,
.services-track .fa-graduation-cap,
.services-track .fa-lightbulb,
.services-track .fa-network-wired,
.services-track .fa-gears,
.services-track .fa-code,
.services-track .fa-database,
.services-track .fa-headset {
    color: var(--orange);
}

@keyframes scrollServices {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}

.ot-card .btn-orange {
    width: fit-content;
    margin: 0 auto;
    padding: 16px 40px;
}

.about-image img {
    width: 350px;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ================================================= */
/* SOBRE MI */
/* ================================================= */

.about-section {
    padding: 100px 80px;

    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;

    border-radius: 24px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 25px 50px rgba(0,0,0,0.45),
        0 0 30px rgba(0,163,255,0.08);

    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: translateY(-6px);
}

.about-content {
    background: rgba(6, 18, 36, 0.45);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    padding: 40px;
}

.about-tagline {
    color: var(--orange);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 2.4rem;
    font-weight: 800;

    line-height: 1.2;

    margin-bottom: 25px;
}

.about-text {
    color: var(--text-gray);

    line-height: 1.9;

    font-size: 1rem;

    margin-bottom: 20px;
}

.about-text:last-child {
    margin-bottom: 0;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-badges span {

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 999px;

    padding: 10px 16px;

    color: white;

    font-size: 0.9rem;
    font-weight: 600;

    transition: all 0.3s ease;
}

.about-badges span:hover {

    transform: translateY(-3px);

    border-color: rgba(0,163,255,0.35);

    box-shadow: 0 10px 25px rgba(0,163,255,0.12);
}

.badge-separator {
    width: 6px;
    height: 6px;
    background: var(--blue-cyan);
    border-radius: 50%;
}

/* ================================================= */
/* CONTACTO */
/* ================================================= */

.contact-section {
    padding: 100px 80px;
}

.contact-header {
    text-align: center;
    max-width: 1500px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.contact-tagline {
    color: var(--orange);

    font-size: 1.1rem;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.contact-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-description {

    color: white;

    font-size: 1.15rem;

    line-height: 1.8;

    width: 100%;

    max-width: 100%;

    margin-top: 25px;

    padding: 25px 35px;

    background: rgba(6, 18, 36, 0.28);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 20px;

    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: rgba(6, 18, 36, 0.5);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 20px;

    padding: 35px 25px;

    text-decoration: none;

    text-align: center;

    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);

    border-color: rgba(0,163,255,0.35);

    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.contact-card i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 18px;
}

.contact-card h3 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tablets */

@media (max-width: 992px) {

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

}

/* Celulares */

@media (max-width: 600px) {

    .contact-section {
        padding: 60px 20px;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

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

}

/* ================================================= */
/* FOOTER */
/* ================================================= */

.footer {

    margin-top: 10px;

    background: rgba(6, 18, 36, 0.45);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(255,255,255,0.06);

}

.footer-content {

    max-width: 1400px;

    margin: 0 auto;

    padding: 50px 80px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

}

.footer-brand {

    display: flex;

    align-items: center;

    gap: 18px;

}

.footer-logo {

    width: 55px;
    height: 55px;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #0055ff,
        var(--blue-cyan)
    );

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 1.3rem;
}

.footer-brand h3 {

    color: white;

    font-size: 1.3rem;

    margin-bottom: 6px;
}

.footer-brand p {

    color: var(--text-gray);

    font-size: 0.95rem;
}

.footer-links {

    display: flex;

    gap: 25px;

    flex-wrap: wrap;
}

.footer-links a {

    text-decoration: none;

    color: var(--text-gray);

    font-weight: 600;

    transition: 0.3s;
}

.footer-links a:hover {

    color: var(--orange);
}

.footer-social {

    display: flex;

    gap: 15px;
}

.footer-social a {

    width: 46px;
    height: 46px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

    color: white;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    transition: all 0.3s ease;
}

.footer-social a:hover {

    background: var(--orange);

    border-color: var(--orange);

    transform: translateY(-4px);
}

.footer-bottom {

    text-align: center;

    padding: 25px;

    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-slogan {

    color: white;

    font-size: 0.9rem;

    font-weight: 600;

    margin-bottom: 8px;
}

.footer-copy {

    color: var(--text-gray);

    font-size: 0.75rem;

    margin: 0;
}

@media (max-width: 900px) {

    .footer-content {

        flex-direction: column;

        text-align: center;

        padding: 40px 20px;
    }

    .footer-brand {

        flex-direction: column;
    }

    .footer-links {

        justify-content: center;
    }

}

/* Ajuste de posición al navegar desde el menú */

#sobre-mi
{
    scroll-margin-top: 60px;
}

#servicios {
    scroll-margin-top: 50px;
}

#software {
    scroll-margin-top: 70px;
}

/* ================================================= */
/* AJUSTE FINAL RESPONSIVE MOBILE */
/* ================================================= */

@media (max-width: 600px) {

    .sw-section,
    .about-section,
    .contact-section,
    .ot-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .software-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .software-left {
        position: static;
    }

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

    .about-section {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .about-content {
        padding: 28px 22px;
    }

    .about-content h2,
    .sw-title,
    .ot-card h2 {
        font-size: 2rem;
    }

    .ot-card {
        padding: 32px 22px;
    }
}

/* Evita scroll horizontal en mobile/tablet */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-container,
header,
footer,
.tech-marquee,
.services-marquee {
    max-width: 100%;
    overflow-x: hidden;
}

/* Ajuste Hero + cinta en mobile/tablet */
@media (max-width: 992px) {

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .features-bar {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 40px 0 0 0;
        width: 100%;
    }

    .tech-marquee {
        margin-top: 20px;
        z-index: 1;
    }
}

/* ================================================= */
/* MENÚ HAMBURGUESA */
/* ================================================= */

.menu-toggle {
    display: none;
    background: rgba(6, 18, 36, 0.6);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 600px) {

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-whatsapp {
        display: none;
    }

}

/* Ajuste header móvil */

@media (max-width: 600px) {

    header {
        padding: 12px 16px;
        overflow: hidden;
    }

    .logo {
        min-width: 0;
    }

    .logo-text {
        font-size: 0.95rem;
        white-space: nowrap;
    }

}

/* Hamburguesa a la izquierda en celular */

@media (max-width: 600px) {

    header {
        justify-content: flex-start;
        gap: 12px;
    }

    .menu-toggle {
        order: -1;
        flex-shrink: 0;
    }

    .logo {
        flex-shrink: 1;
    }

}
/* Menú móvil desplegable */

.mobile-menu {
    display: none;
}

@media (max-width: 600px) {

    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;

        display: flex;
        flex-direction: column;
        gap: 8px;

        padding: 18px;

        background: rgba(6, 18, 36, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;

        box-shadow: 0 20px 45px rgba(0,0,0,0.55);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: all 0.3s ease;

        z-index: 999;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-weight: 700;
        padding: 13px 14px;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.04);
    }

    .mobile-menu a:hover {
        color: var(--orange);
        background: rgba(255,92,0,0.08);
        border-color: rgba(255,92,0,0.18);
    }
}
/* Corrección menú móvil visible */

@media (max-width: 600px) {

    header {
        overflow: visible;
    }

    .mobile-menu {
        z-index: 2000;
    }

}
/* Menú hamburguesa también en tablets */

@media (max-width: 992px) {

    nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-whatsapp {
        display: none;
    }

    header {
        overflow: visible;
    }

    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 24px;
        right: 24px;

        display: flex;
        flex-direction: column;
        gap: 8px;

        padding: 18px;

        background: rgba(6, 18, 36, 0.92);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 18px;

        box-shadow: 0 20px 45px rgba(0,0,0,0.55);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition: all 0.3s ease;

        z-index: 2000;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        font-weight: 700;
        padding: 13px 14px;
        border-radius: 12px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.04);
    }
}
/* Software en una columna para tablets */

@media (max-width: 992px) {

    .software-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .software-left {
        position: static;
    }

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

}
/* Sobre Mí en una columna para tablets */

@media (max-width: 992px) {

    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: 1;
    }

    .about-content {
        order: 2;
    }

    .about-image img {
        max-width: 300px;
    }

}

/* Corrección Software en celulares */

@media (max-width: 600px) {

    .sw-section {
        padding: 60px 20px;
    }

    .software-layout {
        grid-template-columns: 1fr;
    }

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

    .sw-title {
        font-size: 2.1rem;
        word-break: normal;
    }

    .sw-desc {
        font-size: 1rem;
        line-height: 1.7;
    }

    .uj-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

.logo-tecno {
    color: #ff5c00;
}