/* SECCIÓN 1 · FUENTES (@font-face) */
@font-face {
    font-family: 'Gordita-Light';
    src: url('Gordita/Gordita-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Gordita-Regular';
    src: url('Gordita/Gordita-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Gordita-Bold';
    src: url('Gordita/Gordita-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Gordita-Black';
    src: url('Gordita/Gordita-Black.ttf') format('truetype');
}

/* SECCIÓN 2 · RESET Y BASE */
html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Gordita-Regular', sans-serif;
    background-color: white;
    color: black;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/* SECCIÓN 3 · HEADER Y NAVEGACIÓN */
.header-h {
    padding: 20px;
    text-align: center;
}

.brand-mobile,
.menu-toggle {
    display: none;
}

.nav-h {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.a-h {
    text-decoration: none;
    color: #000;
    text-align: center;
    padding: 10px;
    font-size: 1.08rem;
}

.a-h:hover {
    background-color: #f0f0f0;
    border-radius: 50px;
    transform: scale(1.05);
    transition: transform 0.1s;
}

.a-h:active {
    transform: scale(0.90);
    transition: transform 0.1s;
}


.nav-h {
    display: flex;
    gap: 20px;
    align-items: center;
}


.dropdown {
    position: relative;
    display: inline-block;
}


.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
}

.dropdown-content a {
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    color: black;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* SECCIÓN 4 · QFONDO Y VIDEO / PANEL */

.inicio {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#video_background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translate(-50%, -50%) scale(1.02);
}

.hero-video-mobile {
    display: none;
}

#divFondo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.contenido {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-family: Arial, sans-serif;
    /* padding: 20px; */
    border-radius: 8px;
    display: flex;
    justify-content: flex-end;
}

.QioraFondo {
    width: 47%;
    z-index: 1;
    margin: 0;
    display: flex;
}

/* seccionAnimación */
.panel {
    height: 300vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
}

.img-container {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


#imgF {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-overlay {
    position: relative;
}

.intro {
    background-color: transparent;
}

.spacer {
    height: 100vh;
    background: transparent;
}

.unidadesNegocio {
    height: 100vh;
    background-color: pink;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SECCIÓN 5 · LOGO Y TÍTULOS */
.logo {
    width: clamp(550px, 40vw, 1000px);
    height: auto;
    animation: slide-in-elliptic-left-fwd 1s ease-out;
}

.titulo-logo-img {
    width: 80%;
    padding: 10px 0;
    margin: 0px 70px 0px 0px;
    -webkit-filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.titulo_logo-celular-img {
    width: 80%;
    padding: 60px 0px 30px;
    -webkit-filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.15));
}

.logo-contact {
    width: 30%;
}

.logo1 {
    height: 50px;
    margin-top: 30px;
}

/* SECCIÓN 6 · UNIDADES DE NEGOCIO (Desktop) */
.divUnidaNegocio {
    padding: 50px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.contenedor {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
}

#circulo {
    position: relative;
    width: 100%;
    height: 100%;
}

.imagen-circular {
    position: absolute;
    border-radius: 50%;
    width: 15%;
    height: 25%;
    cursor: pointer;
    opacity: 0;
    -webkit-transform: scale(0.3) rotate(180deg);
    -moz-transform: scale(0.3) rotate(180deg);
    -ms-transform: scale(0.3) rotate(180deg);
    transform: scale(0.3) rotate(180deg);
    -webkit-transition: all 1.2s ease-out;
    -moz-transition: all 1.2s ease-out;
    -ms-transition: all 1.2s ease-out;
    transition: all 1.2s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);

    background-color: rgba(255, 255, 255, 0.1);
}

.imagen-circular.activo {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0deg);
    -moz-transform: scale(1) rotate(0deg);
    -ms-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.imagen-circular:hover {
    -webkit-transform: scale(1.1) rotate(-5deg) !important;
    -moz-transform: scale(1.1) rotate(-5deg) !important;
    -ms-transform: scale(1.1) rotate(-5deg) !important;
    transform: scale(1.1) rotate(-5deg) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.imagen-circular.activo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    -webkit-animation: pulso 2s infinite;
    -moz-animation: pulso 2s infinite;
    animation: pulso 2s infinite;
}

.fondo {
    position: absolute;
    width: 90%;
    height: 90%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    -webkit-transition: all 1.5s ease-out;
    -moz-transition: all 1.5s ease-out;
    -ms-transition: all 1.5s ease-out;
    transition: all 1.5s ease-out;
    z-index: 0;
    top: 20px;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: blur(2px);
    filter: blur(2px);
}

.fondo.visible {
    opacity: 1;
    z-index: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-filter: blur(0px);
    filter: blur(0px);
}

/* SECCIÓN 8 · BOTONES (Desktop) */
.botones {
    position: absolute;
    right: 10%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.botones button {
    font-family: inherit;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 70px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

.botones button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    -webkit-transition: left 0.5s;
    -moz-transition: left 0.5s;
    -ms-transition: left 0.5s;
    transition: left 0.5s;
}

.botones button:hover::before {
    left: 100%;
}

.botones button:hover {
    -webkit-transform: translateX(-10px) scale(1.05);
    -moz-transform: translateX(-10px) scale(1.05);
    -ms-transform: translateX(-10px) scale(1.05);
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#btn0 {
    color: #565656;
    border-color: rgba(59, 134, 62, 0.3);
}

#btn1 {
    color: #565656;
    border-color: rgba(0, 178, 226, 0.3);
}

#btn2 {
    color: #565656;
    border-color: rgba(254, 95, 0, 0.3);
}

#btn3 {
    color: #565656;
    border-color: rgba(186, 13, 13, 0.3);
}

