/* =========================================== */
/* ESTILOS GENERALES - DIGITAL MAKER */
/* =========================================== */

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primario: #1e90ff;
    --color-secundario: #00bfff;
    --color-fondo-oscuro: #0a0e17;
    --color-fondo-medio: #0f1525;
    --color-texto-blanco: #ffffff;
    --color-texto-gris-claro: #e0e0e0;
    --color-texto-gris: #b0b0b0;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --espaciado-xs: 10px;
    --espaciado-sm: 20px;
    --espaciado-md: 30px;
    --espaciado-lg: 50px;
    --espaciado-xl: 80px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-texto-gris-claro);
    background-color: var(--color-fondo-oscuro);
    overflow-x: hidden;
    position: relative;
}

body.menu-abierto {
    overflow: hidden;
}

/* Tipografías especiales */
.codigo {
    font-family: 'Roboto Mono', monospace;
}

/* Contenedor principal */
.contenedor {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================== */
/* CARGADOR DE PÁGINA (LOADER) */
/* =========================================== */

.cargador-pagina {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-fondo-oscuro);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.cargador-pagina.oculto {
    opacity: 0;
    visibility: hidden;
}

.contenedor-cargador {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 400px;
    width: 100%;
    padding: 40px;
}

/* LOADER - LOGO CON IMAGEN */
.logo-cargador {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.imagen-cargador {
    width: 300px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    animation: parpadeo 1.5s infinite alternate;
}

.barra-progreso {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progreso {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primario), var(--color-secundario));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.texto-progreso {
    font-size: 1rem;
    color: var(--color-texto-gris);
    font-family: 'Roboto Mono', monospace;
}

/* =========================================== */
/* ENCABEZADO PRINCIPAL */
/* =========================================== */

.encabezado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(30, 144, 255, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.encabezado.scroll {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contenedor-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo de la empresa */
.logo-empresa {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-empresa:hover {
    transform: translateY(-2px);
}

.contenedor-icono-logo {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 5px;
}

.contenedor-icono-logo img {
    width: 180px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.icono-logo {
    font-size: 24px;
    color: var(--color-primario);
}

.contenedor-texto-logo {
    display: flex;
    flex-direction: column;
}

.texto-logo-principal,
.texto-logo-secundario {
    display: none;
}

/* Navegación */
.navegacion {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-navegacion {
    display: flex;
    list-style: none;
    gap: 5px;
}

.elemento-menu {
    position: relative;
}

.enlace-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-texto-gris);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.enlace-menu:hover {
    color: var(--color-primario);
}

.enlace-menu .efecto-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 144, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: var(--border-radius-sm);
    z-index: -1;
}

.enlace-menu:hover .efecto-fondo {
    transform: scaleX(1);
    transform-origin: left;
}

.elemento-menu-activo .enlace-menu {
    background: rgba(30, 144, 255, 0.15);
    color: var(--color-primario);
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.icono-menu {
    font-size: 16px;
}

.texto-menu {
    font-size: 15px;
}

/* Botón de contacto en el menú */
.boton-contacto-menu {
    background: linear-gradient(135deg, var(--color-primario), #0066cc);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.boton-contacto-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 144, 255, 0.3);
}

.boton-contacto-menu .efecto-carga {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    transition: width 0.3s ease;
}

.boton-contacto-menu:hover .efecto-carga {
    width: 100%;
}

/* Botón del menú móvil */
.boton-menu-movil {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.boton-menu-movil .linea-menu {
    width: 100%;
    height: 3px;
    background-color: var(--color-primario);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.boton-menu-movil.activo .linea-menu:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.boton-menu-movil.activo .linea-menu:nth-child(2) {
    opacity: 0;
}

.boton-menu-movil.activo .linea-menu:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

/* =========================================== */
/* BOTONES GENERALES */
/* =========================================== */

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.boton-principal {
    background: linear-gradient(135deg, var(--color-primario), #0066cc);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.boton-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.4);
}

.boton-secundario {
    background: transparent;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.boton-secundario:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 144, 255, 0.2);
}

.boton-grande {
    padding: 18px 36px;
    font-size: 18px;
}

/* Efecto de carga en botones */
.efecto-hover-carga {
    position: relative;
    overflow: hidden;
}

.efecto-hover-carga .efecto-carga {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    transition: width 0.4s ease;
    z-index: 1;
}

.efecto-hover-carga:hover .efecto-carga {
    width: 100%;
}

.efecto-hover-carga .texto-boton,
.efecto-hover-carga .icono-boton {
    position: relative;
    z-index: 2;
}

.icono-boton {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.boton:hover .icono-boton {
    transform: translateX(5px);
}

/* =========================================== */
/* SECCIÓN HERO / PRINCIPAL - MODIFICADA CON CUADRO CENTRAL Y 4 CUADROS ORBITANTES */
/* =========================================== */

.seccion-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #0a0e17 0%, #0f1525 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.seccion-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contenido-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contenido-textual-hero {
    max-width: 700px;
    position: relative;
}

/* Badge del hero */
.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: rgba(30, 144, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.texto-badge {
    color: var(--color-primario);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.animacion-badge {
    width: 8px;
    height: 8px;
    background-color: var(--color-primario);
    border-radius: 50%;
    animation: latido 1.5s infinite;
}

/* Título del hero con contenedor mejorado */
.contenedor-titulo-hero {
    position: relative;
    margin-bottom: 25px;
}

.titulo-hero {
    position: relative;
    z-index: 2;
}

.linea-titulo {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 10px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: aparecerDesdeAbajo 0.8s ease forwards;
}

.linea-titulo:nth-child(1) {
    animation-delay: 0.2s;
}

.linea-titulo:nth-child(2) {
    animation-delay: 0.4s;
}

.linea-destacada {
    color: var(--color-primario);
}

.texto-resaltado {
    color: var(--color-primario);
    position: relative;
    display: inline-block;
}

.texto-resaltado::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(30, 144, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Descripción del hero */
.descripcion-hero {
    font-size: 1.15rem;
    color: var(--color-texto-gris);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
}

.descripcion-hero strong {
    color: var(--color-primario);
    font-weight: 600;
}

/* Contenedor de botones del hero */
.contenedor-botones-hero {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* =========================================== */
/* CONTENIDO VISUAL DEL HERO MODIFICADO */
/* =========================================== */
.contenido-visual-hero {
    position: relative;
    height: 500px;
}

.contenedor-ilustracion-hero {
    width: 100%;
    height: 100%;
    position: relative;
}

/* =========================================== */
/* CUADRO CENTRAL CON ANIMACIÓN DE FLOTAR */
/* =========================================== */
.tarjeta-centro-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.95), rgba(15, 20, 35, 0.95));
    border-radius: 30px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 30px rgba(30, 144, 255, 0.15);
    overflow: hidden;
    z-index: 10;
    animation: flotar-suave 6s ease-in-out infinite;
}

.contenido-tarjeta-centro {
    text-align: center;
    padding: 30px;
    z-index: 11;
}

.animacion-circular {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.circulo-externo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(30, 144, 255, 0.2);
    border-radius: 50%;
    animation: rotar 20s linear infinite;
}

.circulo-medio {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    animation: rotar 15s linear infinite reverse;
}

.circulo-interno {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 90px;
    height: 90px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--color-primario);
    border: 2px solid rgba(30, 144, 255, 0.4);
}

/* Texto del cuadro central */
.titulo-tarjeta-centro {
    color: white;
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.texto-tarjeta-centro {
    color: var(--color-texto-gris);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* =========================================== */
/* 4 CUADROS FLOTANTES CON ÓRBITA Y EFECTO PASO TRASERO */
/* =========================================== */
.elemento-flotante-orbital {
    position: absolute;
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, rgba(30, 144, 255, 0.15), rgba(30, 144, 255, 0.05));
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-primario);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2; /* Normalmente delante */
}

.texto-elemento-orbital {
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    color: var(--color-primario);
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 1px;
}

/* Efecto hover */
.elemento-flotante-orbital:hover {
    background: rgba(30, 144, 255, 0.25);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 30px rgba(30, 144, 255, 0.3),
        0 0 0 2px rgba(30, 144, 255, 0.4);
    animation-play-state: paused;
    z-index: 8 !important;
    opacity: 1 !important;
    filter: none !important;
}

/* =========================================== */
/* ANIMACIONES INDIVIDUALES PARA CADA CUADRO ORBITANTE */
/* =========================================== */

/* WEB - Órbita en forma de elipse */
.elemento-web {
    animation: orbita-web 25s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes orbita-web {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(144deg) translateX(180px) rotate(-144deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(180px) rotate(-180deg);
        z-index: 1; /* Pasa por detrás */
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(324deg) translateX(180px) rotate(-324deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(180px) rotate(-360deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

/* MÓVIL - Órbita diferente */
.elemento-movil {
    animation: orbita-movil 28s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes orbita-movil {
    0% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(160px) rotate(-90deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(234deg) translateX(160px) rotate(-234deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(160px) rotate(-270deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(414deg) translateX(160px) rotate(-414deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(450deg) translateX(160px) rotate(-450deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

/* DISEÑO - Órbita diferente */
.elemento-diseno {
    animation: orbita-diseno 31s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes orbita-diseno {
    0% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(170px) rotate(-180deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(324deg) translateX(170px) rotate(-324deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(170px) rotate(0deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(144deg) translateX(170px) rotate(-144deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(170px) rotate(-180deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

/* SEGURIDAD - Órbita diferente */
.elemento-seguridad {
    animation: orbita-seguridad 34s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes orbita-seguridad {
    0% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(54deg) translateX(150px) rotate(-54deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(150px) rotate(-90deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(234deg) translateX(150px) rotate(-234deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

/* Indicador de desplazamiento */
.indicador-desplazamiento {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
    cursor: pointer;
    opacity: 0;
    animation: aparecer 1s ease 1.5s forwards;
}

.texto-desplazamiento {
    color: var(--color-texto-gris);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contenedor-flecha {
    width: 40px;
    height: 40px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primario);
    font-size: 18px;
    animation: subirBajar 2s ease-in-out infinite;
}

/* =========================================== */
/* SECCIÓN DE SERVICIOS DESTACADOS */
/* =========================================== */

.seccion-servicios {
    padding: 120px 0;
    background-color: var(--color-fondo-oscuro);
    position: relative;
}

.seccion-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(30, 144, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(30, 144, 255, 0.03) 0%, transparent 50%);
}

/* Encabezado de sección */
.encabezado-seccion {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.numero-seccion {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(30, 144, 255, 0.05);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    font-family: 'Roboto Mono', monospace;
}

.titulo-seccion {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.texto-destacado {
    color: var(--color-primario);
    position: relative;
}

.texto-destacado::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(30, 144, 255, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.descripcion-seccion {
    color: var(--color-texto-gris);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid de servicios */
.grid-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tarjeta-servicio {
    background: rgba(20, 25, 40, 0.8);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
}

.tarjeta-servicio.animado {
    opacity: 1;
    transform: translateY(0);
}

.efecto-hover-elevar {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.efecto-hover-elevar:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 144, 255, 0.3);
}

.contenedor-icono-servicio {
    position: relative;
    margin-bottom: 25px;
}

.icono-fondo-servicio {
    width: 80px;
    height: 80px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(30, 144, 255, 0.2);
    margin: 0 auto 20px;
}

.icono-servicio {
    font-size: 36px;
    color: var(--color-primario);
}

.efecto-onda {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    animation: onda 3s linear infinite;
    opacity: 0;
}

.tarjeta-servicio:hover .efecto-onda {
    opacity: 1;
}

.contenido-tarjeta-servicio {
    text-align: center;
}

.titulo-servicio {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.descripcion-servicio {
    color: var(--color-texto-gris);
    margin-bottom: 20px;
    line-height: 1.6;
}

.lista-caracteristicas-servicio {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.lista-caracteristicas-servicio li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--color-texto-gris);
    font-size: 0.95rem;
}

.lista-caracteristicas-servicio i {
    color: var(--color-primario);
    font-size: 14px;
}

.enlace-servicio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primario);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enlace-servicio:hover {
    background: rgba(30, 144, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.3);
    padding-right: 25px;
}

.icono-enlace {
    transition: transform 0.3s ease;
}

.enlace-servicio:hover .icono-enlace {
    transform: translateX(5px);
}

.contenedor-boton-centro {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* =========================================== */
/* SECCIÓN DE PORTAFOLIO DESTACADO */
/* =========================================== */

.seccion-portafolio {
    padding: 120px 0;
    background-color: var(--color-fondo-medio);
    position: relative;
}

.grid-proyectos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.tarjeta-proyecto {
    background: rgba(20, 25, 40, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(30, 144, 255, 0.1);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
}

.tarjeta-proyecto.animado {
    opacity: 1;
    transform: translateY(0);
}

.efecto-hover-proyecto {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.efecto-hover-proyecto:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(30, 144, 255, 0.3);
}

.contenedor-imagen-proyecto {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.imagen-proyecto {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
}

.categoria-proyecto {
    background: rgba(10, 14, 23, 0.9);
    color: var(--color-primario);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(30, 144, 255, 0.3);
    z-index: 2;
}

.overlay-proyecto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tarjeta-proyecto:hover .overlay-proyecto {
    opacity: 1;
}

.contenido-overlay {
    text-align: center;
    padding: 20px;
}

.contenido-overlay h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contenido-overlay p {
    color: var(--color-texto-gris);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.boton-overlay {
    display: inline-block;
    background: var(--color-primario);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.boton-overlay:hover {
    background: #0066cc;
    transform: translateY(-3px);
}

.efecto-resplandor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(30, 144, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.tarjeta-proyecto:hover .efecto-resplandor {
    transform: translateX(100%);
}

.contenido-tarjeta-proyecto {
    padding: 30px;
}

.titulo-proyecto {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.descripcion-proyecto {
    color: var(--color-texto-gris);
    margin-bottom: 20px;
    line-height: 1.6;
}

.tecnologias-proyecto {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tecnologia {
    background: rgba(30, 144, 255, 0.1);
    color: var(--color-primario);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

/* =========================================== */
/* SECCIÓN DE PROCESO DE TRABAJO - HORIZONTAL */
/* =========================================== */

.seccion-proceso-horizontal {
    padding: var(--espaciado-xl) 0;
    background-color: var(--color-fondo-medio);
    position: relative;
}

.seccion-proceso-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(30, 144, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(0, 191, 255, 0.05) 0%, transparent 50%);
}

/* Encabezado */
.encabezado-proceso-horizontal {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.titulo-proceso-horizontal {
    margin-bottom: 15px;
}

.descripcion-proceso-horizontal {
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-texto-gris);
}

/* Contenedor horizontal de pasos */
.contenedor-pasos-horizontal {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

/* Estilos para cada paso horizontal */
.paso-horizontal {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: rgba(20, 25, 40, 0.9);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(30, 144, 255, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.paso-horizontal:hover {
    transform: translateY(-10px);
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.paso-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primario), var(--color-secundario));
}

.contenido-paso-horizontal {
    text-align: center;
}

/* Cabecera del paso */
.cabecera-paso-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.numero-paso-horizontal {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primario), var(--color-secundario));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: 'Roboto Mono', monospace;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.icono-paso-horizontal {
    width: 50px;
    height: 50px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primario);
    border: 2px solid rgba(30, 144, 255, 0.2);
}

/* Contenido del paso */
.titulo-paso-horizontal {
    color: var(--color-texto-blanco);
    font-size: 1.3rem;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.descripcion-paso-horizontal {
    color: var(--color-texto-gris);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    min-height: 120px;
}

.lista-paso-horizontal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.lista-paso-horizontal span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-texto-gris);
    font-size: 0.9rem;
}

.lista-paso-horizontal i {
    color: var(--color-primario);
    font-size: 12px;
    flex-shrink: 0;
}

/* Conectores entre pasos */
.conectores-pasos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.conector-horizontal {
    flex: 1;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(30, 144, 255, 0.3), 
        rgba(0, 191, 255, 0.2));
    position: relative;
    top: -15px;
}

/* CTA con botones mejorados */
.contenedor-cta-proceso-horizontal {
    background: linear-gradient(135deg, 
        rgba(20, 25, 40, 0.95), 
        rgba(30, 144, 255, 0.08));
    border-radius: var(--border-radius-xl);
    padding: 50px;
    border: 1px solid rgba(30, 144, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contenedor-cta-proceso-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(30, 144, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
}

.contenido-cta-proceso-horizontal {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.texto-cta-proceso-horizontal {
    margin-bottom: 35px;
}

.titulo-cta-proceso-horizontal {
    color: var(--color-texto-blanco);
    font-size: 2rem;
    margin-bottom: 15px;
}

.descripcion-cta-proceso-horizontal {
    color: var(--color-texto-gris);
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* BOTONES MEJORADOS PARA MEJOR VISIBILIDAD */
.botones-cta-proceso-horizontal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botón primario mejorado */
.boton-primario-fuerte {
    background: linear-gradient(135deg, #0066cc, #0088ff) !important;
    color: white !important;
    border: none !important;
    box-shadow: 
        0 5px 15px rgba(0, 102, 204, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    position: relative;
    overflow: hidden;
}

.boton-primario-fuerte:hover {
    background: linear-gradient(135deg, #0055aa, #0077dd) !important;
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 102, 204, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset !important;
}

.boton-primario-fuerte::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.boton-primario-fuerte:hover::before {
    left: 100%;
}

/* Botón secundario mejorado */
.boton-secundario-fuerte {
    background: transparent !important;
    color: #0066cc !important;
    border: 2px solid #0066cc !important;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.boton-secundario-fuerte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 204, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.boton-secundario-fuerte:hover {
    color: white !important;
    border-color: #0066cc !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3) !important;
}

.boton-secundario-fuerte:hover::before {
    transform: scaleX(1);
    background: #0066cc;
}

/* =========================================== */
/* PIE DE PÁGINA - CORREGIDO */
/* =========================================== */

.pie-pagina {
    background-color: var(--color-fondo-oscuro);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(30, 144, 255, 0.1);
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Grid de 4 columnas para el footer */
.grid-pie-pagina {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

/* Cada columna del footer */
.columna-pie-pagina {
    display: flex;
    flex-direction: column;
}

/* Contenedor del logo */
.logo-pie-pagina {
    margin-bottom: 25px;
}

/* PIE DE PÁGINA - LOGO CON IMAGEN */
.logo-pie-pagina .contenedor-icono-logo {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 5px;
}

/* NUEVA CLASE PARA LA IMAGEN EN EL FOOTER */
.imagen-logo-footer {
    width: 200px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.imagen-logo-footer:hover {
    transform: scale(1.05);
}

.descripcion-pie-pagina {
    color: var(--color-texto-gris);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 300px;
}

.redes-sociales-pie {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.titulo-redes-pie {
    color: var(--color-texto-gris);
    font-size: 1rem;
    font-weight: 500;
}

.iconos-redes-pie {
    display: flex;
    gap: 12px;
}

.icono-red-pie {
    width: 44px;
    height: 44px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primario);
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.icono-red-pie:hover {
    background: var(--color-primario);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}

.titulo-columna-pie {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.titulo-columna-pie::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primario);
    border-radius: 2px;
}

.menu-pie-pagina {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.enlace-pie-pagina {
    color: var(--color-texto-gris);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.enlace-pie-pagina:hover {
    color: var(--color-primario);
    padding-left: 8px;
    transform: translateX(8px);
}

.info-contacto-pie {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-contacto-pie p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-texto-gris);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.icono-contacto-pie {
    color: var(--color-primario);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.newsletter-pie {
    margin-top: 30px;
}

.titulo-newsletter {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.formulario-newsletter {
    position: relative;
    margin-top: 15px;
}

.contenedor-input-newsletter {
    display: flex;
    background: rgba(30, 144, 255, 0.05);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contenedor-input-newsletter:focus-within {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.contenedor-input-newsletter input {
    flex: 1;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.contenedor-input-newsletter input::placeholder {
    color: #666;
}

.boton-newsletter {
    background: var(--color-primario);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.boton-newsletter:hover {
    background: #0066cc;
}

.linea-divisoria-pie {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
    width: 100%;
}

.pie-inferior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.texto-copyright {
    color: var(--color-texto-gris);
    font-size: 0.95rem;
    margin: 0;
}

.texto-copyright strong {
    color: var(--color-primario);
    font-weight: 600;
}

.eslogan-copyright {
    color: var(--color-texto-gris);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

.enlaces-legales {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.enlace-legal {
    color: var(--color-texto-gris);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.enlace-legal:hover {
    color: var(--color-primario);
}

.enlace-legal::after {
    content: '•';
    color: rgba(255, 255, 255, 0.3);
    margin-left: 20px;
}

.enlace-legal:last-child::after {
    display: none;
}

/* =========================================== */
/* BOTONES FLOTANTES REORDENADOS Y MEJORADOS */
/* =========================================== */

.boton-flotante {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    animation: aparecerBotonFlotante 0.5s ease-out backwards;
}

/* BOTÓN FACEBOOK - PRIMERO (ARRIBA) */
.boton-facebook {
    background: linear-gradient(135deg, #1877F2, #0d5cb6);
    color: white;
    right: 30px;
    bottom: 180px;
    border-radius: 50px;
    padding: 15px 25px;
    width: auto;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation-delay: 0.1s;
}

/* BOTÓN WHATSAPP - SEGUNDO (EN MEDIO) */
.boton-whatsapp {
    background: linear-gradient(135deg, #25D366, #1a9e50);
    color: white;
    right: 30px;
    bottom: 110px;
    border-radius: 50px;
    padding: 15px 25px;
    width: auto;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation-delay: 0.2s;
}

/* BOTÓN SUBIR - TERCERO (ABAJO) */
.boton-subir {
    background: linear-gradient(135deg, var(--color-primario), #0066cc);
    color: white;
    right: 30px;
    bottom: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    animation: none;
}

.boton-subir.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: aparecerBotonFlotante 0.5s ease-out;
}

.boton-subir:hover {
    background: linear-gradient(135deg, #0066cc, var(--color-primario));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.4);
}

.contenido-boton-flotante {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.icono-boton-flotante {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.texto-boton-flotante {
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.efecto-onda-whatsapp,
.efecto-onda-facebook {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
}

/* Efectos hover para botones flotantes */
.boton-facebook:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

.boton-facebook:hover .icono-boton-flotante {
    transform: translateY(-2px);
}

.boton-facebook:hover .texto-boton-flotante {
    transform: translateX(3px);
}

.boton-facebook:hover .efecto-onda-facebook {
    animation: onda-flotante 0.6s ease-out;
}

.boton-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.boton-whatsapp:hover .icono-boton-flotante {
    transform: translateY(-2px);
}

.boton-whatsapp:hover .texto-boton-flotante {
    transform: translateX(3px);
}

.boton-whatsapp:hover .efecto-onda-whatsapp {
    animation: onda-flotante 0.6s ease-out;
}

/* =========================================== */
/* ANIMACIONES NUEVAS */
/* =========================================== */

@keyframes flotar-suave {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}

@keyframes latido-icono {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.03) rotate(5deg);
    }
    50% {
        transform: scale(1.05) rotate(0deg);
    }
    75% {
        transform: scale(1.03) rotate(-5deg);
    }
}

@keyframes orbita-web {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(144deg) translateX(180px) rotate(-144deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(180px) rotate(-180deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(324deg) translateX(180px) rotate(-324deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(180px) rotate(-360deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

@keyframes orbita-movil {
    0% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(160px) rotate(-90deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(234deg) translateX(160px) rotate(-234deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(160px) rotate(-270deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(414deg) translateX(160px) rotate(-414deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(450deg) translateX(160px) rotate(-450deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

@keyframes orbita-diseno {
    0% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(170px) rotate(-180deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(324deg) translateX(170px) rotate(-324deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(170px) rotate(0deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(144deg) translateX(170px) rotate(-144deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(170px) rotate(-180deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

@keyframes orbita-seguridad {
    0% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    40% {
        transform: translate(-50%, -50%) rotate(54deg) translateX(150px) rotate(-54deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
    50% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(150px) rotate(-90deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    90% {
        transform: translate(-50%, -50%) rotate(234deg) translateX(150px) rotate(-234deg);
        z-index: 1;
        opacity: 0.6;
        filter: blur(0.8px);
    }
    100% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
        z-index: 2;
        opacity: 1;
        filter: none;
    }
}

/* =========================================== */
/* ANIMACIONES EXISTENTES */
/* =========================================== */

@keyframes parpadeo {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes latido {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes aparecerDesdeAbajo {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecer {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes subirBajar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes rotar {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes onda {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes onda-flotante {
    0% {
        width: 0;
        height: 0;
        opacity: 0.7;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

@keyframes aparecerBotonFlotante {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================== */
/* RESPONSIVE DESIGN - CON AJUSTES PARA LAS ÓRBITAS */
/* =========================================== */

@media (max-width: 1200px) {
    .grid-pie-pagina {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contenido-hero {
        gap: 60px;
    }
    
    .contenedor-ilustracion-hero {
        width: 500px;
        height: 500px;
    }
    
    .tarjeta-centro-hero {
        width: 250px;
        height: 250px;
    }
    
    .elemento-flotante-orbital {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    /* Ajustamos las órbitas */
    @keyframes orbita-web {
        0% { transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg); }
        50% { transform: translate(-50%, -50%) rotate(180deg) translateX(150px) rotate(-180deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(-360deg); }
    }
    
    @keyframes orbita-movil {
        0% { transform: translate(-50%, -50%) rotate(90deg) translateX(130px) rotate(-90deg); }
        50% { transform: translate(-50%, -50%) rotate(270deg) translateX(130px) rotate(-270deg); }
        100% { transform: translate(-50%, -50%) rotate(450deg) translateX(130px) rotate(-450deg); }
    }
    
    @keyframes orbita-diseno {
        0% { transform: translate(-50%, -50%) rotate(180deg) translateX(140px) rotate(-180deg); }
        50% { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(180deg) translateX(140px) rotate(-180deg); }
    }
    
    @keyframes orbita-seguridad {
        0% { transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg); }
        50% { transform: translate(-50%, -50%) rotate(90deg) translateX(120px) rotate(-90deg); }
        100% { transform: translate(-50%, -50%) rotate(270deg) translateX(120px) rotate(-270deg); }
    }
}

@media (max-width: 992px) {
    .contenido-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .contenido-textual-hero {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contenedor-botones-hero {
        justify-content: center;
    }
    
    .contenedor-ilustracion-hero {
        width: 400px;
        height: 400px;
        margin: 0 auto;
    }
    
    .grid-servicios, .grid-proyectos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Botones flotantes en tablet */
    .boton-facebook {
        right: 25px;
        bottom: 160px;
    }
    
    .boton-whatsapp {
        right: 25px;
        bottom: 100px;
    }
    
    .boton-subir {
        right: 25px;
        bottom: 35px;
    }
}

@media (max-width: 768px) {
    /* Menú móvil */
    .navegacion {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px 20px;
        flex-direction: column;
        align-items: stretch;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(30, 144, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .navegacion.activo {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-navegacion {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .enlace-menu {
        justify-content: flex-start;
        padding: 15px 20px;
    }
    
    .boton-contacto-menu {
        justify-content: center;
    }
    
    .boton-menu-movil {
        display: flex;
    }
    
    /* Ajustes generales */
    .titulo-hero .linea-titulo {
        font-size: 2.5rem;
    }
    
    .titulo-seccion {
        font-size: 2.2rem;
    }
    
    .contenedor-ilustracion-hero {
        width: 350px;
        height: 350px;
    }
    
    .tarjeta-centro-hero {
        width: 220px;
        height: 220px;
    }
    
    .circulo-interno {
        width: 70px;
        height: 70px;
        font-size: 30px;
        top: 25px;
        left: 25px;
    }
    
    .circulo-medio {
        width: 100px;
        height: 100px;
        top: 10px;
        left: 10px;
    }
    
    .elemento-flotante-orbital {
        width: 65px;
        height: 65px;
        font-size: 22px;
    }
    
    .grid-servicios, .grid-proyectos {
        grid-template-columns: 1fr;
    }
    
    /* Pie de página en móvil */
    .grid-pie-pagina {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .logo-pie-pagina .logo-empresa {
        justify-content: center;
    }
    
    .descripcion-pie-pagina {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .titulo-columna-pie::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .enlace-pie-pagina:hover {
        padding-left: 0;
        transform: translateX(0);
    }
    
    .info-contacto-pie p {
        justify-content: center;
        text-align: center;
    }
    
    .iconos-redes-pie {
        justify-content: center;
    }
    
    .pie-inferior {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .enlaces-legales {
        justify-content: center;
    }
    
    .enlace-legal::after {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    /* Botones flotantes en móvil */
    .boton-facebook, .boton-whatsapp {
        right: 20px;
        padding: 12px 20px;
        bottom: 150px;
    }
    
    .boton-whatsapp {
        bottom: 90px;
    }
    
    .boton-subir {
        right: 20px;
        bottom: 30px;
        width: 50px;
        height: 50px;
    }
    
    .texto-boton-flotante {
        display: none;
    }
    
    .boton-facebook, .boton-whatsapp {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
    }
    
    /* Órbitas más pequeñas */
    @keyframes orbita-web {
        0% { transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg); }
        50% { transform: translate(-50%, -50%) rotate(180deg) translateX(120px) rotate(-180deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg); }
    }
    
    @keyframes orbita-movil {
        0% { transform: translate(-50%, -50%) rotate(90deg) translateX(100px) rotate(-90deg); }
        50% { transform: translate(-50%, -50%) rotate(270deg) translateX(100px) rotate(-270deg); }
        100% { transform: translate(-50%, -50%) rotate(450deg) translateX(100px) rotate(-450deg); }
    }
    
    @keyframes orbita-diseno {
        0% { transform: translate(-50%, -50%) rotate(180deg) translateX(110px) rotate(-180deg); }
        50% { transform: translate(-50%, -50%) rotate(0deg) translateX(110px) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(180deg) translateX(110px) rotate(-180deg); }
    }
    
    @keyframes orbita-seguridad {
        0% { transform: translate(-50%, -50%) rotate(270deg) translateX(90px) rotate(-270deg); }
        50% { transform: translate(-50%, -50%) rotate(90deg) translateX(90px) rotate(-90deg); }
        100% { transform: translate(-50%, -50%) rotate(270deg) translateX(90px) rotate(-270deg); }
    }
}

@media (max-width: 576px) {
    .titulo-hero .linea-titulo {
        font-size: 2rem;
    }
    
    .contenedor-botones-hero {
        flex-direction: column;
        align-items: stretch;
    }
    
    .boton {
        width: 100%;
        justify-content: center;
    }
    
    .contenedor-ilustracion-hero {
        width: 300px;
        height: 300px;
    }
    
    .tarjeta-centro-hero {
        width: 200px;
        height: 200px;
    }
    
    .contenido-tarjeta-centro {
        padding: 20px;
    }
    
    .animacion-circular {
        width: 120px;
        height: 120px;
    }
    
    .circulo-externo {
        width: 120px;
        height: 120px;
    }
    
    .circulo-medio {
        width: 90px;
        height: 90px;
        top: 15px;
        left: 15px;
    }
    
    .circulo-interno {
        width: 60px;
        height: 60px;
        top: 30px;
        left: 30px;
        font-size: 24px;
    }
    
    .elemento-flotante-orbital {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .texto-elemento-orbital {
        font-size: 9px;
    }
    
    .numero-seccion {
        font-size: 4rem;
        top: -30px;
    }
    
    .titulo-seccion {
        font-size: 1.8rem;
    }
    
    /* Pie de página en móvil pequeño */
    .pie-pagina {
        padding: 70px 0 30px;
    }
    
    .imagen-logo-footer {
        width: 180px;
    }
    
    .icono-red-pie {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .enlaces-legales {
        gap: 10px;
    }
    
    .enlace-legal {
        font-size: 0.85rem;
    }
    
    .enlace-legal::after {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* Botones flotantes en móvil pequeño */
    .boton-facebook, .boton-whatsapp {
        right: 15px;
        bottom: 140px;
        width: 55px;
        height: 55px;
    }
    
    .boton-whatsapp {
        bottom: 80px;
    }
    
    .boton-subir {
        right: 15px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .contenido-boton-flotante {
        gap: 0;
    }
    
    .icono-boton-flotante {
        font-size: 22px;
    }
    
    /* Órbitas aún más pequeñas */
    @keyframes orbita-web {
        0% { transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg); }
        50% { transform: translate(-50%, -50%) rotate(180deg) translateX(100px) rotate(-180deg); }
        100% { transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg); }
    }
    
    @keyframes orbita-movil {
        0% { transform: translate(-50%, -50%) rotate(90deg) translateX(80px) rotate(-90deg); }
        50% { transform: translate(-50%, -50%) rotate(270deg) translateX(80px) rotate(-270deg); }
        100% { transform: translate(-50%, -50%) rotate(450deg) translateX(80px) rotate(-450deg); }
    }
    
    @keyframes orbita-diseno {
        0% { transform: translate(-50%, -50%) rotate(180deg) translateX(90px) rotate(-180deg); }
        50% { transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg); }
        100% { transform: translate(-50%, -50%) rotate(180deg) translateX(90px) rotate(-180deg); }
    }
    
    @keyframes orbita-seguridad {
        0% { transform: translate(-50%, -50%) rotate(270deg) translateX(70px) rotate(-270deg); }
        50% { transform: translate(-50%, -50%) rotate(90deg) translateX(70px) rotate(-90deg); }
        100% { transform: translate(-50%, -50%) rotate(270deg) translateX(70px) rotate(-270deg); }
    }
}