/*  
==================================================
   SYNAPTA - STYLE.CSS
   Mobile First - Diseño limpio, moderno y ligero
==================================================
*/

/* ------------------------------
   VARIABLES
------------------------------ */
:root {
    --primary: #0a3d62;
    --primary-light: #145a87;
    --secondary: #38ada9;
    --accent: #f1c40f;
    --dark: #1e272e;
    --light: #f5f6fa;
    --white: #ffffff;
    --gray: #a4b0be;

    --radius: 12px;
    --transition: 0.3s ease;
}

/* ------------------------------
   RESET
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Ajustá el valor según la altura de tu navbar */
}

/* Fix general: evita desbordes en mobile */
html,
body {
    width: 100%;
    overflow-x: hidden !important;
}

/* Fix imágenes que se salen */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar: aseguramos que el hamburguesa se vea */
.navbar-toggler {
    border-color: #0ff !important;
    z-index: 10;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,255,255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Evitar que el nav corte el botón */
.navbar {
    overflow: visible !important;
}



/* ========================= */
/*       NAVBAR CYBERPUNK    */
/* ========================= */
.navbar {
    background: rgba(5, 5, 5, 0.85) !important;
    backdrop-filter: blur(6px);

    border-bottom: 2px solid #00eaff;
    box-shadow:
        0 0 8px #00eaff,
        0 0 15px rgba(0, 234, 255, 0.5);

    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
    z-index: 1000;
    position: fixed;
    width: 100%;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    overflow: visible !important;
    /* evita que recorte el hamburguesa */
}

/* Efecto scanline */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 2px);
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

/* ========================= */
/*          LOGO             */
/* ========================= */
.navbar-brand img {
    height: 30px;
    filter: drop-shadow(0 0 6px rgba(0, 234, 255, 0.6));
}

.logo-animado {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 1.2s ease-out forwards;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover neon */
.logo-animado:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #00eaff;
}

/* ========================= */
/*          LINKS            */
/* ========================= */
.navbar .nav-link {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);
}

/* ========================= */
/*    BOTÓN HAMBURGUESA      */
/* ========================= */
.navbar-toggler {
    border-color: #00eaff !important;
    box-shadow: 0 0 5px #00eaff;
    margin-left: auto;
}

.navbar-toggler-icon {
    filter: drop-shadow(0 0 6px #00eaff);
}

/* ========================= */
/*        MOBILE FIX         */
/* ========================= */
@media (max-width: 768px) {

    .navbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand img {
        height: 32px !important;
    }

    .navbar-toggler {
        padding: 4px 6px !important;
        margin-right: 0 !important;
        transform: translateY(2px);
        /* baja ligeramente el botón */
    }

    /* Evita que el scanline tape el botón */
    .navbar::before {
        z-index: -1 !important;
    }

    .navbar .container,
    .navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-brand img {
        height: 42px !important;
    }
}

/* PC / Monitores grandes */
@media (min-width: 992px) {
    .navbar-brand img {
        height: 50px !important;
    }
}


/* ---------------------- */
/*     HERO PRINCIPAL     */
/* ---------------------- */

#inicio {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    grid-area: inicio;
}

/* ===== SLIDE DEL HERO ===== */
.hero-slide {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Transición suave del carrusel */
.carousel-item {
    transition: opacity 1s ease-in-out;
}

/* ===== OVERLAY FUTURISTA ===== */
.overlay-cyberpunk {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(5, 5, 5, 0.85),
            rgba(10, 10, 10, 0.70));
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    background-blend-mode: overlay;
    z-index: 1;
}

/* ===== CONTENIDO ===== */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* ================================ */
/*         EFECTO NEÓN TEXTO        */
/* ================================ */

/* Se activa SOLO cuando el slide está visible */
.carousel-item.active .neon-title {
    animation: neon-flicker 4s infinite;
}

.neon-title {
    font-family: "Orbitron", sans-serif;
    font-size: 4rem;
    color: #00eaff;
    text-shadow:
        0 0 5px #00eaff,
        0 0 10px #00eaff,
        0 0 20px #00eaff,
        0 0 40px rgba(0, 234, 255, 0.8);
    opacity: 1;
}

@keyframes neon-flicker {

    0%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: .8;
    }

    93% {
        opacity: .3;
    }

    94% {
        opacity: 1;
    }
}