#btn0:hover,
#btn0.activo {
    background: linear-gradient(135deg, #3b863e, #4a9d4d);
    color: white;
    border-color: #3b863e;
    box-shadow: 0 15px 40px rgba(59, 134, 62, 0.4);
}

#btn1:hover,
#btn1.activo {
    background: linear-gradient(135deg, #00b2e2, #33c3ed);
    color: white;
    border-color: #00b2e2;
    box-shadow: 0 15px 40px rgba(0, 178, 226, 0.4);
}

#btn2:hover,
#btn2.activo {
    background: linear-gradient(135deg, #fe5f00, #ff7f33);
    color: white;
    border-color: #fe5f00;
    box-shadow: 0 15px 40px rgba(254, 95, 0, 0.4);
}

#btn3:hover,
#btn3.activo {
    background: linear-gradient(135deg, #ba0d0d, #d11d1d);
    color: white;
    border-color: #ba0d0d;
    box-shadow: 0 15px 40px rgba(186, 13, 13, 0.4);
}

/* SECCIÓN 9 · TEXTOS (Desktop) */
.texto {
    position: absolute;
    left: 60%;
    top: 50%;
    -webkit-transform: translate(-80%, -50%);
    -moz-transform: translate(-80%, -50%);
    -ms-transform: translate(-80%, -50%);
    transform: translate(-80%, -50%);
    text-align: center;
    color: black;
    z-index: 5;
    opacity: 1;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    transition: all 1s ease-out;
    max-width: 500px;
}

.texto.cambiando {
    opacity: 0;
    -webkit-transform: translate(-80%, -50%) translateY(-20px);
    -moz-transform: translate(-80%, -50%) translateY(-20px);
    -ms-transform: translate(-80%, -50%) translateY(-20px);
    transform: translate(-80%, -50%) translateY(-20px);
}

.texto h1 {
    font-size: 36px;
    margin-bottom: 10px;
    -webkit-animation: tituloEntrada 1s ease-out;
    -moz-animation: tituloEntrada 1s ease-out;
    animation: tituloEntrada 1s ease-out;
}

.texto p {
    font-size: 0.9em;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
    -webkit-animation: textoEntrada 1s ease-out 0.3s both;
    -moz-animation: textoEntrada 1s ease-out 0.3s both;
    animation: textoEntrada 1s ease-out 0.3s both;
}

.texto-celular {
    text-align: center;
    color: black;
    opacity: 1;
    -webkit-transition: all 0.8s ease-out;
    -moz-transition: all 0.8s ease-out;
    -ms-transition: all 0.8s ease-out;
    transition: all 0.8s ease-out;
    height: 320px;
    z-index: 3;
    position: relative;
}

.texto-celular.cambiando {
    opacity: 0;
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    transform: translateY(-15px);
}

.texto-celular h1 {
    -webkit-animation: tituloEntradaCelular 0.8s ease-out;
    -moz-animation: tituloEntradaCelular 0.8s ease-out;
    animation: tituloEntradaCelular 0.8s ease-out;
}

.texto_p-celular {
    font-size: 0.9em;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
    -webkit-animation: textoEntradaCelular 0.8s ease-out 0.2s both;
    -moz-animation: textoEntradaCelular 0.8s ease-out 0.2s both;
    animation: textoEntradaCelular 0.8s ease-out 0.2s both;
}

/* SECCIÓN 10 · VERSIÓN MÓVIL (Layout) */
.catalogo-celular-div {
    margin: 0;
    background-color: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: inherit;
    overflow: hidden;
    flex-direction: column;
    padding: 30px 40px;
    position: relative;
    min-height: 100vh;
}

.catalogo-celular {
    position: relative;
    width: 90vw;
    max-width: 600px;
    height: 40vw;
    max-height: 250px;
    z-index: 2;
}

.circulo-celular {
    position: absolute;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    -webkit-transition: all 0.8s ease-out;
    -moz-transition: all 0.8s ease-out;
    -ms-transition: all 0.8s ease-out;
    transition: all 0.8s ease-out;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
}

.circulo-celular[style*="z-index: 3"] {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
    -webkit-transform: translate(-50%, -50%) scale(1) !important;
    -moz-transform: translate(-50%, -50%) scale(1) !important;
    -ms-transform: translate(-50%, -50%) scale(1) !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

.circulo-celular[style*="z-index: 3"]::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    opacity: 0;
    -webkit-animation: pulsoCelular 2.5s infinite;
    -moz-animation: pulsoCelular 2.5s infinite;
    animation: pulsoCelular 2.5s infinite;
}

.circulo-celular[style*="z-index: 2"] {
    -webkit-filter: brightness(0.9) saturate(0.8);
    filter: brightness(0.9) saturate(0.8);
    -webkit-transform: translate(-50%, -50%) scale(0.8) !important;
    -moz-transform: translate(-50%, -50%) scale(0.8) !important;
    -ms-transform: translate(-50%, -50%) scale(0.8) !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
}

.circulo-celular:hover {
    -webkit-transform: translate(-50%, -50%) scale(1.05) rotate(-2deg) !important;
    -moz-transform: translate(-50%, -50%) scale(1.05) rotate(-2deg) !important;
    -ms-transform: translate(-50%, -50%) scale(1.05) rotate(-2deg) !important;
    transform: translate(-50%, -50%) scale(1.05) rotate(-2deg) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 10 !important;
}

/* SECCIÓN 11 · BOTONES (Móvil) */
.botones-Celular {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    z-index: 3;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}

.botones-Celular button {
    font-family: inherit;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.botones-Celular button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    -webkit-transition: left 0.4s;
    -moz-transition: left 0.4s;
    -ms-transition: left 0.4s;
    transition: left 0.4s;
}

.botones-Celular button:hover::before {
    left: 100%;
}

.botones-Celular button:hover {
    -webkit-transform: translateY(-3px) scale(1.05);
    -moz-transform: translateY(-3px) scale(1.05);
    -ms-transform: translateY(-3px) scale(1.05);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#btn0-Celular {
    color: #565656;
    border-color: rgba(59, 134, 62, 0.4);
}

#btn1-Celular {
    color: #565656;
    border-color: rgba(0, 178, 226, 0.4);
}

#btn2-Celular {
    color: #565656;
    border-color: rgba(254, 95, 0, 0.4);
}

#btn3-Celular {
    color: #565656;
    border-color: rgba(186, 13, 13, 0.4);
}

#btn0-Celular:hover,
#btn0-Celular.activo {
    background: linear-gradient(135deg, #3b863e, #4a9d4d);
    color: white;
    border-color: #3b863e;
    box-shadow: 0 10px 25px rgba(59, 134, 62, 0.4);
}

#btn1-Celular:hover,
#btn1-Celular.activo {
    background: linear-gradient(135deg, #00b2e2, #33c3ed);
    color: white;
    border-color: #00b2e2;
    box-shadow: 0 10px 25px rgba(0, 178, 226, 0.4);
}

#btn2-Celular:hover,
#btn2-Celular.activo {
    background: linear-gradient(135deg, #fe5f00, #ff7f33);
    color: white;
    border-color: #fe5f00;
    box-shadow: 0 10px 25px rgba(254, 95, 0, 0.4);
}

#btn3-Celular:hover,
#btn3-Celular.activo {
    background: linear-gradient(135deg, #ba0d0d, #d11d1d);
    color: white;
    border-color: #ba0d0d;
    box-shadow: 0 10px 25px rgba(186, 13, 13, 0.4);
}

/* SECCIÓN 14 · @supports (Compatibilidad) */