/* -------- SUBTÍTULO -------- */
.hero-subtitle {
    font-size: clamp(1rem, 3.2vw, 1.8rem);
    font-family: "Exo", sans-serif;
    color: #eeeeee;
    margin-top: 10px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* -------- BOTÓN -------- */
.btn-hero {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    font-family: "Orbitron", sans-serif;
    color: #00eaff;
    border: 2px solid #00eaff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);

    box-shadow:
        0 0 10px #00eaff,
        inset 0 0 10px rgba(0, 234, 255, 0.4);

    transition: 0.3s ease;
}

.btn-hero:hover {
    box-shadow:
        0 0 20px #00eaff,
        inset 0 0 20px rgba(0, 234, 255, 0.7);
    color: black;
    background: #00eaff;
}

/* ================================ */
/*     ANIMACIÓN FADE + SLIDE UP    */
/* ================================ */

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Se activa cuando el slide está visible */
.carousel-item.active .hero-content {
    animation: fadeSlideUp 1.2s ease forwards;
}

/* ================================ */
/*       RESPONSIVE MOBILE          */
/* ================================ */
@media (max-width: 480px) {

    .neon-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 10px 20px;
    }
}


/* ============================
   SERVICIOS - estilo CYBERPUNK
============================ */
#servicios {
    grid-area: servicios;
}

.servicios {
    background: radial-gradient(circle at top, #1b0034, #05010a);
    color: #e0e0ff;
}

/* Título con glow neon eléctrico */
.titulo-neon {
    font-family: 'Orbitron', sans-serif;
    color: #ff00ff;
    text-shadow:
        0 0 8px #ff00ff,
        0 0 16px #ff00ff,
        0 0 28px #7700ff;
}

/* ---- CARD ---- */
.servicio-card {
    background: rgba(20, 0, 40, 0.55);
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 255, 0.4);
    backdrop-filter: blur(10px);

    box-shadow:
        0 0 12px rgba(255, 0, 255, 0.25),
        inset 0 0 12px rgba(0, 255, 255, 0.25);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover estilo glitch */
.servicio-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow:
        0 0 18px rgba(255, 0, 255, 0.45),
        0 0 28px rgba(0, 255, 255, 0.4),
        inset 0 0 20px rgba(255, 0, 255, 0.35);
}

/* ---- TITULOS ---- */
.servicio-titulo {
    font-family: 'Orbitron', sans-serif;
    color: #00faff;
    text-shadow:
        0 0 6px #00faff,
        0 0 16px #0066ff;
}

/* ---- TEXTO ---- */
.servicio-card p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #d0d0ff;
}

/* ---- IMAGEN ---- */
.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(1.1) saturate(1.25);

    /* Máscara futurista */
    clip-path: polygon(0% 0%, 92% 0%, 100% 12%,
            100% 100%, 8% 100%, 0% 88%);
}

/* Animación suave neon pulsante en borde */
.servicio-card {
    animation: neonPulse 3s infinite alternate ease-in-out;
}

@keyframes neonPulse {
    from {
        border-color: rgba(255, 0, 255, 0.35);
        box-shadow:
            0 0 8px rgba(255, 0, 255, 0.25),
            inset 0 0 8px rgba(0, 255, 255, 0.2);
    }

    to {
        border-color: rgba(0, 255, 255, 0.55);
        box-shadow:
            0 0 16px rgba(255, 0, 255, 0.4),
            inset 0 0 18px rgba(0, 255, 255, 0.35);
    }
}

/* ------------------------------
   NOSOTROS CON OVERLAY FUTURISTA
------------------------------ */

#nosotros {
    grid-area: nosotros;
    position: relative;
    overflow: hidden;
    background: #0f0f0f;
    /* Fondo base oscuro elegante */
    height: 90vh;
}

/* Overlay principal: degradado futurista */
#nosotros::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 200, 255, 0.15),
            rgba(100, 0, 255, 0.15));
    z-index: 1;
}

/* Líneas futuristas moviéndose */
#nosotros::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(120deg,
            rgba(255, 255, 255, 0.06) 0px,
            rgba(255, 255, 255, 0.06) 2px,
            transparent 2px,
            transparent 14px);
    animation: scan 10s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes scan {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(50%);
    }
}

/* Asegura que el contenido esté arriba del overlay */
#nosotros>* {
    position: relative;
    z-index: 3;
}

/* ------------------------------
   Tipografía y contenido
------------------------------ */

.nosotros h2 {
    color: #ffffff;
    font-weight: 800;
}

.text-secondary {
    color: #cfd6ff !important;
}

.texto-nosotros p {
    color: #e6e6e6;
}

/* Imagen */
.nosotros-img-wrapper img {
    border-radius: 16px;
    object-fit: cover;
}

#nosotros h2 {
    color: #ffffff;
    font-weight: 800;
    text-shadow:
        0 0 6px rgba(0, 200, 255, 0.7),
        0 0 12px rgba(0, 200, 255, 0.6),
        0 0 22px rgba(100, 0, 255, 0.7),
        0 0 45px rgba(100, 0, 255, 0.5);
    letter-spacing: 1px;
    animation: glowPulse 3s ease-in-out infinite;
}

/* Animación suave del brillo */
@keyframes glowPulse {
    0% {
        text-shadow:
            0 0 4px rgba(0, 200, 255, 0.6),
            0 0 10px rgba(0, 200, 255, 0.5),
            0 0 20px rgba(100, 0, 255, 0.6);
    }

    50% {
        text-shadow:
            0 0 10px rgba(0, 200, 255, 1),
            0 0 20px rgba(0, 200, 255, 0.9),
            0 0 40px rgba(100, 0, 255, 0.9),
            0 0 70px rgba(100, 0, 255, 0.7);
    }

    100% {
        text-shadow:
            0 0 4px rgba(0, 200, 255, 0.6),
            0 0 10px rgba(0, 200, 255, 0.5),
            0 0 20px rgba(100, 0, 255, 0.6);
    }
}

/* ------------------------------------
   BORDE NEÓN FUTURISTA PARA LA IMAGEN
------------------------------------ */

.nosotros-img {
    max-width: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;

    /* Efecto neón */
    box-shadow:
        0 0 10px rgba(0, 200, 255, 0.7),
        0 0 20px rgba(0, 200, 255, 0.6),
        0 0 35px rgba(120, 0, 255, 0.6),
        0 0 60px rgba(120, 0, 255, 0.4);

    animation: neonBorderPulse 3s ease-in-out infinite;
}

/* Animación del resplandor */
@keyframes neonBorderPulse {
    0% {
        box-shadow:
            0 0 6px rgba(0, 200, 255, 0.5),
            0 0 15px rgba(0, 200, 255, 0.4),
            0 0 30px rgba(120, 0, 255, 0.5);
    }

    50% {
        box-shadow:
            0 0 14px rgba(0, 200, 255, 0.9),
            0 0 30px rgba(0, 200, 255, 0.8),
            0 0 55px rgba(120, 0, 255, 0.9),
            0 0 80px rgba(120, 0, 255, 0.6);
    }

    100% {
        box-shadow:
            0 0 6px rgba(0, 200, 255, 0.5),
            0 0 15px rgba(0, 200, 255, 0.4),
            0 0 30px rgba(120, 0, 255, 0.5);
    }
}

/* ============================= */
/* PORTFOLIO CYBERPUNK */
/* ============================= */

/* Subtítulo visible y neón */
.neon-subtitle-soft {
    color: #00eaff;
    opacity: 0.95;
    font-size: 1.2rem;
    text-shadow: 0 0 8px #00eaff;
    margin-top: -8px;
}

/* Contenedor general */
#portfolio {
    grid-area: portfolio;
    background: #0a0a0f;
}

/* ----------------------------------
   TARJETAS PORTFOLIO
---------------------------------- */

.portfolio-card {
    width: 80%;
    /* ocupa el 80% del espacio */
    margin: 0 auto;
    /* centrada */
    background: #111;
    /* fondo oscuro cyberpunk */
    border: 1px solid #00eaff60;
    /* borde cian */
    border-radius: 12px;
    box-shadow: 0 0 15px #00eaff30;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

/* Hover neon */
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #00eaff;
}

/* Imagen de portada */
.portfolio-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-bottom: 1px solid #00eaff60;
}

/* Texto interno */
.portfolio-card .card-body {
    padding: 25px 20px;
    color: #eee;
}

/* Títulos con efecto neón */
.portfolio-card .card-body h5 {
    color: #00eaff;
    font-weight: bold;
    text-shadow: 0 0 10px #00eaff;
    margin-bottom: 10px;
}