@supports (-webkit-backdrop-filter: blur(10px)) {
    .imagen-circular {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

@supports (-webkit-backdrop-filter: blur(10px)) {
    .botones button {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

@supports (-webkit-backdrop-filter: blur(5px)) {
    .circulo-celular {
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}

@supports (-webkit-backdrop-filter: blur(8px)) {
    .botones-Celular button {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
}

/* SECCIÓN 15 · NOSOTROS */
.nosotros-a {
    top: 0;
    z-index: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background-color: #000;
}

.divNosotros1 {
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-n1 {
    font-size: clamp(16px, 1.2vw, 18px);
    color: white;
    text-align: justify;
}

.divNosotros-a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1000px;
    width: 90%;
    padding: 60px 0;
}


.hr-n1 {
    width: 70%;
    margin-top: 10%;
    background-color: #ccc;
}

/* Estilos para el contenedor del loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gif {
    width: 20%;
}

/* SECCIÓN 6 · ANIMACIONES Y KEYFRAMES */

@-webkit-keyframes pulso {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes pulso {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
        opacity: 0;
    }
}

@-webkit-keyframes tituloEntrada {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes tituloEntrada {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes textoEntrada {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes textoEntrada {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes pulsoCelular {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulsoCelular {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(1.3);
        transform: scale(1.3);
        opacity: 0;
    }
}

@-webkit-keyframes tituloEntradaCelular {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes tituloEntradaCelular {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes textoEntradaCelular {
    0% {
        opacity: 0;
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes textoEntradaCelular {
    0% {
        opacity: 0;
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slide-in-elliptic-left-fwd {
    0% {
        -webkit-transform: translateX(-800px) rotateY(30deg) scale(0);
        transform: translateX(-800px) rotateY(30deg) scale(0);
        -webkit-transform-origin: -100% 50%;
        transform-origin: -100% 50%;
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0) rotateY(0) scale(1);
        transform: translateX(0) rotateY(0) scale(1);
        -webkit-transform-origin: 1800px 50%;
        transform-origin: 1800px 50%;
        opacity: 1;
    }
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 1s ease-out;
  z-index: 999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* === Botón flotante "Subir" === */
#btnScrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border: none;
    outline: none;
    background-color: gray;
    color: white;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 80%;
    font-size: 20px;
    display: none;
    /* oculto por defecto */
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: fixed;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#btnScrollTop:hover {
    background-color: #555;
    transform: scale(1.1);
}


.fondo-p {
    background: radial-gradient(circle at 21.25% 0%, #B4E5F3 0%, 11.55%, rgba(180, 229, 243, 0) 35%),
        radial-gradient(circle at 83.67% 1.67%, #DEFFA6 0%, 17.5%, rgba(222, 255, 166, 0) 35%),
        radial-gradient(circle at 100% 100%, rgba(201, 198, 255, 0.75) 0%, 34.1%, rgba(201, 198, 255, 0) 55%),
        radial-gradient(circle at 21.25% 100%, #93C3FF 0%, 42%, rgba(147, 195, 255, 0) 70%);
}

.nosotros-ab {
    z-index: 1;
    height: 100vh;
    transition: transform 0.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divNosotros-a2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    width: 100%;
    top: 0;
    z-index: 1;
}

.nosotros {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 20vh;
    transition: transform 0.2s ease-out;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.divNosotros-a1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1;
}

.divNosotros-b {
    text-align: justify;
    flex: 1;
}

.h-1 {
    font-family: 'Gordita-Black', sans-serif;
    line-height: 1;
    font-size: clamp(4px, 18vw, 58px);
    text-align: center;
    margin: 0px;
}

.h-2 {
    font-family: 'Gordita-regular', sans-serif;
    line-height: 1;
    font-size: clamp(4px, 18vw, 58px);
    text-align: center;
    margin: 0px;
}

.p-n2 {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #333;
}

.telefono {
    position: relative;
    z-index: -1;
    text-align: center;
}

.telefono-d {
    width: 80%;
}

.orbita {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.burbuja {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, z-index 0s;
}

.burbuja img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.burbuja:hover img {
    transform: scale(1.5);
}

.burbuja:hover {
    z-index: 10;
}

.burbuja:nth-child(1) {
    right: 75%;
    top: 90%;
    width: 20%;
    animation: orbt1 6s linear infinite;
}

.burbuja:nth-child(2) {
    top: 38%;
    right: 93%;
    width: 10%;
    animation: orbt3 5s linear infinite;
}

.burbuja:nth-child(3) {
    top: 95%;
    right: 15%;
    width: 15%;
    animation: orbt2 8s linear infinite;
}

.burbuja:nth-child(4) {
    bottom: 92%;
    right: 23%;
    width: 10%;
    animation: orbt1 5s linear infinite;
}

.burbuja:nth-child(5) {
    bottom: 77%;
    right: 66%;
    width: 15%;
    animation: orbt2 8s linear infinite;
}

.burbuja:nth-child(6) {
    top: 93%;
    left: 37%;
    width: 12%;
    animation: orbt3 5s linear infinite;
}

.burbuja:nth-child(7) {
    top: 15%;
    left: 84%;
    width: 20%;
    animation: orbt1 6s linear infinite;
}

.contacto {
    background-color: #fff;
    z-index: 2;
    position: relative;
    transform: translateY(100vh);
    height: 100vh;
    transition: transform 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto.slide-up {
    transform: translateY(0);
}

.footer {
    color: black;
}

.footer-section {
    display: inline-block;
    vertical-align: top;
    width: 60%;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 'Gordita-Bold', sans-serif;
    margin-top: 10px;
}

.footer-section a,
.footer-section p {
    display: block;
    color: black;
    text-decoration: none;
    margin: 5px 0;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
}

.footer-bottom a {
    color: black;
    font-size: 0.9rem;
    text-decoration: underline;
}

.iconoSocial {
    width: clamp(30px, 4vw, 40px);
    height: clamp(30px, 4vw, 40px);
    margin-right: 10px;
}

.td-social {
    padding: 0;
    margin-right: 10px;
}

.a-coreo {
    font-family: 'Gordita-Bold', sans-serif;
}

.td-social:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    background-color: transparent;
}

.td-social:active {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.logoBlanco {
    --q-glow-core: 0px;
    --q-glow-mid: 0px;
    --q-glow-wide: 0px;
    --q-brightness: 0.45;
    --q-opacity: 0.5;
    --q-scale: 0.92;
    width: 40px;
    margin: 0 auto;
    padding-bottom: 30px;
    opacity: var(--q-opacity);
    filter: brightness(var(--q-brightness))
        drop-shadow(0 0 var(--q-glow-core) rgba(255, 255, 255, 0.98))
        drop-shadow(0 0 var(--q-glow-mid) rgba(174, 250, 255, 0.9))
        drop-shadow(0 0 var(--q-glow-wide) rgba(158, 132, 255, 0.58));
    transform: scale(var(--q-scale));
    transform-origin: center;
    will-change: filter, transform, opacity;
}

.logo-contact {
    width: 30%;
    padding-left: 10em;
}

.logo1 {
    height: 50px;
    margin-top: 30px;
}
.video-responsive{
    width: 50%;
    height: auto;
}

@keyframes orbt1 {
    0% {
        transform: rotate(0deg) translateX(35px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(35px) rotate(-360deg);
    }
}

@keyframes orbt2 {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

@keyframes orbt3 {
    0% {
        transform: rotate(0deg) translateX(25px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(25px) rotate(-360deg);
    }
}

/* SECCIÓN 13 · MEDIA QUERIES (Responsive) */
@media (max-width: 768px) {
    .header-h {
        padding: 10px 12px;
    }

    .nav-h {
        gap: 4px;
        flex-wrap: wrap;
    }

    .a-h {
        min-height: 44px;
        padding: 11px 14px;
        display: inline-flex;
        align-items: center;
    }

    .inicio {
        height: calc(100svh - 64px);
        min-height: 500px;
    }

    #divFondo,
    .contenido {
        justify-content: center;
    }

    .QioraFondo {
        width: min(72vw, 360px);
    }

    .divUnidaNegocio {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 40px 16px 56px;
        overflow: visible;
    }

    .catalogo-celular-div {
        display: none;
    }

    .contenedor {
        order: 2;
        width: 100%;
        max-width: 520px;
        height: clamp(260px, 72vw, 380px);
        margin: 18px auto 0;
    }

    #circulo,
    .imagen-circular {
        display: none;
    }

    .fondo {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 24px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        transform: scale(1.03);
    }

    #fondo0 {
        background-image: url('img/Fondo/conecta.png') !important;
    }

    #fondo1 {
        background-image: url('img/Fondo/telecom.png') !important;
    }

    #fondo2 {
        background-image: url('img/Fondo/infra.png') !important;
    }

    #fondo3 {
        background-image: url('img/Fondo/capital.png') !important;
    }

    .fondo.visible {
        transform: scale(1);
    }

    .botones {
        position: static;
        order: 1;
        transform: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .botones button {
        min-height: 44px;
        padding: 9px 14px;
        font-size: 13px;
        flex: 0 1 auto;
    }

    .botones button:hover {
        transform: none;
    }

    .texto,
    .texto.cambiando {
        position: static;
        order: 3;
        transform: none;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        padding: 28px 8px 0;
    }

    .texto.cambiando {
        transform: translateY(-8px);
    }

    .titulo-logo-img {
        display: block;
        width: min(74%, 300px);
        margin: 0 auto;
        padding: 0 0 18px;
    }

    .texto p {
        font-size: 0.92rem;
        line-height: 1.65;
        text-align: left;
    }

    .nosotros-a {
        height: auto;
        min-height: 100svh;
        padding: 32px 0;
    }

    .divNosotros-a {
        width: min(88%, 620px);
        padding: 32px 0;
    }

    .p-n1 {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .gif {
        width: min(42vw, 180px);
    }

    .nosotros-ab {
        height: auto;
        min-height: auto;
        padding: 64px 24px;
    }

    .divNosotros-a2 {
        max-width: 620px;
    }

    .h-1,
    .h-2 {
        font-size: clamp(34px, 11vw, 52px);
    }

    .p-n2 {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .nosotros {
        position: relative;
        height: 72svh;
        min-height: 520px;
        overflow: hidden;
        align-items: center;
    }

    .divNosotros-a1 {
        position: relative;
        width: min(92%, 520px);
    }

    .telefono {
        z-index: 1;
    }

    .telefono-d {
        width: min(58vw, 260px);
    }

    .orbita {
        top: 50%;
        left: 50%;
        width: min(82vw, 420px);
        height: min(82vw, 420px);
        transform: translate(-50%, -50%);
        z-index: 2;
        pointer-events: none;
    }

    .contacto {
        height: auto;
        min-height: 100svh;
        padding: 56px 24px;
        transform: none;
    }

    .footer {
        width: 100%;
        max-width: 620px;
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .footer-section,
    .logo-contact {
        display: block;
        width: 100%;
        overflow-wrap: anywhere;
    }

    .logo1 {
        max-width: 100%;
        height: auto;
        width: min(230px, 75vw);
    }

    #btnScrollTop {
        right: 16px;
        bottom: 16px;
        min-width: 48px;
        min-height: 48px;
        padding: 8px 14px;
    }
}

@media (min-width: 769px) {
    .catalogo-celular-div {
        display: none;
    }

    .divUnidaNegocio {
        display: flex;
    }
}

@media (hover: none) and (pointer: coarse) {

    .imagen-circular:hover,
    .circulo-celular:hover,
    .botones button:hover,
    .botones-Celular button:hover {
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
        transform: none !important;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1920px) {
    .QioraFondo {
        width: 47%;
    }

    .texto {
        left: 60%;
        top: 50%;
    }

    .botones {
        right: 7%;
        top: 50%;
    }
}




@media (max-width: 420px) {
    .botones button {
        flex: 1 1 calc(50% - 8px);
    }

    .contenedor {
        height: 78vw;
    }

    .h-1,
    .h-2 {
        font-size: clamp(30px, 10.5vw, 44px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
#video_background,
#videoTelefono {
    /*
     * Fuerza a Chrome a tratar el video como parte
     * de la composición de la página.
     */
    filter: brightness(1.00001);
}
.inicio{
    contain: paint;
}

/* SECCIÓN 14 · AJUSTE MÓVIL SEGÚN DISEÑO */
@media (max-width: 768px) {
    body {
        overflow-x: clip;
    }

    .header-h {
        position: relative;
        z-index: 1000;
        height: 72px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .brand-mobile {
        display: block;
        width: 34px;
        height: 34px;
    }

    .brand-mobile img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .menu-toggle {
        position: absolute;
        right: 22px;
        top: 18px;
        width: 38px;
        height: 38px;
        padding: 7px;
        border: 0;
        background: transparent;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 3px;
        background: #111;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-h {
        position: absolute;
        top: 62px;
        left: 16px;
        right: 16px;
        z-index: 1001;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
    }

    .nav-h.is-open {
        display: flex;
    }

    .a-h {
        width: 100%;
        min-height: 44px;
        padding: 11px 14px;
        justify-content: center;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    .inicio {
        display: block;
        height: auto;
        min-height: calc(100svh - 72px);
        padding: 34px 20px 54px;
        background: #fff;
        overflow: hidden;
    }

    #divFondo {
        height: auto;
        min-height: calc(100svh - 160px);
        flex-direction: column;
        justify-content: center;
        gap: 22px;
    }

    .hero-video-desktop {
        display: none;
    }

    #video_background_mobile {
        position: static;
        z-index: 1;
        display: block;
        width: min(80vw, 430px);
        height: auto;
        object-fit: contain;
        transform: none;
        flex: 0 0 auto;
    }

    .contenido {
        position: static;
        justify-content: right;
    }

    .QioraFondo {
        width: min(63vw, 280px);
        max-height: 43svh;
        object-fit: contain;
    }


    .divUnidaNegocio {
        display: flex;
        flex-direction: column;
        min-height: 100svh;
        padding: 72px 30px;
        overflow: hidden;
        background: #fff;
    }

    .botones {
        position: static;
        order: 1;
        width: 100%;
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 6px;
        padding: 0 2px 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .botones button:hover{
        box-shadow: none;
    }
    #btn0:hover, #btn0.activo{
        box-shadow: none;
    }
    #btn1:hover, #btn1.activo{
        box-shadow: none;
    }
    #btn2:hover, #btn2.activo{
        box-shadow: none;
    }
    #btn3:hover, #btn3.activo{
        box-shadow: none;
    }

    .botones::-webkit-scrollbar {
        display: none;
    }

    .botones button {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 12px;
        font-size: 11px;
        border-width: 1px;
        background: transparent;
    }

    .texto,
    .texto.cambiando {
        position: static;
        order: 2;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        padding: 40px 8px;
        transform: none;
    }

    .texto.cambiando {
        transform: translateY(-6px);
    }

    .titulo-logo-img {
        display: block;
        width: min(48vw, 180px);
        margin: 0 auto;
        padding: 0 0 18px;
    }

    .texto p {
        max-width: 350px;
        font-size: 0.78rem;
        line-height: 1.55;
        text-align: center ;
        padding: 10px 17px 0;
    }

    .contenedor {
        order: 3;
        width: 100%;
        max-width: 380px;
        height: clamp(260px, 79vw, 340px);
        margin: 28px auto 0;
    }

    #circulo,
    .imagen-circular {
        display: none;
    }

    .fondo {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        transform: scale(1.02);
    }

    #fondo0 {
        background-image: url('img/Fondo/conecta.png') !important;
    }

    #fondo1 {
        background-image: url('img/Fondo/telecom.png') !important;
    }

    #fondo2 {
        background-image: url('img/Fondo/infra.png') !important;
    }

    #fondo3 {
        background-image: url('img/Fondo/capital.png') !important;
    }

    .fondo.visible {
        transform: scale(1);
    }

    .nosotros-a {
        height: auto;
        min-height: auto;
        padding: 72px 30px;
        background: #000;
    }

    .divNosotros-a {
        width: min(84%, 470px);
        padding: 34px 0;
    }

    .logoBlanco {
        width: 48px;
        padding-bottom: 44px;
    }

    .p-n1 {
        font-size: 0.8rem;
        line-height: 1.65;
        text-align: justify;
    }

    .nosotros-ab {
        height: auto;
        min-height: auto;
        padding: 72px 30px 0;
    }

    .divNosotros-a2 {
        width: 100%;
        max-width: 430px;
    }

    .h-1,
    .h-2 {
        font-size: clamp(34px, 8.5vw, 52px);
    }

    .p-n2 {
        padding: 0 30px;
        font-size: 0.8rem;
        line-height: 1.65;
        text-align: justify;
    }

    .nosotros {
        position: relative;
        height: 560px;
        min-height: 560px;
        overflow: hidden;
        align-items: center;
    }

    .divNosotros-a1 {
        position: relative;
        width: min(92%, 500px);
    }

    .telefono {
        z-index: 1;
    }

    .telefono-d {
        width: min(64vw, 250px);
    }

    .orbita {
        top: 50%;
        left: 50%;
        width: min(84vw, 410px);
        height: min(84vw, 410px);
        transform: translate(-50%, -50%);
        z-index: 2;
        pointer-events: none;
    }

    .contacto {
        height: auto;
        min-height: auto;
        padding: 64px clamp(30px, 9vw, 44px) 72px;
        transform: none;
        background: #fff;
    }

    .footer {
        width: 100%;
        max-width: 520px;
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .footer-section,
    .logo-contact {
        display: block;
        width: 100%;
        overflow-wrap: anywhere;
        padding: 0;
    }

    .footer-section > br {
        display: none;
    }

    .footer-section h3 {
        margin: 0 0 10px;
    }

    .footer-section.jobs {
        margin-top: 12px;
    }

    .footer-section.jobs table {
        margin-top: 22px;
    }

    .footer-section.jobs > a:last-child {
        margin-top: 28px;
    }

    .footer-section h3 {
        font-size: 0.95rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.78rem;
        line-height: 1.55;
    }

    .logo1 {
        width: min(155px, 42vw);
        height: auto;
        max-width: 100%;
        margin: 0 0 28px;
    }

    .iconoSocial {
        width: 34px;
        height: 34px;
    }

    .gif {
        width: min(42vw, 170px);
    }

    #btnScrollTop {
        right: 20px;
        bottom: 65px;
        min-width: 48px;
        min-height: 48px;
        padding: 8px 14px;
    }
}

@media (max-width: 380px) {
    .botones button {
        padding-inline: 10px;
        font-size: 10px;
    }

    .inicio {
        padding-inline: 14px;
    }

    .h-1,
    .h-2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .QioraFondo {
        width: 95vw;
        max-width: 520px;
        max-height: none;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    /* Teléfono más grande */
    .telefono-d {
        width: min(72vw, 360px);
        height: auto;
    }

    .burbuja:nth-child(1) {
    right: 69%;
    top: 70%;
    width: 25%;
    animation: orbt1 6s linear infinite;
}

.burbuja:nth-child(2) {
    top: 22%;
    right: 84%;
    width: 14%;
    animation: orbt3 5s linear infinite;
}

.burbuja:nth-child(3) {
    top: 76%;
    right: 8%;
    width: 20%;
    animation: orbt2 8s linear infinite;
}

.burbuja:nth-child(4) {
    bottom: 104%;
    right: 16%;
    width: 14%;
    animation: orbt1 5s linear infinite;
}

.burbuja:nth-child(5) {
    bottom: 91%;
    right: 55%;
    width: 20%;
    animation: orbt2 8s linear infinite;
}

.burbuja:nth-child(6) {
    top: 100%;
    left: 43%;
    width: 16%;
    animation: orbt3 5s linear infinite;
}

.burbuja:nth-child(7) {
    top: 16%;
    left: 72%;
    width: 25%;
    animation: orbt1 6s linear infinite;
}

}
/* 
.secuencia-scroll {
    display: none;
    position: relative;
    height: 220vh;
    background-color: #f8f9f7;
}

.secuencia-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#videoTelefono {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inicio,
.secuencia-sticky,.secuencia-sticky-escritorio {
    contain: paint;
}

.secuencia-scroll-escritorio {
    display: block;
    position: relative;
    height: 220vh;
    background-color: #f8f9f7;
}

.secuencia-sticky-escritorio {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#videoEscritorio {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#video_background,
#videoTelefono, #videoEscritorio {
   
    filter: brightness(1.00001);
} */
.secuencia-scroll {
    position: relative;
    height: 220svh;
    background: #fff;
}

.secuencia-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
    contain: none;
}

#videoScroll {
    display: block;
    width: 100vw;
    height: 100svh;
    object-fit: cover;
    object-position: center;
}
#videoScroll {
    /*
     * Fuerza a Chrome a tratar el video como parte
     * de la composición de la página.
     */
    filter: brightness(1.00001);
}
.inicio,
.secuencia-sticky {
    contain: none;
}

@media (max-width: 768px) {
    .secuencia-scroll {
        /* 100svh visibles + 160svh de recorrido para controlar los 15 s */
        height: 260svh;
    }
}

/* SECCIÓN 15 · ESCALA RESPONSIVA GENERAL
 * No modifica la sección de Unidades de negocio.
 */
@media (min-width: 769px) {
    .a-h {
        font-size: clamp(17px, 0.9vw, 23px);
    }

    .divNosotros-a {
        width: min(64vw, 1280px);
        max-width: none;
    }

    .p-n1 {
        font-size: clamp(17px, 1.1vw, 24px);
        line-height: 1.7;
    }

    .divNosotros-a2 {
        width: min(58vw, 1100px);
        max-width: none;
    }

    .h-1,
    .h-2 {
        font-size: clamp(52px, 3.8vw, 86px);
    }

    .p-n2 {
        font-size: clamp(16px, 1vw, 22px);
        line-height: 1.7;
    }

    .footer {
        width: min(82vw, 1500px);
        display: grid;
        grid-template-columns: minmax(240px, 0.7fr) minmax(420px, 1.3fr);
        gap: clamp(60px, 7vw, 150px);
        align-items: start;
    }

    .footer-section,
    .logo-contact {
        width: 100%;
        padding-left: 0;
    }

    .footer-section h3 {
        font-size: clamp(18px, 1vw, 24px);
    }

    .footer-section p,
    .footer-section a {
        font-size: clamp(16px, 0.9vw, 20px);
        line-height: 1.6;
    }

    .logo1 {
        width: clamp(180px, 12vw, 260px);
        height: auto;
    }
}

@media (max-width: 768px) {
    .inicio {
        height: calc(100svh - 72px);
        min-height: 0;
        padding: clamp(14px, 2.5svh, 28px) 14px clamp(16px, 3svh, 30px);
        overflow: hidden;
    }

    #divFondo {
        width: 100%;
        height: 100%;
        min-height: 0;
        gap: clamp(8px, 1.8svh, 18px);
        justify-content: center;
    }

    #video_background_mobile {
        width: min(80vw, 42svh, 430px);
        max-height: 23svh;
    }

    .contenido {
        width: 100%;
        justify-content: center;
    }

    .QioraFondo {
        width: min(88vw, 43svh, 520px);
        max-width: 100%;
        max-height: 55svh;
        margin: 0 auto;
        object-fit: contain;
    }

    .a-h {
        font-size: clamp(14px, 3.8vw, 16px);
    }

    .divNosotros-a {
        width: min(90%, 620px);
    }

    .p-n1 {
        font-size: clamp(14px, 3.9vw, 17px);
        line-height: 1.7;
    }

    .h-1,
    .h-2 {
        font-size: clamp(32px, 10vw, 48px);
    }

    .p-n2 {
        padding-inline: clamp(0px, 4vw, 20px);
        font-size: clamp(14px, 3.9vw, 17px);
        line-height: 1.7;
    }

    .footer-section h3 {
        font-size: clamp(16px, 4.4vw, 19px);
    }

    .footer-section p,
    .footer-section a {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.65;
    }

    #videoScroll {
        transform: scale(1.12);
        transform-origin: center center;
    }
}

/* Tipografía responsiva de Unidades de negocio.
 * Solo cambia letras; no altera la animación ni su distribución.
 */
@media (min-width: 769px) {
    #idUnidadNegocio .botones button {
        font-size: clamp(18px, 1.05vw, 24px);
    }

    #idUnidadNegocio .texto p {
        font-size: clamp(17px, 1vw, 22px);
        line-height: 1.65;
    }
}

@media (max-width: 768px) {
    #idUnidadNegocio .botones button {
        font-size: clamp(12px, 3.2vw, 14px);
    }

    #idUnidadNegocio .texto p {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.65;
    }
}