/* Descripción */
.portfolio-card p {
    color: #cfcfcf;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ----------------------------------
   BOTÓN CYBERPUNK
---------------------------------- */

.btn-cyber {
    background: transparent;
    border: 2px solid #00eaff;
    color: #00eaff;
    padding: 8px 22px;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #00eaff;
}

.btn-cyber:hover {
    background: #00eaff;
    color: #000;
    box-shadow: 0 0 18px #00eaff;
}

/* ------------------------------
    SECCIÓN VALORES — CYBERPUNK
------------------------------ */

/* Fondo oscuro con textura */
.seccion-cyberpunk {
    background: linear-gradient(135deg, #0a0a0f, #12121c, #0a0a0f);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ----------------------- */
/* TITULOS NEON SUPERIORES */
/* ----------------------- */
.neon-title-cyberpunk {
    font-size: 3rem;
    color: #00eaff;
    text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff;
}

.neon-subtitle-cyber {
    font-size: 2.4rem;
    color: #ff009d;
    text-shadow: 0 0 10px #ff009d, 0 0 25px #ff009d;
}

/* ----------------------- */
/* CARDS MISION / VISION */
/* ----------------------- */
.cyber-card {
    padding: 30px;
    border-radius: 12px;
    background: rgba(20, 20, 30, 0.8);
    border: 2px solid #00eaff;
    box-shadow: 0 0 15px #00eaff80;
    backdrop-filter: blur(6px);
}

.card-title-cyber {
    font-size: 2rem;
    color: #00eaff;
    text-shadow: 0 0 8px #00eaff;
    margin-bottom: 15px;
}

.card-text-cyber {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ----------------------- */
/* CARDS DE VALORES */
/* ----------------------- */
.valor-card-cyber {
    background: rgba(25, 25, 35, 0.85);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #ff009d;
    box-shadow: 0 0 12px #ff009d70;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card-cyber h5 {
    color: #ff009d;
    text-shadow: 0 0 8px #ff009d;
    font-size: 1.4rem;
}

.valor-card-cyber p {
    color: #dcdcdc;
    font-size: 1rem;
}

.valor-card-cyber:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px #ff009d;
}

/* ============================= */
/*   CONTACTO — ESTILO CYBERPUNK */
/* ============================= */
#contacto {
    grid-area: contacto;
}

.contacto-cyber {
    background: linear-gradient(135deg, #0a0a0f, #12121c, #0a0a0f);
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Formulario futurista */
.contact-form-cyber {
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid #00eaff80;
    box-shadow: 0 0 20px #00eaff40;
    backdrop-filter: blur(4px);
}

/* Etiquetas */
.cyber-label {
    color: #00eaff;
    font-weight: 600;
    text-shadow: 0 0 8px #00eaff88;
}

/* Inputs neón */
.cyber-input {
    background: #0d0d12;
    border: 2px solid #00eaff40;
    color: #fff;
    transition: 0.3s;
}

.cyber-input:focus {
    background: #0f0f16;
    background-color: #ffffff !important;
    border-color: #00eaff;
    box-shadow: 0 0 12px #00eaff;
    color: #00eaff;
}

/* Botón reutiliza btn-cyber */
.btn-cyber {
    background: transparent;
    border: 2px solid #ff009d;
    color: #ff009d;
    padding: 10px 20px;
    font-weight: 600;
    text-shadow: 0 0 10px #ff009d;
    transition: 0.3s ease;
}

.btn-cyber:hover {
    background: #ff009d;
    color: #000;
    box-shadow: 0 0 20px #ff009d;
}

/* Título con neón */
.section-title-cyber {
    font-size: 2.6rem;
    color: #ff009d;
    text-shadow:
        0 0 6px #ff009d,
        0 0 12px #ff009d,
        0 0 25px #ff009d;
}

/* Subtítulo */
.neon-subtitle-soft {
    color: #00eaff;
    opacity: 0.9;
    font-size: 1.2rem;
    text-shadow: 0 0 6px #00eaff80;
}


/* ============================= */
/* FOOTER — ESTILO CYBERPUNK    */
/* ============================= */

.footer-cyber {
    grid-area: footer;
    background: linear-gradient(135deg, #0a0a0f, #12121c, #0a0a0f);
    color: #eee;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 2px solid #ff009d;
    box-shadow: 0 0 25px #ff009d50;
    text-align: center;
}

/* GRID */
.footer-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

/* Títulos con glow */
.footer-title-neon {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ff009d;
    text-shadow:
        0 0 4px #ff009d,
        0 0 10px #ff009d,
        0 0 16px #ff009d;
}

/* Texto */
.footer-text,
.footer-info li {
    opacity: 0.9;
    color: #d6d6d6;
    line-height: 1.6;
}

/* ENLACES */
.footer-links li {
    list-style: none;
    margin: 6px 0;
}

.footer-links a {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.footer-links a:hover {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);
    /* opcional — da efecto de movimiento */
}

/* ICONOS REDES */
.footer-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* centra horizontal */
    align-items: center;
    /* centra vertical */
    gap: 15px;
    /* separa los iconos */
    margin-top: 10px;
}

.footer-social img {
    width: 32px;
    margin: 0 8px;
    filter: drop-shadow(0 0 6px #00eaff);
    transition: 0.3s;
}

.footer-social img:hover {
    filter: drop-shadow(0 0 12px #ff009d);
    transform: scale(1.08);
}

/* LEGAL */
.footer-legal {
    border-top: 1px solid #00eaff40;
    padding-top: 15px;
    color: #999;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ff009d;
    text-decoration: none;
    text-shadow: 0 0 8px #ff009d60;
}

.footer-legal a:hover {
    color: #00eaff;
    text-shadow: 0 0 12px #00eaff;
}

/* ------------------------------
   MEDIA QUERIES (TABLET + DESKTOP)
------------------------------ */

@media (min-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .service-card {
        margin-bottom: 0;
    }

    .texto-nosotros p {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        height: 70vh;
    }

    texto-nosotros {
        text-align: center;
    }

    .portfolio-card {
        width: 95%;
    }
}

@media (min-width: 992px) {
    .hero {
        text-align: left;
        padding: 120px 0;
    }

    .hero .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero-text {
        max-width: 50%;
    }

    .texto-nosotros p {
        font-size: 1.5rem;
    }
}

/* BOTÓN */
.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
}

/* Efecto hover del botón */
.btn-wsp:hover {
    transform: scale(1.1);
}

/* TOOLTIP */
.tooltip-wsp {
    position: absolute;
    right: 75px;
    bottom: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-shadow: 0 0 6px #9d75ff;
    border: 1px solid #9d75ff;
}

/* Flechita del tooltip */
.tooltip-wsp::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 7px solid rgba(0, 0, 0, 0.85);
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

/* Mostrar tooltip al pasar el mouse */
.btn-wsp:hover .tooltip-wsp {
    opacity: 1;
    transform: translateX(0);
}


/* evita que el pseudo-elemento tape el botón */
.navbar-cyberpunk:before {
    z-index: -1 !important;
}

/* ================================
   SIDEBAR ESTILO CYBERPUNK
================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(6px);
    padding: 20px 0;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 9999;
    border-right: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 5px 0 25px rgba(0, 255, 255, 0.25);
}

.sidebar.open {
    transform: translateX(0);
}

/* ================================
   BOTÓN HAMBURGUESA (mejorado)
================================ */
.btn-sidebar-toggle {
    position: fixed;
    top: 18px;
    left: 18px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.35);
    color: #00eaff;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    z-index: 11000;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-sidebar-toggle:hover {
    background: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
}

/* ================================
   PERFIL USUARIO — Avatar dentro del sidebar
================================ */
/* Evita conflictos */
.sidebar-profile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    text-align: center;
}

.sidebar-user {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    text-align: center;
    overflow: hidden;
    /* evita que la imagen se salga */
}

/* Avatar pequeño */
.sidebar-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00eaff;
    box-shadow:
        0 0 10px #00eaff,
        0 0 25px rgba(0, 238, 255, 0.4);
    transition: 0.2s ease;
}

.sidebar-avatar:hover {
    transform: scale(1.05);
}

/* Nombre */
.sidebar-username {
    margin-top: 10px;
    color: #e0f7ff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0, 238, 255, 0.6);
}

/* Responsive avatar */
@media (max-width: 768px) {
    .sidebar-avatar {
        width: 55px;
        height: 55px;
    }
}

/* ================================
   MENÚ
================================ */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    color: #b6c9d6;
    text-decoration: none;
    font-size: 16px;
    transition: 0.25s all ease;
}

.sidebar-menu li a i {
    font-size: 20px;
    color: #00d4ff;
}

.sidebar-menu li a:hover {
    background: rgba(0, 255, 255, 0.12);
    color: #00eaff;
    border-left: 3px solid #00eaff;
    padding-left: 28px;
    box-shadow: inset 0 0 12px rgba(0, 255, 255, 0.25);
}

/* ================================
   BOTÓN LOGOUT
================================ */
.sidebar-logout {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

.logout-btn {
    background: linear-gradient(135deg, #e84118, #c23616);
    color: white;
    border: none;
    padding: 11px 18px;
    width: 85%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.25s ease;
    box-shadow: 0 0 12px rgba(255, 60, 0, 0.4);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #ff4c24, #b4200f);
    box-shadow: 0 0 15px rgba(255, 70, 20, 0.7);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .sidebar {
        width: 230px;
    }

    .sidebar-avatar {
        width: 72px;
        height: 72px;
    }

    .btn-sidebar-toggle {
        top: 12px;
        left: 12px;
        padding: 6px 9px;
    }
}

@media (max-width: 576px) {

    /* El botón hamburguesa baja para no chocar con el logo */
    .btn-sidebar-toggle {
        top: 65px;
        left: 16px;
        transform: scale(0.95);
    }

    .sidebar {
        width: 210px;
    }

    .sidebar-menu li a {
        font-size: 15px;
        padding: 10px 18px;
    }
}