@charset "UTF-8";

* { box-sizing: border-box; }

body, input, textarea, button, select {
    font-family: 'Montserrat', 'Gotham', system-ui, -apple-system, sans-serif;
}

body {
    margin:0;    
    font-size:10px;
    color:var(--oScriptsColor2);
    font-weight: 400;
    overflow-x: hidden;
}

* {
-webkit-tap-highlight-color: transparent;
}
.center { text-align: center; }
.right { text-align: right; }
.left { text-align: right; }

input, textarea {
    box-shadow: none !important;
    outline: 0;
}
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #323031 inset !important;
  -webkit-text-fill-color: white !important;
}

a { text-decoration:none; }

h1, h2, h3, h4, h5, h6, p {
    font-weight: normal;
    margin: 0;
    font-size: 1.4em;
    line-height: 1.5em;
}

img {
    max-width:100%;
}

.table { display: table; width: 100%; height: 100%; }
.cell { display: table-cell; vertical-align: middle; }
.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nmt { margin-top: 0 !important; }
.nmb { margin-bottom: 0 !important; }
.npt { padding-top: 0 !important; }
.npb { padding-bottom: 0 !important; }


.video-responsive {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
    }
.video-responsive iframe, .video-responsive object, .video-responsive embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}


.espacio1 { height: 1em; }
.espacio2 { height: 2em; }
.espacio3 { height: 3em; }
.espacio4 { height: 4em; }
.espacio5 { height: 5em; }
.espacio6 { height: 6em; }
.espacio7 { height: 7em; }
.espacio8 { height: 8em; }
.espacio9 { height: 9em; }
.espacio10 { height: 10em; }

.hidden {
    overflow: hidden;
}
.hiddenX {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 141em;
    padding: 0 8em;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.columnas,
.items {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5em;
}
.columnas .columna,
.items .item {
    padding: 1.5em;
    flex: 0 0 50%;
    max-width: 50%;
}

p {
    font-size: 2.2em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
}


.boton {
    display: inline-block;
    border-radius: 1em;
    position: relative;
    transition: 0.3s all;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    min-width: 25em;
    text-align: center;
}

.boton::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    transition: 0.3s all;
}
.boton span {
    position: relative;
    font-size: 2.2em;
    line-height: 1.3em;
    font-weight: 600;
    color: #ffffff;
    padding: 1.2em 1.8em;
    display: block;
    transition: 0.3s all;
}
.boton span svg {
    display: inline-block;
    vertical-align: middle;
    margin-top: -0.3em;
    max-width: 1.4em;
    max-height: 1.4em;
    margin: 0.3em;
}
.boton span svg path {
    fill: #ffffff;
    transition: all 0.3s;
}
.boton:hover::before {
    opacity: 0;
}
.boton:hover span {
    color: #804A8A;
}
.boton:hover span svg path {
    fill: #804A8A;
}

.botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-end;
    margin: 0 -1.3em;
}
.botones .boton {
    margin: 1.3em;
}

section {
    padding: 15em 0;
    background: #1E1E1E;
    margin: 0;
    position: relative;
}
section.temaB {
    background: #cccccc;
}

.fondocontainer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

header {
    padding: 6em 0 14em;
    background: rgb(30,30,30);
    background: linear-gradient(180deg, rgba(30,30,30,1) 0%, rgba(20,20,20,1) 100%);
    min-height: 84.7em;
    position: relative;
    overflow: hidden;
}
header.hb {
    min-height: 0;
}
header.hb h1 {
    margin: 0 0 0.3em;
}
header .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 13em;
}
header nav {
    margin: 0 -2.5em;
}
header nav a {
    font-size: 1.8em;
    color: #808080;
    margin: 1em 1.5em;
    transition: all 0.3s;
}
header nav a:hover {
    color: #ffffff;
}
header nav a.activo {
    color: #9380E1;
}
header h1 {
    font-size: 7.3em;
    line-height: 1.1em;
    font-weight: 600;
    color: #ffffff;
    max-width: 8.3em;
    margin: 0.7em 0;
}
header h1 strong {
    font-weight: 600;
    background: -webkit-linear-gradient(left, #804A8A, #56689F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
header p {
    font-size: 3.0em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
    max-width: 21em;
}
header .foto {
    position: absolute;
    right: 0;
    bottom: 0;
}
header .foto img {
    width: 90.9em;
    max-width: none;
}
.trama {
    position: absolute;
    right: 50%;
    top: -30em;
    width: 81em;
    height: 81em;
    transform: translateX(-60em);
    background: url(../img/e94cec60.png) center no-repeat;
    background-size: cover;
}

.titulo {
    font-size: 4em;
    line-height: 1.2em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1em;
}

#queofrecemos .items {
    justify-content: center;
    margin: 0 -1.5em;
    align-items: stretch;
}
#queofrecemos .items .item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.5em;
}
#queofrecemos .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
    height: 100%;
}
#queofrecemos .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    padding: 9em 6em 8em;
    text-align: center;
    height: 100%;
}
#queofrecemos .items .item .bloque h4 {
    font-size: 2.7em;
    line-height: 1.2em;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}
#queofrecemos .items .item .bloque h5 {
    font-size: 2.0em;
    line-height: 1.2em;
    font-weight: 600;
    color: #9380E1;
    border: 2px solid #9380E1;
    border-radius: 2em;
    padding: 0.7em;
}
#queofrecemos .items .item .bloque p {
    font-size: 1.8em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
    max-width: 60em;
    margin: 0 align;
}

#queofrecemos .items .item .bloque .boton span {
    font-size: 2.0em;
    font-weight: 500;
    padding: 1.0em 1.8em;
}


#porque .items {
    justify-content: center;
}
#porque .items .item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 1.2em;
}

#porque .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
}
#porque .items .item .bloque {
    background: #171717;
    height: 54.3em;
    position: relative;
    border-radius: 4em;
    overflow: hidden;
}

#porque .items .item .bloque .foto {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
#porque .items .item .bloque .foto::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(23,23,23);
    background: linear-gradient(0deg, rgba(23,23,23,1) 0%, rgba(23,23,23,0.5) 100%); 
}
#porque .items .item .bloque .foto img {
    width: 100%;
}
#porque .items .item .bloque .txt {
    position: absolute;
    bottom: 2em;
    left: 0;
    width: 100%;
    height: 20em;
    display: flex;
    align-items: center;
}

#porque .items .item .bloque p {    
    font-size: 2.1em;
    line-height: 1.3em;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    padding: 2em;
}
#porque .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 22em;
    height: 1.7em;
    transform: translateX(-11em);
    border-radius: 1000px 1000px 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    z-index: 10;
}




#beneficios .titulo {
    font-size: 4.9em;
}
#beneficios .columnas {
    align-items: center;
}
#beneficios .columnas .columna.izq {
    flex: 0 0 55%;
    max-width: 55%;
}
#beneficios .columnas .columna.der {
    flex: 0 0 45%;
    max-width: 45%;
}
#beneficios  .foto {
    width: 54.3em;
    height: 54.3em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    border-radius: 100000px;
    position: relative;
}
#beneficios .foto img {
    width: 78.9em;
    max-width: 50vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#beneficios ul {
    list-style: none;
    padding: 0;
}
#beneficios ul li {
    font-size: 2.2em;
    line-height: 1.2em;
    color: #ffffff;
    padding: 0 0 0 3em;
    margin: 2.5em 0;
    position: relative;
    text-align: left;
}
#beneficios ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.13em;
    height: 2.13em;
    background: url(../img/495ae1f8.png) center no-repeat;
    background-size: cover;
}


.videocontainer {
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.videocontainer .videolinea {
    padding: 0.2em;
    border-radius: 4em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    width: 100%;
    height: 58.6em;
}
.videocontainer .video {
    width: 100%;
    height: 100%;
    background: url(../img/8fc97730.jpg) center no-repeat;
    background-size: cover;
    border-radius: 4em;
    position: relative;
    cursor: pointer;
}
.videocontainer .video::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.7;
    border-radius: 4em;
    transition: all 0.3s;
}

.videocontainer .video:hover::before {
    opacity: 0.3;
}
.videocontainer .video .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 10.6em;
    height: 10.6em;
    padding: 0.2em;
    border-radius: 100000px;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    transition: all 0.3s;
    transform-origin: center;
}
.videocontainer .video .play div {
    background: #171717;
    width: 100%;
    height: 100%;
    border-radius: 100000px;
    position: relative;
    transition: all 0.3s;
}
.videocontainer .video:hover .play {
    transform: translate(-50%,-50%) scale(1.2);
}
.videocontainer .video:hover .play div {
    background: #ffffff;
}
.videocontainer .video .play div svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin-left: 0.3em;
    width: 3em;
}
.videocontainer .video::after {
    display: none;
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 84.8em;
    height: 13.4em;
    transform: translateX(-50%);
    background: url(../img/21c7717c.png) center no-repeat;
    background-size: cover;
    max-width: 100vw;
}



.videocontainer .bloque {
    position: absolute;
    left: 2em;
    bottom: 2em;
    right: 2em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 3em 5em;
    border-radius: 2.5em;
    z-index: 10;
}
.videocontainer .bloque p {
    font-size: 2.6em;
    line-height: 1.3em;
    font-weight: 500;
    color: #ffffff;
}
#poreso .trama {
    left: 50%;
    top: -3em;
    width: 81em;
    height: 81em;
    transform: translate(-50%,-50%);
    margin-left: -50em;
    margin-top: 26em;
}

#licencias .items {
    justify-content: center;
}
#licencias .items .item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.4em;
}
.bloquelinea {
    background: rgb(132,132,132);
    background: linear-gradient(180deg, rgba(132,132,132,1) 0%, rgba(23,23,23,1) 80%); 
    padding: 0.2em;
    border-radius: 4.2em;
}
.bloquelinea.gold {
    background: rgb(226,188,89);
    background: linear-gradient(180deg, rgba(226,188,89,1) 0%, rgba(23,23,23,1) 80%);
}
.bloquelinea.black {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(23,23,23,1) 80%);
}
#licencias .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    text-align: center;
}
#licencias .items .item .bloque .hexagono {
    margin-top: -3em;
}
#licencias .items .item .bloque .info {
    padding: 1em 4em 4em;
}
#licencias .items .item .bloque .info .dato {
    background: rgb(152,152,152);
background: linear-gradient(90deg, rgba(152,152,152,1) 0%, rgba(187,187,187,1) 100%);
    padding: 0.2em;
    border-radius: 2.5em;
    margin: 1.5em 0;
}

#licencias .items .item .bloque .info .dato div {
    border-radius: 2.3em;
    padding: 1.3em;
    background: #171717;
    position: relative;
}
#licencias .items .item .bloque .info .dato.icono div {
    padding-top: 3em;
}
#licencias .items .item .bloque .info .dato div img {
    position: absolute;
    left: 50%;
    top: -2.8em;
    width: 5.5em;
    transform: translateX(-50%);
}
#licencias .items .item .bloque .info .dato div p {
    font-size: 2em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
}
#licencias .items .item .bloque h3 {
    font-size: 2.8em;
    line-height: 1.1em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
#licencias .items .item .bloque p.bajada {
    font-size: 1.6em !important;
    line-height: 1.3em !important;
    font-weight: 400 !important;
    color: #56689F !important;
}

#licencias .items .item .bloque .incluye {
    padding: 4em 4em 6em;
    border-top: 1px solid #272727;
}
#licencias .items .item .bloque .incluye h4 {
    font-size: 2em;
    line-height: 1.1em;
    font-weight: 700;
    color: #6D80BC;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}
#licencias .items .item .bloque .incluye p {
    font-size: 1.7em;
    line-height: 1.15em;
    font-weight: 300;
    color: #ffffff;
}
#licencias .items .item .bloque .incluye p span {
    color: #56689F;
}


#comofunciona {
    background: #141414;
}
#comofunciona .columnas {
    align-items: center;
}
#comofunciona .columnas .columna.izq {
    flex: 0 0 30%;
    max-width: 30%;
}
#comofunciona .columnas .columna.der {
    flex: 0 0 70%;
    max-width: 70%;
}
#comofunciona .columnas .columna.der .subcolumnas {
    display: flex;
    align-items: center;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto {
    padding: 3em 3em 3em 6.5em;
    position: relative;
    min-height: 11em;
    display: flex;
    align-items: center;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);    
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto:last-of-type::before {
    display: none;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto p {
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 400;
    color: #ffffff;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto .num {
    width: 4.6em;
    height: 4.6em;
    background: rgb(199,187,233);
    background: linear-gradient(180deg, rgba(199,187,233,1) 0%, rgba(147,128,225,1) 80%);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10000px;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto .num span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 {
    padding-left: 10em;
    padding-right: 6em;
    height: 100%;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 .num {
    left: 3em;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);   
}


#comofunciona .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-140em, -40em);
}
#comofunciona .trama.t2 {
    top: 50%;
    transform: translate(60em, -40em);
}

#clientes .slider .logo {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;    
    border-radius: 2.2em;
}
#clientes .slider .logo div {
    min-height: 14em;
    padding: 0 3em;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    border-radius: 2em;
}
#clientes .slider .paginacion {
    margin-top: 10.3em;
    padding-top: 3em;
    height: 7em;
}
#clientes .slider .paginacion::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 1em;
    transform: translateX(-50%);
    width: 84.2em;
    height: 10.3em;
    background: url(../img/ce6d13d4.png) center no-repeat;
    background-size: cover;
    max-width: 100vw;
}

#sabermas {
    /*overflow: hidden;*/
}

#sabermas .fondocontainer {
    overflow: auto;
}
#sabermas .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4.2em;
}
#sabermas .bloque {
    background: url(../img/6427fe3c.jpg) center no-repeat;
    background-size: cover;
    padding: 7em;
    border-radius: 4em;
    position: relative;
}
#sabermas .bloque .titulo {
    font-size: 4.3em;
    margin: 0;
}
#sabermas .bloque p {
    font-size: 2.5em;
}
#sabermas .bloque .content {
    max-width: 50%;
}
#sabermas .bloque .foto {
    position: absolute;
    left: 50%;
    bottom: 0;
}
#sabermas .bloque .foto img {
    width: 67.8em;
    max-width: none;
    display: block;
}
#sabermas .boton span {
    padding: 1.0em 1.8em;
}
#sabermas .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-90em, -70em);
}

#consulta .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-10em, -50%);
}
#consulta .container {
    max-width: 77em;
}
#consulta .misc {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84.2em;
    height: 10.3em;
    background: url(../img/7cd16096.png) center no-repeat;
    background-size: cover;
    max-width: 100vw;
}



footer {
    background: rgb(30,30,30);
    background: linear-gradient(0deg, rgba(30,30,30,1) 0%, rgba(20,20,20,1) 100%);
    padding: 3em 0;
}
footer .columnas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -2em;
}
footer .columnas .columna {
    flex: 0 0 auto;
    max-width: none;
    padding: 2em;
}
footer .redes {
    display: flex;
    align-items: center;
}
footer .redes span {
    font-size: 2em;
    line-height: 1.15em;
    font-weight: 500;
    color: #ffffff;
    margin-right: 1em;
}
footer .redes .social {
    padding: 1.3em;
}
footer .redes .social svg .normal {
    transition: all 0.3s;
    fill:url(#svgdegrade);
    
    transition: all 0.3s;
}
footer .redes .social svg .hover {
    fill:url(#svgdegrade2);
    transition: all 0.3s;
    opacity: 0;
}
footer .redes .social:hover svg .normal {
    opacity: 0;
}
footer .redes .social:hover svg .hover {
    opacity: 1;
}
footer .botonsubir {
    width: 9.6em;
    height: 9.6em;
    background: #191919;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
footer .botonsubir svg {
    width: 3.7em;
    display: block;
}
footer .botonsubir:hover {
    background: #ffffff;
}

#svgdefs {
    display: block;
    height: 0;
    visibility: hidden;
}

#botonwhatsapp {
    position: fixed;
    left: 3em;
    top: 3em;
    width: 7.1em;
    height: 7.1em;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(147,128,225,1) 100%);
    border-radius: 1000px;
    z-index: 100000;
}
#botonwhatsapp::before {
    content: "";
    position: absolute;
    border-radius: 1000px;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    background: rgb(199,187,233);
    background: linear-gradient(180deg, rgba(199,187,233,1) 0%, rgba(147,128,225,1) 100%);
}
#botonwhatsapp span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background: rgba(255,255,255,0);
    transition: all 0.3s;
}
#botonwhatsapp span svg {
    display: block;
    position: relative;
    width: 3.9em;
}
#botonwhatsapp span svg path {
    fill: #ffffff;
    transition: all 0.3s;
}
#botonwhatsapp:hover span {
    background: #ffffff;
}
#botonwhatsapp:hover span svg path {
    fill: #804A8A;
}

.flechas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
.flechas svg {
    width: 25em;
}
.flechas .st0 {
    fill: #252525;
}


.flechas .anim1,
.flechas .anim2,
.flechas .anim3,
.flechas .anim4 {
    animation-name: flechas;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
.flechas .anim1 { animation-delay: 0s; }
.flechas .anim2 { animation-delay: 0.3s; }
.flechas .anim3 { animation-delay: 0.6s; }
.flechas .anim4 { animation-delay: 0.9s; }

@keyframes flechas {
  0%   {opacity: 0}
  25%  {opacity: 1}
  50%  {opacity: 0}
  100% {opacity: 0}
}

#porque .flechas,
#queofrecemos .flechas {
    margin-left: -62em;
    margin-top: 30em;
}
#poreso .flechas {
    margin-left: 65em;
    margin-top: 30em;
}
#licencias .flechas {
    margin-left: -62em;
    margin-top: 45em;
}

#clientes .flechas {
    margin-left: 62em;
    margin-top: 5em;
}
#sabermas .flechas {
    margin-left: -62em;
    margin-top: 50em;
}

#popupConsultas {
    background: #1E1E1E;
    border-radius: 4em;
    max-width: 125em;
    padding: 0;
    overflow: hidden;
}

#popupConsultas .columnas .columna.izq {
    flex: 0 0 32%;
    max-width: 32%;
    padding: 6em 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
}
#popupConsultas .columnas .columna.der {
    flex: 0 0 68%;
    max-width: 68%;
    padding: 10em 4em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#popupConsultas h4 {
    font-size: 4em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
    max-width: 6.6em;
}


#popupConsultas .subcolumnas {
    display: flex;
    max-width: 72em;
    flex-wrap: wrap;
}
#popupConsultas .subcolumnas .subcolumna {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 4em;
    position: relative;
}
#popupConsultas .subcolumnas .subcolumna .linea {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgb(128,74,138);
    background: linear-gradient(0deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#popupConsultas h3 {
    font-size: 2.8em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1em;
}
#popupConsultas p {
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 400;
    color: #ffffff;
    margin: 1.2em 0;
}
#popupConsultas p.small {
    font-size: 1.8em;
}
#popupConsultas .boton span {
    font-size: 2em;
}

#popupConsultas::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 51.8em;
    height: 11.4em;
    background: url(../img/b7195406.png) center no-repeat;
    background-size: cover;
}

#desarrollos01 {
    padding-top: 6em;
}
#desarrollos01 .columnas {
    align-items: flex-end;
}
#desarrollos01 .columnas .columna {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    padding: 0 1.5em;
}
#desarrollos01 h5 {
    font-size: 4.9em;
    line-height: 1.1em;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.4em;
}
#desarrollos01 p {
    font-size: 2.8em;
    color: #A271AC;
    font-style: italic;
    margin-bottom: 3em;
}
#desarrollos01 .columnas .columna.der img {
    display: block;
    margin: 0 auto;
    position: relative;
}
#desarrollos01 .columnas .columna.der::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2em;
    transform: translateX(-50%);
    width: 56em; height: 56em;
    border-radius: 100000px;
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}

#desarrollos02 .items {
    margin: 0 -1.6em;
}
#desarrollos02 .items .item {
    padding: 0 1.6em;
}

#desarrollos02 .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
    height: 100%;
}
#desarrollos02 .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    padding: 5.6em 6em;
    height: 100%;
    position: relative;
}
#desarrollos02 .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5em;
    bottom: 5em;
    width: 1.6em;
    border-radius: 0 10em 10em 0;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#desarrollos02 .items .item .bloque p {
    font-size: 2.2em;
    font-weight: 500;
}

#desarrollos02 .titulo {
    text-align: center;
    margin-bottom: 0;
}

#contacto .items {
    margin: 0 -2em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#contacto .items .item {
    padding: 2em;
    flex: 0 0 auto;
    max-width: 100%;
    padding-left: 10em;
    position: relative;
}
#contacto .items .item .icono {
    position: absolute;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    width: 6em;
    height: 6em;
    border-radius: 1000px;
}
#contacto .items .item .icono img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#contacto .items .item p {
    font-size: 2em;
}
#contacto .items .item p a {
    color: #ffffff;
}
#contacto .items .item p {
}

#map {
    height: 60em;
}


#licencias .videocontainer {
    height: 66em;
    position: relative;
}
#licencias .videocontainer .video {
    background-image: url(../img/a4524cf0.jpg);
}
#licencias .videocontainer .videolinea {
    max-width: none;
    height: 100%;
}
#licencias .videocontainer .bloque {
    left: 3em;
    top: 3em;
    bottom: 3em;
    transform: none;
    border-radius: 2em;
    display: flex;
    align-items: center;
    width: 40em;

}
#licencias .videocontainer .video .play {
    margin-left: 20em;
}
#licencias .videocontainer .bloque h4 {
    font-size: 4em;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1em;
    margin-bottom: 0.5em;
}
#licencias .videocontainer .bloque p {
    font-size: 3em;
    font-weight: 300;

}


#licencias #comohaces .trama {
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(20em, -20em);
}
#licencias #comohaces h2 {
    font-size: 4.5em;
}
#licencias #comohaces p {
    font-size: 3em;
    max-width: 27em;
    text-align: center;
    margin: 0 auto;
    font-weight: 300;
}


#licencias #comohaces .items {
    margin: 0 -1.6em;
    margin-top: 7em;
}
#licencias #comohaces .items .item {
    padding: 1.6em;
    flex: 0 0 25%;
    max-width: 25%;
}

#licencias #comohaces .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 3.5em;
    height: 100%;
}
#licencias #comohaces .items .item .bloque {
    background: #171717;
    border-radius: 3.3em;
    padding: 5.6em 3em;
    height: 100%;
    position: relative;
}
#licencias #comohaces .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 6em;
    right: 6em;
    bottom: 0em;
    height: 1.6em;
    border-radius: 10em 10em 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#licencias #comohaces .items .item .bloque img {
    margin-bottom: 3em;

}
#licencias #comohaces .items .item .bloque p {
    font-size: 2.2em;
    font-weight: 300;
}



#licencias #comohaces .destacado .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,0) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4.2em;
}
#licencias #comohaces .destacado .bloque {
    background: url(../img/4ddc3ff3.png) center no-repeat #1E1E1E;
    background-size: cover;
    padding: 7em;
    border-radius: 4em;
    position: relative;
}
#licencias #comohaces .destacado .bloque .titulo {
    font-size: 4.3em;
    margin: 0;
}
#licencias #comohaces .destacado .bloque p {
    font-size: 3em;
    font-weight: 300;
    text-align: center;
    max-width: 32em;
}
#licencias #comohaces .destacado .bloque p.grande {
    font-size: 3.3em;
    font-weight: 500;
}
#licencias #comohaces .destacado .bloque p strong {
    font-weight: 500;
}


#licencias #comentariosclientes .items {
    margin: 0 -1.6em;
    margin-top: 0em;
}
#licencias #comentariosclientes .items .item {
    padding: 2.4em 1.6em;
    flex: 0 0 50%;
    max-width: 50%;
}

#licencias #comentariosclientes .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 3.5em;
    height: 100%;
}
#licencias #comentariosclientes .items .item .bloque {
    background: #171717;
    border-radius: 3.3em;
    padding: 16em 7em 18em;
    height: 100%;
    position: relative;
    text-align: left;
}
#licencias #comentariosclientes .items .item .bloque .comillas {
    position: absolute;
    right: 2em;
    top: -6em;
    width: 21.1em;
    display: block;
}
#licencias #comentariosclientes .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 6em;
    right: 6em;
    bottom: 0em;
    height: 1.6em;
    border-radius: 10em 10em 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(-90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#licencias #comentariosclientes .items .item .bloque p {
    font-size: 2.7em;
    font-weight: 300;
}
#licencias #comentariosclientes .items .item .bloque .info {
    position: absolute;
    bottom: 6em;
    left: 6em;
    right: 6em;
    padding: 0 0 0 10em;
    margin-top: 6.5em;
    min-height: 8.4em;
    display: flex;
    align-items: center;
}
#licencias #comentariosclientes .items .item .bloque .info img {
    position: absolute;
    left: 0;
    top: 0;
    width: 8.4em;
    border-radius: 100000px;
}
#licencias #comentariosclientes .items .item .bloque .info h6 {
    font-size: 2.1em;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}
#licencias #comentariosclientes .items .item .bloque .info p {
    font-size: 2em;
    line-height: 1.2em;
    font-weight: 400;
    color: #6D80BC;
    font-style: italic;
    margin: 0;
}

.casoexito {
    padding: 4.5em 4.5em;
    border: 2px solid #804A8A;
    border-radius: 4em;
}
.casoexito .columnas .columna {
    padding: 2em;
}
.casoexito h4 {
    font-size: 3em;
    line-height: 1.2em;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5em;
}
.casoexito p {
    font-size: 2.3em;
    line-height: 1.2em;
    font-weight: 300;
    color: #ffffff;
}
.casoexito .columna.full {
    flex: 0 0 100%;
    max-width: 100%;
}
.casoexito .linea {
    width: 100%;
    height: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(-90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    margin: 4em 0;
}
.casoexito .logo {
    display: flex;
    align-items: center;
    padding: 3em 6em;
    border: 2px solid #804A8A;
    border-radius: 4em;
    position: relative;
    min-height: 19em;
}

.casoexito .logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3em;
  bottom: 3em;
  width: 1.6em;
  border-radius: 0 10em 10em 0;

  background: rgb(128,74,138);
  background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
.casoexito .logo span {
    font-size: 2.7em;
    font-weight: 300;
    color: #ffffff;
    margin-right: 1em;
}


#faq_desplegable {
    padding: 10em 0;
}

/* ---------------------- Media Queries ------------------ */

@media (max-width: 1850px) {
    body {
        font-size: 9.5px;
    }
}
@media (max-width: 1800px) {
    body {
        font-size: 9px;
    }    
}

@media (max-width: 1700px) {
    body {
        font-size: 8.5px;
    }
}

@media (max-width: 1650px) {    
}

@media (max-width: 1600px) {
    body {
        font-size: 8px;
    }
}

@media (max-width: 1500px) {
    
}

@media (max-width: 1400px) {
    header .foto {
        height: auto;
        left: 50%;
    }
}

@media (max-width: 1300px) { 
    #botonwhatsapp {
        left: auto;
        right: 3em;
        top: auto;
        bottom: 3em;
    }
}

@media (max-width: 1250px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1150px) {
}

@media (max-width: 1100px) {

}

@media (max-width: 1050px) {
    .videocontainer {
        font-size: 0.9em;
    }
}

@media (max-width: 1000px) {
    #licencias .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #comofunciona .columnas .columna.izq,
    #comofunciona .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #comofunciona .columnas .columna.izq {
        text-align: center;
    }
    #comofunciona .columnas .columna.der .subcolumnas {
        flex-wrap: wrap;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 {
        padding-left: 7em;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 .num {
        left: 0;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto:last-of-type::before {
        display: block;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3::before {
        display: none;
    }
    #sabermas .bloque {
        padding-bottom: 0;
        text-align: center;
    }
    #sabermas .bloque .content {
        max-width: 100% !important;
    }
    #sabermas .bloque .foto {
        position: relative;
        left: auto;
        bottom: auto;
    }
    #sabermas .bloque .foto img {
        margin: 0 auto;
    }
    #sabermas .bloque .titulo {
        font-size: 3.8em;
    }
    #sabermas .bloque .foto {
        display: flex;
        justify-content: center;
    }
    #queofrecemos .items .item {
        flex: 0 0 100%;
        max-width: 70em;
    }
    header nav a {
        margin: 1em 1em;
    }
    #sabermas .bloque .foto {
        transform: translateX(0) !important;
    }
    #licencias #comohaces .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #licencias #comentariosclientes .items .item .bloque {
        padding: 12em 6em 18em;
    }
    #licencias #comentariosclientes .items .item .bloque p {
        font-size: 2.5em;
    }
    #licencias #comentariosclientes .items .item .bloque .comillas {
        width: 18em;
    }

    .casoexito .columnas .columna {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 950px) {
    .botonMenuMobile,
    #menuMobile {
        display: block;
    }
    header {
        padding: 10em 0 0;
    }

    header .foto {
        position: relative;
        left: auto;
        top: auto;
        margin-top: -10em;
    }    
    header .foto img {
        display: block;
        margin-left: auto;
        margin-right: 0;
    }
    header h1 {
        max-width: none;
    }
    header p {
        max-width: none;
    }
    header h1 {
        font-size: 6.5em;
    }

    #porque .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #beneficios {
        text-align: center;
    }
    #beneficios .columnas .columna.izq,
    #beneficios .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #beneficios .foto {
        margin: 0 auto;
        font-size: 0.9em;
    }
    #beneficios .foto img {
        max-width: none;
    }
    .videocontainer {
        font-size: 0.8em;
    }
    
    #popupConsultas .columnas .columna.izq,
    #popupConsultas .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #popupConsultas .columnas .columna.izq {
        padding: 14em 8em 6em;
        justify-content: flex-start;
    }
    #popupConsultas .columnas .columna.der {
        padding: 6em 8em 8em;
        justify-content: flex-start;
    }
    #popupConsultas .subcolumnas {
        max-width: none;
        margin: 0 -4em;
    }
    #popupConsultas h4 {
        max-width: none;
    }
    #popupConsultas::after {
        font-size: 0.8em;
    }
    #beneficios ul {
        max-width: 60em;
        margin: 0 auto;
    }
    header.hb h1 {
        margin: 0 0 2em;
    }
    #desarrollos01 .columnas .columna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #desarrollos01 .columnas .columna {
        text-align: center;
    }
    #desarrollos01 p {
        margin-bottom: 0;
    }
    #desarrollos02 .items .item {
        flex: 0 0 100%;
        max-width: 80em;
        margin: 0 auto 2em;
    }
}

@media (max-width: 900px) {
    header nav {
        display: none;
    }
    #clientes {
        overflow: hidden;
    }
    footer {
        padding-right: 7em;
    }
    #licencias #comentariosclientes .items .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #licencias #comohaces h2 {
        font-size: 4em;
    }
    #licencias #comohaces p {
        font-size: 2.5em;
    }
}

@media (max-width: 800px) {
    .container {
        padding: 0 6em;
    }
    #menuPrincipal {
        display: none;
    }
    header h1 {
        font-size: 5.5em;
    }
    header .foto {
        font-size: 0.9em;
    }
    header p {
        font-size: 2.8em;
    }
    header h1 {
        margin-top: 1.0em;
    }
    .titulo {
        font-size: 3.5em;
    }
    #beneficios .foto {
        font-size: 0.8em;
    }
    #beneficios .foto img {
        max-width: 100vw;
    }
    .videocontainer {
        font-size: 0.8em;
    }
    .videocontainer {
        position: relative;
    }
    /*
    .videocontainer .bloque {
        
        left: 50%;
        transform: translateX(-50%);
        top: -10em;
        width: 70em;
        padding: 5em 8em;
        text-align: center;
        max-width: 95%;
    }
    */
    #licencias .videocontainer {
        display: block;
        height: auto;
    }
    #licencias .videocontainer .videolinea {
        height: 66em;
    }
    #licencias .videocontainer .bloque {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
    }
    #licencias .videocontainer .video .play {
        margin-left: 0;
    }

}

@media (max-width: 700px) {
    section {
        padding: 12em 0;
    }
    #licencias .items .item {
        flex: 0 0 100%;
        max-width: 60em;
    }
    .flechas {
        display: none;
    }
    #desarrollos01 h5 {
        font-size: 4em;
    }
    #licencias #comohaces .destacado .bloque {
        padding: 4em;
    }
    #licencias #comohaces .destacado .bloque p,
    #licencias #comohaces .destacado .bloque p.grande {
        font-size: 2.5em;
    }
}



@media (max-width: 650px) {
    #porque .items .item {
        flex: 0 0 100%;
        max-width: 42em;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 4em;
    }
    #sabermas .bloque {
        padding: 6em 6em 0;
    }
    #sabermas {
        overflow: hidden;
    }
    #popupConsultas .subcolumnas .subcolumna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #popupConsultas .subcolumnas .subcolumna .linea {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 0.2em;
        margin: 5em 0;
        background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    }
    .casoexito .logo {
        flex-wrap: wrap;
        font-size: 0.9em;
    }
}

@media (max-width: 550px) {
    header .foto {
        font-size: 0.8em;
    }
    #beneficios .titulo {
        font-size: 3.8em;
    }
    .videocontainer .bloque {
        font-size: 0.9em;
    }
    #queofrecemos .items .item .bloque {
        padding: 6em 3em 5em;
    }
}

@media (max-width: 500px) {
    .videocontainer .bloque {
        font-size: 0.8em;
    }
    #sabermas .bloque .foto {
        font-size: 0.9em;
    }
    #sabermas .bloque {
        padding: 5em 4em 0;
    }
    #desarrollos01 h5 {
        font-size: 3.8em;
    }
    #licencias #comohaces .items .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #licencias #comentariosclientes .items .item .bloque {
        padding: 12em 4em 18em;
    }
    #licencias #comentariosclientes .items .item .bloque .info {
        left: 4em;
        right: 4em;
    }
    .casoexito .logo {
        font-size: 0.8em;
    }
}

@media (max-width: 450px) {
    header .foto {
        font-size: 0.7em;
    }
    #beneficios .foto {
        font-size: 0.7em;
    }
    #sabermas .bloque .foto {
        font-size: 0.8em;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 3em;
    }
    #sabermas .bloque .foto {
        font-size: 0.7em;
    }
}

@media (max-width: 350px) {
}



/* oScripts override */
section,header,footer,.item,.columna,.bloque,.bloquelinea{opacity:1!important;transform:none!important;visibility:visible!important;}

/* Mobile menu */
#menuMobile{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(14,14,14,.98);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:2em;}
#menuMobile.open{display:flex;}
#menuMobile a{font-size:3.5em;color:#fff;font-weight:600;transition:color .2s;}
#menuMobile a:hover,#menuMobile a.activo{color:#9380E1;}
#menuClose{position:absolute;top:3em;right:3em;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}



/* Footer social */
footer .redes .social svg{display:block;width:3em;height:3em;}
footer .redes .social svg path{fill:#804A8A;transition:fill .3s;}
footer .redes .social:hover svg path{fill:#ffffff;}

/* Ribbon */
.ribbon-wrap{overflow:hidden;width:100%;mask-image:linear-gradient(90deg,transparent 0%,black 5%,black 95%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,black 5%,black 95%,transparent 100%);}
.ribbon-track{display:flex;gap:2em;width:max-content;animation:ribbon-scroll 45s linear infinite;}
.ribbon-track:hover{animation-play-state:paused;}
@keyframes ribbon-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.ribbon-logo{flex-shrink:0;background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);padding:.2em;border-radius:2.2em;}
.ribbon-logo>div{min-height:12em;width:22em;padding:0 2em;display:flex;align-items:center;justify-content:center;background:#171717;border-radius:2em;}
.ribbon-logo img{max-height:5em;max-width:100%;opacity:.7;filter:grayscale(1) brightness(2);transition:.3s;}
.ribbon-logo:hover img{opacity:1;filter:none;}
.ribbon-txt{flex-shrink:0;background:linear-gradient(180deg,rgba(128,74,138,.4) 0%,rgba(86,104,159,.4) 100%);padding:.2em;border-radius:2.2em;}
.ribbon-txt>div{min-height:12em;width:22em;padding:0 2em;display:flex;align-items:center;justify-content:center;background:#171717;border-radius:2em;}
.ribbon-txt span{font-size:1.7em;font-weight:600;color:#9380E1;text-align:center;line-height:1.3em;}
.ribbon-txt:hover span{color:#fff;}

/* FAQ */
.desplegable .item{border-bottom:1px solid #2a2a2a;}
.desplegable .item .titulo{cursor:pointer;padding:2.2em 0;font-size:2.2em;font-weight:500;color:#fff;display:flex;justify-content:space-between;align-items:center;user-select:none;gap:1em;}
.desplegable .item .titulo::after{content:'+';color:#9380E1;flex-shrink:0;transition:transform .25s;}
.desplegable .item.open .titulo::after{transform:rotate(45deg);}
.desplegable .item .contenido{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.desplegable .item.open .contenido{max-height:800px;}
.desplegable .item .contenido p{font-size:2em;line-height:1.5em;color:#cccccc;padding-bottom:1em;}

/* Video modal */
.video{cursor:pointer;}
.video-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:999999;align-items:center;justify-content:center;}
.video-modal.open{display:flex;}
.video-modal-inner{position:relative;width:90%;max-width:960px;}
.video-modal-close{position:absolute;top:-4em;right:0;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}
.video-responsive{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;}
.video-responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;}

/* POPUP licencias */
.popup-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:99999;align-items:center;justify-content:center;}
.popup-overlay.open{display:flex;}
.popup-box{background:#1e1e1e;border:1px solid #333;border-radius:4em;padding:6em;max-width:100em;width:90%;position:relative;}
.popup-close{position:absolute;top:2em;right:3em;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}
.popup-box h4{font-size:3em;font-weight:600;margin-bottom:.5em;}
.popup-box .subcolumnas{display:grid;grid-template-columns:1fr 1fr;gap:3em;}
@media(max-width:600px){.popup-box .subcolumnas{grid-template-columns:1fr;}}
.popup-box .subcolumna{padding:3em;background:#171717;border-radius:2.5em;}
.popup-box h3{font-size:2.5em;font-weight:600;margin-bottom:.5em;}
.popup-box .linea{height:1px;background:#333;margin:2em 0;}
.popup-box .small{font-size:1.8em;color:#808080;}

/* Stats counter */
.stats-section{background:#141414;padding:10em 0;border-top:1px solid #2a2a2a;}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2em;}
@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,1fr);}}
.stat-card{text-align:center;padding:4em 2em;background:#1e1e1e;border-radius:3em;border:1px solid #2a2a2a;}
.stat-num{font-size:5em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1em;margin-bottom:.3em;}
.stat-label{font-size:1.8em;color:#808080;line-height:1.3em;}

/* Porque VR cards */
#porque_cards .items{justify-content:center;}
#porque_cards .items .item{flex:0 0 33.333%;max-width:33.333%;padding:1.2em;}
@media(max-width:700px){#porque_cards .items .item{flex:0 0 100%;max-width:42em;}}
#porque_cards .bloquelinea{background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);padding:.2em;border-radius:4em;}
#porque_cards .bloque{background:#171717;height:54.3em;position:relative;border-radius:4em;overflow:hidden;}
#porque_cards .bloque .foto-bg{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;opacity:.5;}
#porque_cards .bloque::before{content:"";position:absolute;left:0;bottom:0;width:100%;height:100%;background:linear-gradient(0deg,rgba(23,23,23,1) 0%,rgba(23,23,23,.4) 100%);z-index:1;}
#porque_cards .bloque::after{content:"";position:absolute;left:50%;bottom:0;width:22em;height:1.7em;transform:translateX(-11em);border-radius:1000px 1000px 0 0;background:linear-gradient(90deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);z-index:3;}
#porque_cards .txt{position:absolute;bottom:2em;left:0;width:100%;z-index:2;display:flex;align-items:center;}
#porque_cards .txt p{font-size:2.1em;line-height:1.3em;font-weight:500;color:#fff;text-align:center;padding:2em;}

/* Industries */
.industrias-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2em;}
@media(max-width:700px){.industrias-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:450px){.industrias-grid{grid-template-columns:1fr;}}
.industria-card{background:#171717;border:1px solid #2a2a2a;border-radius:2.5em;padding:3.5em;transition:border-color .25s,transform .25s;}
.industria-card:hover{border-color:#804A8A;transform:translateY(-.3em);}
.industria-icon{font-size:3.5em;margin-bottom:.5em;display:block;}
.industria-card h3{font-size:2em;font-weight:600;color:#fff;margin-bottom:.5em;}
.industria-card p{font-size:1.7em;color:#808080;line-height:1.4em;}

/* Nosotros page */
.nosotros-hero{display:grid;grid-template-columns:1fr 1fr;gap:6em;align-items:center;}
@media(max-width:800px){.nosotros-hero{grid-template-columns:1fr;}}
.nosotros-foto{border-radius:4em;overflow:hidden;}
.nosotros-foto img{width:100%;display:block;}
.pilares-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2em;}
@media(max-width:700px){.pilares-grid{grid-template-columns:1fr;}}
.pilar{background:#171717;border-radius:2.5em;padding:4em;text-align:center;border:1px solid #2a2a2a;}
.pilar .num{font-size:4em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:block;margin-bottom:.3em;}
.pilar h3{font-size:2em;font-weight:600;margin-bottom:.5em;}
.pilar p{font-size:1.7em;color:#808080;}

/* Contact form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:6em;align-items:start;}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr;}}
.form-field{margin-bottom:2.5em;}
.form-field label{display:block;font-size:1.6em;font-weight:600;color:#9380E1;margin-bottom:.6em;}
.form-field input,.form-field select,.form-field textarea{width:100%;background:#1e1e1e;border:1px solid #333;border-radius:1.2em;padding:1.2em 1.8em;color:#fff;font-size:1.8em;font-family:inherit;outline:none;transition:border-color .2s;box-sizing:border-box;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#9380E1;}
.form-field textarea{resize:vertical;min-height:14em;}
.form-field select{appearance:none;cursor:pointer;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:2em;}
@media(max-width:600px){.form-row{grid-template-columns:1fr;}}
.form-msg{display:none;margin-top:2em;padding:2em 2.5em;border-radius:1.5em;font-size:1.8em;}
.form-msg.ok{background:rgba(0,200,120,.1);border:1px solid rgba(0,200,120,.3);color:#00c878;}
.form-msg.err{background:rgba(220,60,60,.1);border:1px solid rgba(220,60,60,.3);color:#dc3c3c;}
.contact-datos .dato{display:flex;align-items:center;gap:2em;padding:2em 0;border-bottom:1px solid #2a2a2a;font-size:2em;}
.contact-datos .dato img{width:4em;flex-shrink:0;}
.contact-datos .dato a{color:#fff;}
.contact-datos .dato a:hover{color:#9380E1;}

/* 1. VIDEO FIX — video element inside responsive container */
.video-responsive video { position:absolute; top:0; left:0; width:100%; height:100%; background:#000; object-fit:contain; }
.video-modal { background:rgba(0,0,0,.95); }

/* 2. NAV FIX — prevent wrapping/overlap */








/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Industry cards — reduced size */
.industrias-grid { gap:1.5em; }
.industria-card { padding:2.5em 2.5em 2.5em 3.5em; }
.industria-icon { width:3.5em; height:3.5em; border-radius:.8em; margin-bottom:1.2em; }
.industria-icon svg { width:1.8em; height:1.8em; }
.industria-card h3 { font-size:1.7em; }
.industria-card p  { font-size:1.5em; }


/* Visor images fix */
.visor-card .bloque img { 
  max-width:22em; height:18em; object-fit:contain;
  margin:0 auto 2.5em; display:block;
  filter:drop-shadow(0 4px 20px rgba(128,74,138,.3));
}
/* Quest 3 has dark bg — make it blend */
.visor-card:nth-child(2) .bloque img { 
  background: transparent;
  mix-blend-mode: lighten;
}
/* Quest 3S has white bg — keep as is on dark card */
.visor-card:nth-child(3) .bloque img {
  filter: drop-shadow(0 4px 20px rgba(128,74,138,.3)) brightness(.95);
}


/* Visor images — bg fix */
.visor-card .bloque { position: relative; overflow: hidden; }
.visor-card .bloque img {
  max-width: 24em; height: 20em;
  object-fit: contain; display: block;
  margin: 0 auto 2.5em;
}
/* Quest 3: black background image — screen blend makes black transparent */
.visor-q3 .bloque img {
  mix-blend-mode: screen;
  background: transparent;
}
/* Quest 3S: white background image — place on white sub-container */
.visor-q3s .bloque .visor-img-wrap {
  background: #ffffff;
  border-radius: 2em;
  padding: 1em;
  margin-bottom: 2.5em;
  display: flex; align-items: center; justify-content: center;
  height: 20em;
}
.visor-q3s .bloque .visor-img-wrap img {
  max-width: 22em; height: 18em;
  object-fit: contain;
  margin: 0;
}


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* ════════════════════════════════════════════════
   MOBILE MENU + HEADER — DEFINITIVE FIX (last in cascade)
   ════════════════════════════════════════════════ */

/* Header .top layout — make sure logo + hamburger fit on mobile */
header .top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2em !important;
  flex-wrap: nowrap !important;
}
header .top > a:first-child {
  flex-shrink: 0;
  max-width: 60%;
}
header .top > a:first-child img {
  width: auto !important;
  max-width: 100%;
  max-height: 5em;
  height: auto;
  display: block;
}

/* Hamburger button — visible only on mobile, large hit target */
.botonMenuMobile {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1em;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
}
.botonMenuMobile svg { display: block; }

/* Fullscreen menu overlay — hidden by default */
#menuMobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, .98);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2em;
  padding: 4em 2em;
  overflow-y: auto;
}
#menuMobile.open {
  display: flex;
}
#menuMobile a {
  font-size: 3em;
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: color .2s;
}
#menuMobile a:hover,
#menuMobile a.activo {
  color: #9380E1;
}
#menuClose {
  position: absolute;
  top: 2em;
  right: 2em;
  background: none;
  border: none;
  color: #fff;
  font-size: 3em;
  cursor: pointer;
  line-height: 1;
  z-index: 10001;
}

/* Show hamburger / hide nav at <= 1100px */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}
/* Above 1100px: hide hamburger, show nav */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
  /* Ensure mobile menu can't bleed through on desktop */
  #menuMobile { display: none !important; }
  #menuMobile.open { display: none !important; }
}

/* Header padding & inner spacing on mobile */
@media (max-width: 1100px) {
  header {
    padding: 4em 0 8em;
    min-height: 0;
  }
  header.hb {
    padding: 4em 0 6em;
  }
  header .top {
    margin-bottom: 6em;
  }
  header h1 {
    font-size: 5.5em;
    max-width: 100%;
  }
  header p {
    font-size: 2.4em;
    max-width: 100%;
  }
  header .foto {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 4em;
  }
  header .foto img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 700px) {
  header h1 { font-size: 4.4em; }
  header .top { margin-bottom: 4em; }
  header .top > a:first-child img { max-height: 4em; }
  header .container { padding: 0 4em; }
}

@media (max-width: 500px) {
  header h1 { font-size: 3.8em; }
  header p { font-size: 2.2em; }
  header .botones .boton { min-width: 0; width: 100%; }
  header .container { padding: 0 3em; }
}

/* WhatsApp floating button — keep out of way on mobile */
#botonwhatsapp {
  z-index: 999;
}
@media (max-width: 700px) {
  #botonwhatsapp {
    bottom: 2em;
    right: 2em;
    left: auto;
  }
}

/* Section padding shrink on mobile */
@media (max-width: 700px) {
  section { padding: 8em 0; }
  .container { padding: 0 4em; }
  .columnas .columna,
  .items .item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 500px) {
  section { padding: 6em 0; }
  .container { padding: 0 3em; }
}

/* Avoid horizontal overflow from any absolutely-positioned hero photo */
header { overflow: hidden; }
body, html { overflow-x: hidden; }


/* ════════════════════════════════════════════════
   PAGE-SPECIFIC CSS — merged from blog, faq, contacto, nosotros, desarrollos, licencias, articles
   ════════════════════════════════════════════════ */

/* --- from blog.html --- */
@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Popup licencias — typography fix */
.popup-box { background: #1e1e1e !important; color: #ffffff !important; }
.popup-box h4 { color: #ffffff !important; font-size: 3em; font-weight: 600; }
.popup-box h3 { color: #ffffff !important; font-size: 2.5em; font-weight: 600; margin-bottom: 0.5em; }
.popup-box p  { color: #cccccc !important; font-size: 1.9em; line-height: 1.6em; }
.popup-box .subcolumna { background: #171717 !important; border: 1px solid #2a2a2a; border-radius: 2em; padding: 3em; }
.popup-overlay { background: rgba(0,0,0,0.85) !important; }

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}



.blog-index-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3em;}
@media(max-width:1000px){.blog-index-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.blog-index-grid{grid-template-columns:1fr;}}
.blog-card{background:#171717;border:1px solid #2a2a2a;border-radius:3em;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s;display:flex;flex-direction:column;}
.blog-card:hover{transform:translateY(-.5em);box-shadow:0 2em 5em rgba(128,74,138,.2);border-color:#804A8A;}
.blog-card .top-bar{height:4px;background:linear-gradient(90deg,#804A8A,#56689F);flex-shrink:0;}
.blog-card .card-body{padding:3.5em;display:flex;flex-direction:column;flex:1;}
.blog-card .cat{display:inline-block;font-size:1.4em;font-weight:600;color:#9380E1;text-transform:uppercase;letter-spacing:.06em;margin-bottom:1em;}
.blog-card h3{font-size:2.2em;font-weight:700;color:#fff;line-height:1.3em;margin-bottom:1em;flex:1;}
.blog-card p{font-size:1.8em;color:#888;line-height:1.5em;margin-bottom:2em;}
.blog-card .read-more{font-size:1.7em;font-weight:600;color:#9380E1;transition:letter-spacing .2s;margin-top:auto;}
.blog-card:hover .read-more{letter-spacing:.04em;}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from faq.html --- */
@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from contacto.html --- */





/* 1. VIDEO FIX — video element inside responsive container */
.video-responsive video { position:absolute; top:0; left:0; width:100%; height:100%; background:#000; object-fit:contain; }
.video-modal { background:rgba(0,0,0,.95); }

/* 2. NAV FIX — prevent wrapping/overlap */




@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* CONTACTO redesign */
#contacto { background: #1E1E1E; }
#contacto .titulo { font-size:4.3em; color:#fff; margin-bottom:.5em; }
#contacto > .container > p { font-size:2.4em; color:#aaaaaa; line-height:1.5em; margin-bottom:0; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:8em; align-items:start; margin-top:6em; }
@media(max-width:800px){ .contact-grid { grid-template-columns:1fr; gap:5em; } }

/* Form */
.form-field label { font-size:1.6em; font-weight:600; color:#9380E1; display:block; margin-bottom:.6em; }
.form-field input,
.form-field select,
.form-field textarea {
  width:100%; background:#171717; border:1px solid #333; border-radius:1.2em;
  padding:1.4em 1.8em; color:#ffffff; font-size:1.8em; font-family:inherit;
  outline:none; transition:border-color .2s; box-sizing:border-box;
  -webkit-appearance:none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color:#555; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color:#804A8A; background:#1a1a1a; }
.form-field textarea { resize:vertical; min-height:14em; }
.form-field select { cursor:pointer; color:#fff; }
.form-field select option { background:#171717; color:#fff; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:2em; }
@media(max-width:600px){ .form-row { grid-template-columns:1fr; } }
.form-hint { font-size:1.6em; color:#444; margin-bottom:2.5em; line-height:1.5em; }
.form-submit { display:block; width:100%; text-align:center; }
.form-msg { display:none; margin-top:2em; padding:2em 2.5em; border-radius:1.5em; font-size:1.8em; }
.form-msg.ok { background:rgba(0,200,120,.1); border:1px solid rgba(0,200,120,.3); color:#00c878; }
.form-msg.err { background:rgba(220,60,60,.1); border:1px solid rgba(220,60,60,.3); color:#e05050; }

/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ── CONTACT SIDEBAR — definitive px-based ── */
.contact-sidebar h3 {
  font-size: 22px !important;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.contact-datos { margin-bottom: 32px; }
.contact-datos .dato {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
}
.contact-datos .dato:last-child { border-bottom: none; }
.contact-datos .dato img {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
  opacity: .8;
}
.contact-datos .dato a {
  font-size: 15px !important;
  color: #cccccc !important;
  transition: color .2s;
  word-break: break-all;
}
.contact-datos .dato a:hover { color: #9380E1 !important; }
.contact-cta-box {
  background: #171717;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #2a2a2a;
  margin-top: 20px;
}
.contact-cta-box h4 {
  font-size: 15px !important;
  font-weight: 600;
  color: #9380E1;
  margin-bottom: 12px;
}
.contact-cta-box p {
  font-size: 14px !important;
  color: #aaaaaa;
  margin: 6px 0;
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from nosotros.html --- */
@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Popup licencias — typography fix */
.popup-box { background: #1e1e1e !important; color: #ffffff !important; }
.popup-box h4 { color: #ffffff !important; font-size: 3em; font-weight: 600; }
.popup-box h3 { color: #ffffff !important; font-size: 2.5em; font-weight: 600; margin-bottom: 0.5em; }
.popup-box p  { color: #cccccc !important; font-size: 1.9em; line-height: 1.6em; }
.popup-box .subcolumna { background: #171717 !important; border: 1px solid #2a2a2a; border-radius: 2em; padding: 3em; }
.popup-overlay { background: rgba(0,0,0,0.85) !important; }

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}



.pilares-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2em;}
@media(max-width:700px){.pilares-grid{grid-template-columns:1fr;}}
.pilar-num{font-size:5em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:block;margin-bottom:.3em;line-height:1em;}
#desarrollos02 .bloque>p:not(:first-child){font-weight:400!important;color:#cccccc!important;}
#desarrollos02 .bloque>p:first-child{font-size:2.4em;font-weight:600;color:#fff;margin-bottom:.5em;}
#sabermas .bloquelinea,#sabermas .bloque,#sabermas .foto,#sabermas{overflow:visible!important;}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from desarrollos.html --- */
@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from licencias.html --- */
@media(max-width:1400px){ header nav a { font-size:1.4em; margin:0 0.9em; } }
@media(max-width:1200px){ header nav a { font-size:1.25em; margin:0 0.7em; } }


/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Popup licencias — typography fix */
.popup-box { background: #1e1e1e !important; color: #ffffff !important; }
.popup-box h4 { color: #ffffff !important; font-size: 3em; font-weight: 600; }
.popup-box h3 { color: #ffffff !important; font-size: 2.5em; font-weight: 600; margin-bottom: 0.5em; }
.popup-box p  { color: #cccccc !important; font-size: 1.9em; line-height: 1.6em; }
.popup-box .subcolumna { background: #171717 !important; border: 1px solid #2a2a2a; border-radius: 2em; padding: 3em; }
.popup-overlay { background: rgba(0,0,0,0.85) !important; }

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}


/* ── MOBILE MENU FIX ── */
/* Original CSS sets #menuMobile{display:block} at 950px — override it */
#menuMobile {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(14,14,14,.98) !important;
  z-index: 99999 !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2em !important;
}
#menuMobile.open {
  display: flex !important;
}
/* Quest 2 image — white background */
.visor-q2-img {
  background: transparent;
  border-radius: 1.5em;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20em;
  margin-bottom: 2.5em;
}
.visor-q2-img img {
  max-width: 22em;
  max-height: 16em;
  object-fit: contain;
}



/* --- from rcp-entrenamiento-vr.html --- */
    background: url() center no-repeat;
    background-size: cover;
}

.titulo {
    font-size: 4em;
    line-height: 1.2em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1em;
}

#queofrecemos .items {
    justify-content: center;
    margin: 0 -1.5em;
    align-items: stretch;
}
#queofrecemos .items .item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.5em;
}
#queofrecemos .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
    height: 100%;
}
#queofrecemos .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    padding: 9em 6em 8em;
    text-align: center;
    height: 100%;
}
#queofrecemos .items .item .bloque h4 {
    font-size: 2.7em;
    line-height: 1.2em;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}
#queofrecemos .items .item .bloque h5 {
    font-size: 2.0em;
    line-height: 1.2em;
    font-weight: 600;
    color: #9380E1;
    border: 2px solid #9380E1;
    border-radius: 2em;
    padding: 0.7em;
}
#queofrecemos .items .item .bloque p {
    font-size: 1.8em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
    max-width: 60em;
    margin: 0 align;
}

#queofrecemos .items .item .bloque .boton span {
    font-size: 2.0em;
    font-weight: 500;
    padding: 1.0em 1.8em;
}


#porque .items {
    justify-content: center;
}
#porque .items .item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 1.2em;
}

#porque .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
}
#porque .items .item .bloque {
    background: #171717;
    height: 54.3em;
    position: relative;
    border-radius: 4em;
    overflow: hidden;
}

#porque .items .item .bloque .foto {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
#porque .items .item .bloque .foto::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(23,23,23);
    background: linear-gradient(0deg, rgba(23,23,23,1) 0%, rgba(23,23,23,0.5) 100%); 
}
#porque .items .item .bloque .foto img {
    width: 100%;
}
#porque .items .item .bloque .txt {
    position: absolute;
    bottom: 2em;
    left: 0;
    width: 100%;
    height: 20em;
    display: flex;
    align-items: center;
}

#porque .items .item .bloque p {    
    font-size: 2.1em;
    line-height: 1.3em;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    padding: 2em;
}
#porque .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 22em;
    height: 1.7em;
    transform: translateX(-11em);
    border-radius: 1000px 1000px 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    z-index: 10;
}




#beneficios .titulo {
    font-size: 4.9em;
}
#beneficios .columnas {
    align-items: center;
}
#beneficios .columnas .columna.izq {
    flex: 0 0 55%;
    max-width: 55%;
}
#beneficios .columnas .columna.der {
    flex: 0 0 45%;
    max-width: 45%;
}
#beneficios  .foto {
    width: 54.3em;
    height: 54.3em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    border-radius: 100000px;
    position: relative;
}
#beneficios .foto img {
    width: 78.9em;
    max-width: 50vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#beneficios ul {
    list-style: none;
    padding: 0;
}
#beneficios ul li {
    font-size: 2.2em;
    line-height: 1.2em;
    color: #ffffff;
    padding: 0 0 0 3em;
    margin: 2.5em 0;
    position: relative;
    text-align: left;
}
#beneficios ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2.13em;
    height: 2.13em;
    background: url() center no-repeat;
    background-size: cover;
}


.videocontainer {
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.videocontainer .videolinea {
    padding: 0.2em;
    border-radius: 4em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    width: 100%;
    height: 58.6em;
}
.videocontainer .video {
    width: 100%;
    height: 100%;
    background: url() center no-repeat;
    background-size: cover;
    border-radius: 4em;
    position: relative;
    cursor: pointer;
}
.videocontainer .video::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0.7;
    border-radius: 4em;
    transition: all 0.3s;
}

.videocontainer .video:hover::before {
    opacity: 0.3;
}
.videocontainer .video .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 10.6em;
    height: 10.6em;
    padding: 0.2em;
    border-radius: 100000px;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    transition: all 0.3s;
    transform-origin: center;
}
.videocontainer .video .play div {
    background: #171717;
    width: 100%;
    height: 100%;
    border-radius: 100000px;
    position: relative;
    transition: all 0.3s;
}
.videocontainer .video:hover .play {
    transform: translate(-50%,-50%) scale(1.2);
}
.videocontainer .video:hover .play div {
    background: #ffffff;
}
.videocontainer .video .play div svg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin-left: 0.3em;
    width: 3em;
}
.videocontainer .video::after {
    display: none;
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 84.8em;
    height: 13.4em;
    transform: translateX(-50%);
    background: url() center no-repeat;
    background-size: cover;
    max-width: 100vw;
}



.videocontainer .bloque {
    position: absolute;
    left: 2em;
    bottom: 2em;
    right: 2em;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 3em 5em;
    border-radius: 2.5em;
    z-index: 10;
}
.videocontainer .bloque p {
    font-size: 2.6em;
    line-height: 1.3em;
    font-weight: 500;
    color: #ffffff;
}
#poreso .trama {
    left: 50%;
    top: -3em;
    width: 81em;
    height: 81em;
    transform: translate(-50%,-50%);
    margin-left: -50em;
    margin-top: 26em;
}

#licencias .items {
    justify-content: center;
}
#licencias .items .item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 1.4em;
}
.bloquelinea {
    background: rgb(132,132,132);
    background: linear-gradient(180deg, rgba(132,132,132,1) 0%, rgba(23,23,23,1) 80%); 
    padding: 0.2em;
    border-radius: 4.2em;
}
.bloquelinea.gold {
    background: rgb(226,188,89);
    background: linear-gradient(180deg, rgba(226,188,89,1) 0%, rgba(23,23,23,1) 80%);
}
.bloquelinea.black {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(23,23,23,1) 80%);
}
#licencias .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    text-align: center;
}
#licencias .items .item .bloque .hexagono {
    margin-top: -3em;
}
#licencias .items .item .bloque .info {
    padding: 1em 4em 4em;
}
#licencias .items .item .bloque .info .dato {
    background: rgb(152,152,152);
background: linear-gradient(90deg, rgba(152,152,152,1) 0%, rgba(187,187,187,1) 100%);
    padding: 0.2em;
    border-radius: 2.5em;
    margin: 1.5em 0;
}

#licencias .items .item .bloque .info .dato div {
    border-radius: 2.3em;
    padding: 1.3em;
    background: #171717;
    position: relative;
}
#licencias .items .item .bloque .info .dato.icono div {
    padding-top: 3em;
}
#licencias .items .item .bloque .info .dato div img {
    position: absolute;
    left: 50%;
    top: -2.8em;
    width: 5.5em;
    transform: translateX(-50%);
}
#licencias .items .item .bloque .info .dato div p {
    font-size: 2em;
    line-height: 1.3em;
    font-weight: 400;
    color: #ffffff;
}
#licencias .items .item .bloque h3 {
    font-size: 2.8em;
    line-height: 1.1em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
#licencias .items .item .bloque p.bajada {
    font-size: 1.6em !important;
    line-height: 1.3em !important;
    font-weight: 400 !important;
    color: #56689F !important;
}

#licencias .items .item .bloque .incluye {
    padding: 4em 4em 6em;
    border-top: 1px solid #272727;
}
#licencias .items .item .bloque .incluye h4 {
    font-size: 2em;
    line-height: 1.1em;
    font-weight: 700;
    color: #6D80BC;
    text-transform: uppercase;
    margin-bottom: 0.5em;
}
#licencias .items .item .bloque .incluye p {
    font-size: 1.7em;
    line-height: 1.15em;
    font-weight: 300;
    color: #ffffff;
}
#licencias .items .item .bloque .incluye p span {
    color: #56689F;
}


#comofunciona {
    background: #141414;
}
#comofunciona .columnas {
    align-items: center;
}
#comofunciona .columnas .columna.izq {
    flex: 0 0 30%;
    max-width: 30%;
}
#comofunciona .columnas .columna.der {
    flex: 0 0 70%;
    max-width: 70%;
}
#comofunciona .columnas .columna.der .subcolumnas {
    display: flex;
    align-items: center;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto {
    padding: 3em 3em 3em 6.5em;
    position: relative;
    min-height: 11em;
    display: flex;
    align-items: center;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);    
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto:last-of-type::before {
    display: none;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto p {
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 400;
    color: #ffffff;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto .num {
    width: 4.6em;
    height: 4.6em;
    background: rgb(199,187,233);
    background: linear-gradient(180deg, rgba(199,187,233,1) 0%, rgba(147,128,225,1) 80%);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10000px;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto .num span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 {
    padding-left: 10em;
    padding-right: 6em;
    height: 100%;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 .num {
    left: 3em;
}
#comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);   
}


#comofunciona .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-140em, -40em);
}
#comofunciona .trama.t2 {
    top: 50%;
    transform: translate(60em, -40em);
}

#clientes .slider .logo {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;    
    border-radius: 2.2em;
}
#clientes .slider .logo div {
    min-height: 14em;
    padding: 0 3em;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    border-radius: 2em;
}
#clientes .slider .paginacion {
    margin-top: 10.3em;
    padding-top: 3em;
    height: 7em;
}
#clientes .slider .paginacion::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 1em;
    transform: translateX(-50%);
    width: 84.2em;
    height: 10.3em;
    background: url() center no-repeat;
    background-size: cover;
    max-width: 100vw;
}

#sabermas {
    /*overflow: hidden;*/
}

#sabermas .fondocontainer {
    overflow: auto;
}
#sabermas .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4.2em;
}
#sabermas .bloque {
    background: url() center no-repeat;
    background-size: cover;
    padding: 7em;
    border-radius: 4em;
    position: relative;
}
#sabermas .bloque .titulo {
    font-size: 4.3em;
    margin: 0;
}
#sabermas .bloque p {
    font-size: 2.5em;
}
#sabermas .bloque .content {
    max-width: 50%;
}
#sabermas .bloque .foto {
    position: absolute;
    left: 50%;
    bottom: 0;
}
#sabermas .bloque .foto img {
    width: 67.8em;
    max-width: none;
    display: block;
}
#sabermas .boton span {
    padding: 1.0em 1.8em;
}
#sabermas .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-90em, -70em);
}

#consulta .trama {
    right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-10em, -50%);
}
#consulta .container {
    max-width: 77em;
}
#consulta .misc {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84.2em;
    height: 10.3em;
    background: url() center no-repeat;
    background-size: cover;
    max-width: 100vw;
}



footer {
    background: rgb(30,30,30);
    background: linear-gradient(0deg, rgba(30,30,30,1) 0%, rgba(20,20,20,1) 100%);
    padding: 3em 0;
}
footer .columnas {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -2em;
}
footer .columnas .columna {
    flex: 0 0 auto;
    max-width: none;
    padding: 2em;
}
footer .redes {
    display: flex;
    align-items: center;
}
footer .redes span {
    font-size: 2em;
    line-height: 1.15em;
    font-weight: 500;
    color: #ffffff;
    margin-right: 1em;
}
footer .redes .social {
    padding: 1.3em;
}
footer .redes .social svg .normal {
    transition: all 0.3s;
    fill:url(#svgdegrade);
    
    transition: all 0.3s;
}
footer .redes .social svg .hover {
    fill:url(#svgdegrade2);
    transition: all 0.3s;
    opacity: 0;
}
footer .redes .social:hover svg .normal {
    opacity: 0;
}
footer .redes .social:hover svg .hover {
    opacity: 1;
}
footer .botonsubir {
    width: 9.6em;
    height: 9.6em;
    background: #191919;
    border-radius: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
footer .botonsubir svg {
    width: 3.7em;
    display: block;
}
footer .botonsubir:hover {
    background: #ffffff;
}

#svgdefs {
    display: block;
    height: 0;
    visibility: hidden;
}

#botonwhatsapp {
    position: fixed;
    left: 3em;
    top: 3em;
    width: 7.1em;
    height: 7.1em;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(147,128,225,1) 100%);
    border-radius: 1000px;
    z-index: 100000;
}
#botonwhatsapp::before {
    content: "";
    position: absolute;
    border-radius: 1000px;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    background: rgb(199,187,233);
    background: linear-gradient(180deg, rgba(199,187,233,1) 0%, rgba(147,128,225,1) 100%);
}
#botonwhatsapp span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background: rgba(255,255,255,0);
    transition: all 0.3s;
}
#botonwhatsapp span svg {
    display: block;
    position: relative;
    width: 3.9em;
}
#botonwhatsapp span svg path {
    fill: #ffffff;
    transition: all 0.3s;
}
#botonwhatsapp:hover span {
    background: #ffffff;
}
#botonwhatsapp:hover span svg path {
    fill: #804A8A;
}

.flechas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
.flechas svg {
    width: 25em;
}
.flechas .st0 {
    fill: #252525;
}


.flechas .anim1,
.flechas .anim2,
.flechas .anim3,
.flechas .anim4 {
    animation-name: flechas;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}
.flechas .anim1 { animation-delay: 0s; }
.flechas .anim2 { animation-delay: 0.3s; }
.flechas .anim3 { animation-delay: 0.6s; }
.flechas .anim4 { animation-delay: 0.9s; }

@keyframes flechas {
  0%   {opacity: 0}
  25%  {opacity: 1}
  50%  {opacity: 0}
  100% {opacity: 0}
}

#porque .flechas,
#queofrecemos .flechas {
    margin-left: -62em;
    margin-top: 30em;
}
#poreso .flechas {
    margin-left: 65em;
    margin-top: 30em;
}
#licencias .flechas {
    margin-left: -62em;
    margin-top: 45em;
}

#clientes .flechas {
    margin-left: 62em;
    margin-top: 5em;
}
#sabermas .flechas {
    margin-left: -62em;
    margin-top: 50em;
}

#popupConsultas {
    background: #1E1E1E;
    border-radius: 4em;
    max-width: 125em;
    padding: 0;
    overflow: hidden;
}

#popupConsultas .columnas .columna.izq {
    flex: 0 0 32%;
    max-width: 32%;
    padding: 6em 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
}
#popupConsultas .columnas .columna.der {
    flex: 0 0 68%;
    max-width: 68%;
    padding: 10em 4em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#popupConsultas h4 {
    font-size: 4em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
    max-width: 6.6em;
}


#popupConsultas .subcolumnas {
    display: flex;
    max-width: 72em;
    flex-wrap: wrap;
}
#popupConsultas .subcolumnas .subcolumna {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 4em;
    position: relative;
}
#popupConsultas .subcolumnas .subcolumna .linea {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgb(128,74,138);
    background: linear-gradient(0deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#popupConsultas h3 {
    font-size: 2.8em;
    line-height: 1.15em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1em;
}
#popupConsultas p {
    font-size: 2.2em;
    line-height: 1.15em;
    font-weight: 400;
    color: #ffffff;
    margin: 1.2em 0;
}
#popupConsultas p.small {
    font-size: 1.8em;
}
#popupConsultas .boton span {
    font-size: 2em;
}

#popupConsultas::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 51.8em;
    height: 11.4em;
    background: url() center no-repeat;
    background-size: cover;
}

#desarrollos01 {
    padding-top: 6em;
}
#desarrollos01 .columnas {
    align-items: flex-end;
}
#desarrollos01 .columnas .columna {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    padding: 0 1.5em;
}
#desarrollos01 h5 {
    font-size: 4.9em;
    line-height: 1.1em;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1.4em;
}
#desarrollos01 p {
    font-size: 2.8em;
    color: #A271AC;
    font-style: italic;
    margin-bottom: 3em;
}
#desarrollos01 .columnas .columna.der img {
    display: block;
    margin: 0 auto;
    position: relative;
}
#desarrollos01 .columnas .columna.der::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2em;
    transform: translateX(-50%);
    width: 56em; height: 56em;
    border-radius: 100000px;
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}

#desarrollos02 .items {
    margin: 0 -1.6em;
}
#desarrollos02 .items .item {
    padding: 0 1.6em;
}

#desarrollos02 .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4em;
    height: 100%;
}
#desarrollos02 .items .item .bloque {
    background: #171717;
    border-radius: 4em;
    padding: 5.6em 6em;
    height: 100%;
    position: relative;
}
#desarrollos02 .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5em;
    bottom: 5em;
    width: 1.6em;
    border-radius: 0 10em 10em 0;
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#desarrollos02 .items .item .bloque p {
    font-size: 2.2em;
    font-weight: 500;
}

#desarrollos02 .titulo {
    text-align: center;
    margin-bottom: 0;
}

#contacto .items {
    margin: 0 -2em;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#contacto .items .item {
    padding: 2em;
    flex: 0 0 auto;
    max-width: 100%;
    padding-left: 10em;
    position: relative;
}
#contacto .items .item .icono {
    position: absolute;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    width: 6em;
    height: 6em;
    border-radius: 1000px;
}
#contacto .items .item .icono img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
#contacto .items .item p {
    font-size: 2em;
}
#contacto .items .item p a {
    color: #ffffff;
}
#contacto .items .item p {
}

#map {
    height: 60em;
}


#licencias .videocontainer {
    height: 66em;
    position: relative;
}
#licencias .videocontainer .video {
    background-image: url();
}
#licencias .videocontainer .videolinea {
    max-width: none;
    height: 100%;
}
#licencias .videocontainer .bloque {
    left: 3em;
    top: 3em;
    bottom: 3em;
    transform: none;
    border-radius: 2em;
    display: flex;
    align-items: center;
    width: 40em;

}
#licencias .videocontainer .video .play {
    margin-left: 20em;
}
#licencias .videocontainer .bloque h4 {
    font-size: 4em;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1em;
    margin-bottom: 0.5em;
}
#licencias .videocontainer .bloque p {
    font-size: 3em;
    font-weight: 300;

}


#licencias #comohaces .trama {
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(20em, -20em);
}
#licencias #comohaces h2 {
    font-size: 4.5em;
}
#licencias #comohaces p {
    font-size: 3em;
    max-width: 27em;
    text-align: center;
    margin: 0 auto;
    font-weight: 300;
}


#licencias #comohaces .items {
    margin: 0 -1.6em;
    margin-top: 7em;
}
#licencias #comohaces .items .item {
    padding: 1.6em;
    flex: 0 0 25%;
    max-width: 25%;
}

#licencias #comohaces .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 3.5em;
    height: 100%;
}
#licencias #comohaces .items .item .bloque {
    background: #171717;
    border-radius: 3.3em;
    padding: 5.6em 3em;
    height: 100%;
    position: relative;
}
#licencias #comohaces .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 6em;
    right: 6em;
    bottom: 0em;
    height: 1.6em;
    border-radius: 10em 10em 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#licencias #comohaces .items .item .bloque img {
    margin-bottom: 3em;

}
#licencias #comohaces .items .item .bloque p {
    font-size: 2.2em;
    font-weight: 300;
}



#licencias #comohaces .destacado .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,0) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 4.2em;
}
#licencias #comohaces .destacado .bloque {
    background: url() center no-repeat #1E1E1E;
    background-size: cover;
    padding: 7em;
    border-radius: 4em;
    position: relative;
}
#licencias #comohaces .destacado .bloque .titulo {
    font-size: 4.3em;
    margin: 0;
}
#licencias #comohaces .destacado .bloque p {
    font-size: 3em;
    font-weight: 300;
    text-align: center;
    max-width: 32em;
}
#licencias #comohaces .destacado .bloque p.grande {
    font-size: 3.3em;
    font-weight: 500;
}
#licencias #comohaces .destacado .bloque p strong {
    font-weight: 500;
}


#licencias #comentariosclientes .items {
    margin: 0 -1.6em;
    margin-top: 0em;
}
#licencias #comentariosclientes .items .item {
    padding: 2.4em 1.6em;
    flex: 0 0 50%;
    max-width: 50%;
}

#licencias #comentariosclientes .items .item .bloquelinea {
    background: rgb(128,74,138);
    background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    padding: 0.2em;
    border-radius: 3.5em;
    height: 100%;
}
#licencias #comentariosclientes .items .item .bloque {
    background: #171717;
    border-radius: 3.3em;
    padding: 16em 7em 18em;
    height: 100%;
    position: relative;
    text-align: left;
}
#licencias #comentariosclientes .items .item .bloque .comillas {
    position: absolute;
    right: 2em;
    top: -6em;
    width: 21.1em;
    display: block;
}
#licencias #comentariosclientes .items .item .bloque::before {
    content: "";
    position: absolute;
    left: 6em;
    right: 6em;
    bottom: 0em;
    height: 1.6em;
    border-radius: 10em 10em 0 0;
    background: rgb(128,74,138);
    background: linear-gradient(-90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
#licencias #comentariosclientes .items .item .bloque p {
    font-size: 2.7em;
    font-weight: 300;
}
#licencias #comentariosclientes .items .item .bloque .info {
    position: absolute;
    bottom: 6em;
    left: 6em;
    right: 6em;
    padding: 0 0 0 10em;
    margin-top: 6.5em;
    min-height: 8.4em;
    display: flex;
    align-items: center;
}
#licencias #comentariosclientes .items .item .bloque .info img {
    position: absolute;
    left: 0;
    top: 0;
    width: 8.4em;
    border-radius: 100000px;
}
#licencias #comentariosclientes .items .item .bloque .info h6 {
    font-size: 2.1em;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
}
#licencias #comentariosclientes .items .item .bloque .info p {
    font-size: 2em;
    line-height: 1.2em;
    font-weight: 400;
    color: #6D80BC;
    font-style: italic;
    margin: 0;
}

.casoexito {
    padding: 4.5em 4.5em;
    border: 2px solid #804A8A;
    border-radius: 4em;
}
.casoexito .columnas .columna {
    padding: 2em;
}
.casoexito h4 {
    font-size: 3em;
    line-height: 1.2em;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5em;
}
.casoexito p {
    font-size: 2.3em;
    line-height: 1.2em;
    font-weight: 300;
    color: #ffffff;
}
.casoexito .columna.full {
    flex: 0 0 100%;
    max-width: 100%;
}
.casoexito .linea {
    width: 100%;
    height: 2px;
    background: rgb(128,74,138);
    background: linear-gradient(-90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    margin: 4em 0;
}
.casoexito .logo {
    display: flex;
    align-items: center;
    padding: 3em 6em;
    border: 2px solid #804A8A;
    border-radius: 4em;
    position: relative;
    min-height: 19em;
}

.casoexito .logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3em;
  bottom: 3em;
  width: 1.6em;
  border-radius: 0 10em 10em 0;

  background: rgb(128,74,138);
  background: linear-gradient(180deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
}
.casoexito .logo span {
    font-size: 2.7em;
    font-weight: 300;
    color: #ffffff;
    margin-right: 1em;
}


#faq_desplegable {
    padding: 10em 0;
}

/* ---------------------- Media Queries ------------------ */

@media (max-width: 1850px) {
    body {
        font-size: 9.5px;
    }
}
@media (max-width: 1800px) {
    body {
        font-size: 9px;
    }    
}

@media (max-width: 1700px) {
    body {
        font-size: 8.5px;
    }
}

@media (max-width: 1650px) {    
}

@media (max-width: 1600px) {
    body {
        font-size: 8px;
    }
}

@media (max-width: 1500px) {
    
}

@media (max-width: 1400px) {
    header .foto {
        height: auto;
        left: 50%;
    }
}

@media (max-width: 1300px) { 
    #botonwhatsapp {
        left: auto;
        right: 3em;
        top: auto;
        bottom: 3em;
    }
}

@media (max-width: 1250px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 1150px) {
}

@media (max-width: 1100px) {

}

@media (max-width: 1050px) {
    .videocontainer {
        font-size: 0.9em;
    }
}

@media (max-width: 1000px) {
    #licencias .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #comofunciona .columnas .columna.izq,
    #comofunciona .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #comofunciona .columnas .columna.izq {
        text-align: center;
    }
    #comofunciona .columnas .columna.der .subcolumnas {
        flex-wrap: wrap;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 {
        padding-left: 7em;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3 .num {
        left: 0;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto:last-of-type::before {
        display: block;
    }
    #comofunciona .columnas .columna.der .subcolumnas .subcolumna .punto.p3::before {
        display: none;
    }
    #sabermas .bloque {
        padding-bottom: 0;
        text-align: center;
    }
    #sabermas .bloque .content {
        max-width: 100% !important;
    }
    #sabermas .bloque .foto {
        position: relative;
        left: auto;
        bottom: auto;
    }
    #sabermas .bloque .foto img {
        margin: 0 auto;
    }
    #sabermas .bloque .titulo {
        font-size: 3.8em;
    }
    #sabermas .bloque .foto {
        display: flex;
        justify-content: center;
    }
    #queofrecemos .items .item {
        flex: 0 0 100%;
        max-width: 70em;
    }
    header nav a {
        margin: 1em 1em;
    }
    #sabermas .bloque .foto {
        transform: translateX(0) !important;
    }
    #licencias #comohaces .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    #licencias #comentariosclientes .items .item .bloque {
        padding: 12em 6em 18em;
    }
    #licencias #comentariosclientes .items .item .bloque p {
        font-size: 2.5em;
    }
    #licencias #comentariosclientes .items .item .bloque .comillas {
        width: 18em;
    }

    .casoexito .columnas .columna {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 950px) {
    .botonMenuMobile,
    #menuMobile {
        display: block;
    }
    header {
        padding: 10em 0 0;
    }

    header .foto {
        position: relative;
        left: auto;
        top: auto;
        margin-top: -10em;
    }    
    header .foto img {
        display: block;
        margin-left: auto;
        margin-right: 0;
    }
    header h1 {
        max-width: none;
    }
    header p {
        max-width: none;
    }
    header h1 {
        font-size: 6.5em;
    }

    #porque .items .item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #beneficios {
        text-align: center;
    }
    #beneficios .columnas .columna.izq,
    #beneficios .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #beneficios .foto {
        margin: 0 auto;
        font-size: 0.9em;
    }
    #beneficios .foto img {
        max-width: none;
    }
    .videocontainer {
        font-size: 0.8em;
    }
    
    #popupConsultas .columnas .columna.izq,
    #popupConsultas .columnas .columna.der {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #popupConsultas .columnas .columna.izq {
        padding: 14em 8em 6em;
        justify-content: flex-start;
    }
    #popupConsultas .columnas .columna.der {
        padding: 6em 8em 8em;
        justify-content: flex-start;
    }
    #popupConsultas .subcolumnas {
        max-width: none;
        margin: 0 -4em;
    }
    #popupConsultas h4 {
        max-width: none;
    }
    #popupConsultas::after {
        font-size: 0.8em;
    }
    #beneficios ul {
        max-width: 60em;
        margin: 0 auto;
    }
    header.hb h1 {
        margin: 0 0 2em;
    }
    #desarrollos01 .columnas .columna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #desarrollos01 .columnas .columna {
        text-align: center;
    }
    #desarrollos01 p {
        margin-bottom: 0;
    }
    #desarrollos02 .items .item {
        flex: 0 0 100%;
        max-width: 80em;
        margin: 0 auto 2em;
    }
}

@media (max-width: 900px) {
    header nav {
        display: none;
    }
    #clientes {
        overflow: hidden;
    }
    footer {
        padding-right: 7em;
    }
    #licencias #comentariosclientes .items .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #licencias #comohaces h2 {
        font-size: 4em;
    }
    #licencias #comohaces p {
        font-size: 2.5em;
    }
}

@media (max-width: 800px) {
    .container {
        padding: 0 6em;
    }
    #menuPrincipal {
        display: none;
    }
    header h1 {
        font-size: 5.5em;
    }
    header .foto {
        font-size: 0.9em;
    }
    header p {
        font-size: 2.8em;
    }
    header h1 {
        margin-top: 1.0em;
    }
    .titulo {
        font-size: 3.5em;
    }
    #beneficios .foto {
        font-size: 0.8em;
    }
    #beneficios .foto img {
        max-width: 100vw;
    }
    .videocontainer {
        font-size: 0.8em;
    }
    .videocontainer {
        position: relative;
    }
    /*
    .videocontainer .bloque {
        
        left: 50%;
        transform: translateX(-50%);
        top: -10em;
        width: 70em;
        padding: 5em 8em;
        text-align: center;
        max-width: 95%;
    }
    */
    #licencias .videocontainer {
        display: block;
        height: auto;
    }
    #licencias .videocontainer .videolinea {
        height: 66em;
    }
    #licencias .videocontainer .bloque {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
    }
    #licencias .videocontainer .video .play {
        margin-left: 0;
    }

}

@media (max-width: 700px) {
    section {
        padding: 12em 0;
    }
    #licencias .items .item {
        flex: 0 0 100%;
        max-width: 60em;
    }
    .flechas {
        display: none;
    }
    #desarrollos01 h5 {
        font-size: 4em;
    }
    #licencias #comohaces .destacado .bloque {
        padding: 4em;
    }
    #licencias #comohaces .destacado .bloque p,
    #licencias #comohaces .destacado .bloque p.grande {
        font-size: 2.5em;
    }
}



@media (max-width: 650px) {
    #porque .items .item {
        flex: 0 0 100%;
        max-width: 42em;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 4em;
    }
    #sabermas .bloque {
        padding: 6em 6em 0;
    }
    #sabermas {
        overflow: hidden;
    }
    #popupConsultas .subcolumnas .subcolumna {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #popupConsultas .subcolumnas .subcolumna .linea {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: 0.2em;
        margin: 5em 0;
        background: linear-gradient(90deg, rgba(128,74,138,1) 0%, rgba(86,104,159,1) 100%);
    }
    .casoexito .logo {
        flex-wrap: wrap;
        font-size: 0.9em;
    }
}

@media (max-width: 550px) {
    header .foto {
        font-size: 0.8em;
    }
    #beneficios .titulo {
        font-size: 3.8em;
    }
    .videocontainer .bloque {
        font-size: 0.9em;
    }
    #queofrecemos .items .item .bloque {
        padding: 6em 3em 5em;
    }
}

@media (max-width: 500px) {
    .videocontainer .bloque {
        font-size: 0.8em;
    }
    #sabermas .bloque .foto {
        font-size: 0.9em;
    }
    #sabermas .bloque {
        padding: 5em 4em 0;
    }
    #desarrollos01 h5 {
        font-size: 3.8em;
    }
    #licencias #comohaces .items .item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #licencias #comentariosclientes .items .item .bloque {
        padding: 12em 4em 18em;
    }
    #licencias #comentariosclientes .items .item .bloque .info {
        left: 4em;
        right: 4em;
    }
    .casoexito .logo {
        font-size: 0.8em;
    }
}

@media (max-width: 450px) {
    header .foto {
        font-size: 0.7em;
    }
    #beneficios .foto {
        font-size: 0.7em;
    }
    #sabermas .bloque .foto {
        font-size: 0.8em;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 3em;
    }
    #sabermas .bloque .foto {
        font-size: 0.7em;
    }
}

@media (max-width: 350px) {
}



/* oScripts override */
section,header,footer,.item,.columna,.bloque,.bloquelinea{opacity:1!important;transform:none!important;visibility:visible!important;}

/* Mobile menu */
#menuMobile{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(14,14,14,.98);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:2em;}
#menuMobile.open{display:flex;}
#menuMobile a{font-size:3.5em;color:#fff;font-weight:600;transition:color .2s;}
#menuMobile a:hover,#menuMobile a.activo{color:#9380E1;}
#menuClose{position:absolute;top:3em;right:3em;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}



/* Footer social */
footer .redes .social svg{display:block;width:3em;height:3em;}
footer .redes .social svg path{fill:#804A8A;transition:fill .3s;}
footer .redes .social:hover svg path{fill:#ffffff;}

/* Ribbon */
.ribbon-wrap{overflow:hidden;width:100%;mask-image:linear-gradient(90deg,transparent 0%,black 5%,black 95%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,black 5%,black 95%,transparent 100%);}
.ribbon-track{display:flex;gap:2em;width:max-content;animation:ribbon-scroll 45s linear infinite;}
.ribbon-track:hover{animation-play-state:paused;}
@keyframes ribbon-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.ribbon-logo{flex-shrink:0;background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);padding:.2em;border-radius:2.2em;}
.ribbon-logo>div{min-height:12em;width:22em;padding:0 2em;display:flex;align-items:center;justify-content:center;background:#171717;border-radius:2em;}
.ribbon-logo img{max-height:5em;max-width:100%;opacity:.7;filter:grayscale(1) brightness(2);transition:.3s;}
.ribbon-logo:hover img{opacity:1;filter:none;}
.ribbon-txt{flex-shrink:0;background:linear-gradient(180deg,rgba(128,74,138,.4) 0%,rgba(86,104,159,.4) 100%);padding:.2em;border-radius:2.2em;}
.ribbon-txt>div{min-height:12em;width:22em;padding:0 2em;display:flex;align-items:center;justify-content:center;background:#171717;border-radius:2em;}
.ribbon-txt span{font-size:1.7em;font-weight:600;color:#9380E1;text-align:center;line-height:1.3em;}
.ribbon-txt:hover span{color:#fff;}

/* FAQ */
.desplegable .item{border-bottom:1px solid #2a2a2a;}
.desplegable .item .titulo{cursor:pointer;padding:2.2em 0;font-size:2.2em;font-weight:500;color:#fff;display:flex;justify-content:space-between;align-items:center;user-select:none;gap:1em;}
.desplegable .item .titulo::after{content:'+';color:#9380E1;flex-shrink:0;transition:transform .25s;}
.desplegable .item.open .titulo::after{transform:rotate(45deg);}
.desplegable .item .contenido{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.desplegable .item.open .contenido{max-height:800px;}
.desplegable .item .contenido p{font-size:2em;line-height:1.5em;color:#cccccc;padding-bottom:1em;}

/* Video modal */
.video{cursor:pointer;}
.video-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:999999;align-items:center;justify-content:center;}
.video-modal.open{display:flex;}
.video-modal-inner{position:relative;width:90%;max-width:960px;}
.video-modal-close{position:absolute;top:-4em;right:0;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}
.video-responsive{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;}
.video-responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;}

/* POPUP licencias */
.popup-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.8);z-index:99999;align-items:center;justify-content:center;}
.popup-overlay.open{display:flex;}
.popup-box{background:#1e1e1e;border:1px solid #333;border-radius:4em;padding:6em;max-width:100em;width:90%;position:relative;}
.popup-close{position:absolute;top:2em;right:3em;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}
.popup-box h4{font-size:3em;font-weight:600;margin-bottom:.5em;}
.popup-box .subcolumnas{display:grid;grid-template-columns:1fr 1fr;gap:3em;}
@media(max-width:600px){.popup-box .subcolumnas{grid-template-columns:1fr;}}
.popup-box .subcolumna{padding:3em;background:#171717;border-radius:2.5em;}
.popup-box h3{font-size:2.5em;font-weight:600;margin-bottom:.5em;}
.popup-box .linea{height:1px;background:#333;margin:2em 0;}
.popup-box .small{font-size:1.8em;color:#808080;}

/* Stats counter */
.stats-section{background:#141414;padding:10em 0;border-top:1px solid #2a2a2a;}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2em;}
@media(max-width:700px){.stats-grid{grid-template-columns:repeat(2,1fr);}}
.stat-card{text-align:center;padding:4em 2em;background:#1e1e1e;border-radius:3em;border:1px solid #2a2a2a;}
.stat-num{font-size:5em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1em;margin-bottom:.3em;}
.stat-label{font-size:1.8em;color:#808080;line-height:1.3em;}

/* Porque VR cards */
#porque_cards .items{justify-content:center;}
#porque_cards .items .item{flex:0 0 33.333%;max-width:33.333%;padding:1.2em;}
@media(max-width:700px){#porque_cards .items .item{flex:0 0 100%;max-width:42em;}}
#porque_cards .bloquelinea{background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);padding:.2em;border-radius:4em;}
#porque_cards .bloque{background:#171717;height:54.3em;position:relative;border-radius:4em;overflow:hidden;}
#porque_cards .bloque .foto-bg{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;opacity:.5;}
#porque_cards .bloque::before{content:"";position:absolute;left:0;bottom:0;width:100%;height:100%;background:linear-gradient(0deg,rgba(23,23,23,1) 0%,rgba(23,23,23,.4) 100%);z-index:1;}
#porque_cards .bloque::after{content:"";position:absolute;left:50%;bottom:0;width:22em;height:1.7em;transform:translateX(-11em);border-radius:1000px 1000px 0 0;background:linear-gradient(90deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%);z-index:3;}
#porque_cards .txt{position:absolute;bottom:2em;left:0;width:100%;z-index:2;display:flex;align-items:center;}
#porque_cards .txt p{font-size:2.1em;line-height:1.3em;font-weight:500;color:#fff;text-align:center;padding:2em;}

/* Industries */
.industrias-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2em;}
@media(max-width:700px){.industrias-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:450px){.industrias-grid{grid-template-columns:1fr;}}
.industria-card{background:#171717;border:1px solid #2a2a2a;border-radius:2.5em;padding:3.5em;transition:border-color .25s,transform .25s;}
.industria-card:hover{border-color:#804A8A;transform:translateY(-.3em);}
.industria-icon{font-size:3.5em;margin-bottom:.5em;display:block;}
.industria-card h3{font-size:2em;font-weight:600;color:#fff;margin-bottom:.5em;}
.industria-card p{font-size:1.7em;color:#808080;line-height:1.4em;}

/* Nosotros page */
.nosotros-hero{display:grid;grid-template-columns:1fr 1fr;gap:6em;align-items:center;}
@media(max-width:800px){.nosotros-hero{grid-template-columns:1fr;}}
.nosotros-foto{border-radius:4em;overflow:hidden;}
.nosotros-foto img{width:100%;display:block;}
.pilares-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2em;}
@media(max-width:700px){.pilares-grid{grid-template-columns:1fr;}}
.pilar{background:#171717;border-radius:2.5em;padding:4em;text-align:center;border:1px solid #2a2a2a;}
.pilar .num{font-size:4em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;display:block;margin-bottom:.3em;}
.pilar h3{font-size:2em;font-weight:600;margin-bottom:.5em;}
.pilar p{font-size:1.7em;color:#808080;}

/* Contact form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:6em;align-items:start;}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr;}}
.form-field{margin-bottom:2.5em;}
.form-field label{display:block;font-size:1.6em;font-weight:600;color:#9380E1;margin-bottom:.6em;}
.form-field input,.form-field select,.form-field textarea{width:100%;background:#1e1e1e;border:1px solid #333;border-radius:1.2em;padding:1.2em 1.8em;color:#fff;font-size:1.8em;font-family:inherit;outline:none;transition:border-color .2s;box-sizing:border-box;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#9380E1;}
.form-field textarea{resize:vertical;min-height:14em;}
.form-field select{appearance:none;cursor:pointer;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:2em;}
@media(max-width:600px){.form-row{grid-template-columns:1fr;}}
.form-msg{display:none;margin-top:2em;padding:2em 2.5em;border-radius:1.5em;font-size:1.8em;}
.form-msg.ok{background:rgba(0,200,120,.1);border:1px solid rgba(0,200,120,.3);color:#00c878;}
.form-msg.err{background:rgba(220,60,60,.1);border:1px solid rgba(220,60,60,.3);color:#dc3c3c;}
.contact-datos .dato{display:flex;align-items:center;gap:2em;padding:2em 0;border-bottom:1px solid #2a2a2a;font-size:2em;}
.contact-datos .dato img{width:4em;flex-shrink:0;}
.contact-datos .dato a{color:#fff;}
.contact-datos .dato a:hover{color:#9380E1;}

/* 1. VIDEO FIX — video element inside responsive container */
.video-responsive video { position:absolute; top:0; left:0; width:100%; height:100%; background:#000; object-fit:contain; }
.video-modal { background:rgba(0,0,0,.95); }

/* 2. NAV FIX — prevent wrapping/overlap */








/* 3. INDUSTRY ICONS — brand palette */
.industria-card { background:#171717; border:1px solid #2a2a2a; border-radius:2.5em; padding:3.5em; transition:border-color .25s,transform .25s; position:relative; overflow:hidden; }
.industria-card::before { content:''; position:absolute; left:0; top:0; width:4px; height:100%; background:linear-gradient(180deg,rgba(128,74,138,1) 0%,rgba(86,104,159,1) 100%); border-radius:2.5em 0 0 2.5em; }
.industria-card:hover { border-color:#804A8A; transform:translateY(-.3em); }
.industria-icon { width:5em; height:5em; border-radius:1.2em; background:linear-gradient(135deg,rgba(128,74,138,.15) 0%,rgba(86,104,159,.15) 100%); border:1px solid rgba(128,74,138,.3); display:flex; align-items:center; justify-content:center; margin-bottom:1.8em; }
.industria-icon svg { width:2.6em; height:2.6em; stroke:url(#svgdegrade); stroke-width:1.5; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.industria-card h3 { font-size:2em; font-weight:600; color:#fff; margin-bottom:.6em; }
.industria-card p { font-size:1.7em; color:#808080; line-height:1.5em; }

/* 4. VISORES — redesigned with gradient border */
.visores-section { padding:10em 0; border-top:1px solid #2a2a2a; }
.visor-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2em; max-width:110em; margin:0 auto; }
@media(max-width:700px){ .visor-cards { grid-template-columns:1fr; } }
.visor-card { text-align:center; }
.visor-card .bloquelinea { border-radius:3.5em; }
.visor-card .bloque { background:#171717; border-radius:3.3em; padding:5em 3em; }
.visor-card img { max-width:18em; margin:0 auto 2.5em; display:block; }
.visor-card h3 { font-size:2.4em; font-weight:700; color:#fff; margin-bottom:.5em; }
.visor-card p { font-size:1.7em; color:#808080; line-height:1.4em; }
.visor-badge { display:inline-block; font-size:1.4em; font-weight:600; padding:.4em 1.2em; border-radius:100px; background:linear-gradient(90deg,rgba(128,74,138,.2),rgba(86,104,159,.2)); border:1px solid rgba(128,74,138,.4); color:#9380E1; margin-bottom:1.5em; }

/* 5. RIBBON TEXT — premium typography */
.ribbon-txt>div { min-height:12em; width:22em; padding:0 2em; display:flex; align-items:center; justify-content:center; background:#171717; border-radius:2em; }
.ribbon-txt span { font-size:1.65em; font-weight:600; color:#ffffff; text-align:center; line-height:1.3em; letter-spacing:.03em; font-variant:small-caps; text-transform:uppercase; }
.ribbon-txt { background:linear-gradient(180deg,rgba(128,74,138,.5) 0%,rgba(86,104,159,.5) 100%); }
.ribbon-txt:hover span { color:#9380E1; }

/* 7. NOSOTROS — contrast & typography */
.nosotros-hero h2.titulo { color:#fff; font-size:4.5em; line-height:1.2em; }
.nosotros-hero p { font-size:2.2em; color:#cccccc; line-height:1.7em; margin-bottom:1.5em; }
.nosotros-foto { border-radius:4em; overflow:hidden; border:1px solid #2a2a2a; }
.pilar { background:#171717; border-radius:2.5em; padding:4em; text-align:center; border-top:3px solid transparent; border-image:linear-gradient(90deg,#804A8A,#56689F) 1; transition:transform .25s; }
.pilar:hover { transform:translateY(-.3em); }
.pilar .num { font-size:4em; font-weight:800; background:linear-gradient(90deg,#804A8A,#56689F); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:block; margin-bottom:.4em; }
.pilar h3 { font-size:2.2em; font-weight:600; color:#ffffff; margin-bottom:.6em; }
.pilar p { font-size:1.8em; color:#aaaaaa; line-height:1.5em; }
#nosotros-diferencia .bloque h4 { font-size:2.4em; font-weight:600; color:#ffffff; margin-bottom:.8em; }
#nosotros-diferencia .bloque p { font-size:2em; color:#cccccc; line-height:1.6em; }


/* Industry cards — reduced size */
.industrias-grid { gap:1.5em; }
.industria-card { padding:2.5em 2.5em 2.5em 3.5em; }
.industria-icon { width:3.5em; height:3.5em; border-radius:.8em; margin-bottom:1.2em; }
.industria-icon svg { width:1.8em; height:1.8em; }
.industria-card h3 { font-size:1.7em; }
.industria-card p  { font-size:1.5em; }


/* Visor images fix */
.visor-card .bloque img { 
  max-width:22em; height:18em; object-fit:contain;
  margin:0 auto 2.5em; display:block;
  filter:drop-shadow(0 4px 20px rgba(128,74,138,.3));
}
/* Quest 3 has dark bg — make it blend */
.visor-card:nth-child(2) .bloque img { 
  background: transparent;
  mix-blend-mode: lighten;
}
/* Quest 3S has white bg — keep as is on dark card */
.visor-card:nth-child(3) .bloque img {
  filter: drop-shadow(0 4px 20px rgba(128,74,138,.3)) brightness(.95);
}


/* Visor images — bg fix */
.visor-card .bloque { position: relative; overflow: hidden; }
.visor-card .bloque img {
  max-width: 24em; height: 20em;
  object-fit: contain; display: block;
  margin: 0 auto 2.5em;
}
/* Quest 3: black background image — screen blend makes black transparent */
.visor-q3 .bloque img {
  mix-blend-mode: screen;
  background: transparent;
}
/* Quest 3S: white background image — place on white sub-container */
.visor-q3s .bloque .visor-img-wrap {
  background: #ffffff;
  border-radius: 2em;
  padding: 1em;
  margin-bottom: 2.5em;
  display: flex; align-items: center; justify-content: center;
  height: 20em;
}
.visor-q3s .bloque .visor-img-wrap img {
  max-width: 22em; height: 18em;
  object-fit: contain;
  margin: 0;
}


/* Ribbon z-index fix */
#clientes { position: relative; z-index: 2; isolation: isolate; }
.ribbon-wrap { position: relative; z-index: 2; }
.ribbon-track { position: relative; z-index: 2; }
.ribbon-txt { position: relative; z-index: 2; }
.ribbon-txt > div { position: relative; z-index: 2; }


/* ── NAV — single definitive ruleset ── */
header .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  flex-wrap: nowrap;
  margin-bottom: 13em;
}
header .top > a:first-child { flex-shrink: 0; }
header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  gap: 0;
}
header nav a {
  font-size: 1.8em;
  color: #808080;
  margin: 0 1.3em;
  white-space: nowrap;
  transition: color 0.3s;
}
header nav a:hover { color: #ffffff; }
header nav a.activo { color: #9380E1; }
.botonMenuMobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  flex-shrink: 0;
}
/* Single clean breakpoint — no intermediate shrinking */
@media (max-width: 1100px) {
  .botonMenuMobile { display: block; }
  header nav { display: none !important; }
}

/* Force hamburger hidden above 1100px — overrides any lower breakpoint */
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}


/* ════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover, micro-UX
   ════════════════════════════════════════════════ */

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(3em);
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-3em); }
[data-reveal="right"] { transform: translateX(3em);  }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal][data-delay="1"] { transition-delay: .1s; }
[data-reveal][data-delay="2"] { transition-delay: .2s; }
[data-reveal][data-delay="3"] { transition-delay: .3s; }
[data-reveal][data-delay="4"] { transition-delay: .4s; }
[data-reveal][data-delay="5"] { transition-delay: .5s; }

/* Card hover — lift + glow */
.bloquelinea {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bloquelinea:hover {
  transform: translateY(-.4em);
  box-shadow: 0 1.2em 3.5em rgba(128,74,138,.18);
}
/* Don't apply to static containers */
#sabermas .bloquelinea:hover,
.licencias .bloquelinea:hover,
.popup-box .bloquelinea:hover {
  transform: none;
  box-shadow: none;
}

/* FAQ accordion — smooth height transition */
.desplegable .item .contenido {
  transition: max-height .4s cubic-bezier(0.4,0,0.2,1),
              opacity .3s ease;
  opacity: 0;
}
.desplegable .item.open .contenido {
  opacity: 1;
}

/* Video play — pulse animation */
.videocontainer .video .play {
  animation: pulse-play 2s ease-in-out infinite;
}
.videocontainer .video:hover .play {
  animation: none;
}
@keyframes pulse-play {
  0%   { transform: translate(-50%,-50%) scale(1); }
  50%  { transform: translate(-50%,-50%) scale(1.08); }
  100% { transform: translate(-50%,-50%) scale(1); }
}

/* Stat cards — number glow on reveal */
.stat-card .stat-num {
  transition: text-shadow .5s ease;
}
.stat-card.revealed .stat-num {
  text-shadow: 0 0 2.5em rgba(128,74,138,.5);
}

/* Ribbon pause on hover — already set, ensure smooth */
.ribbon-track {
  transition: animation-play-state .3s;
}

/* Hero image — subtle float */
header .foto {
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-1.2em); }
  100% { transform: translateY(0); }
}

/* Boton — shimmer on hover */
.boton::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  transition: left .5s ease;
}
.boton:hover::after { left: 140%; }

/* Industry cards hover */
.industria-card {
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.industria-card:hover {
  border-color: #804A8A;
  transform: translateY(-.3em);
  box-shadow: 0 1em 2.5em rgba(128,74,138,.15);
}

/* Visor cards hover */
.visor-card .bloquelinea:hover {
  transform: translateY(-.5em);
  box-shadow: 0 1.5em 4em rgba(128,74,138,.22);
}

/* Nav links — underline slide */
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg,#804A8A,#56689F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  margin-top: .2em;
  border-radius: 2px;
}
header nav a:hover::after,
header nav a.activo::after {
  transform: scaleX(1);
}

/* Smooth scroll offset */
html { scroll-padding-top: 8em; }


/* ── NAV DEFINITIVE — overrides all previous rules ── */
header nav a {
  font-size: 1.7em !important;
  color: #808080 !important;
  margin: 0 1.2em !important;
  white-space: nowrap !important;
  font-weight: 400 !important;
  transition: color .3s !important;
}
header nav a:hover { color: #ffffff !important; }
header nav a.activo { color: #9380E1 !important; }
@media (min-width: 1101px) {
  .botonMenuMobile { display: none !important; }
  header nav { display: flex !important; }
}
@media (max-width: 1100px) {
  .botonMenuMobile { display: block !important; }
  header nav { display: none !important; }
}



.article-wrap{max-width:88em;margin:0 auto;}
.article-meta{display:flex;align-items:center;gap:2em;margin-bottom:2.5em;flex-wrap:wrap;}
.article-meta .cat{font-size:1.5em;font-weight:600;padding:.4em 1.5em;border-radius:100px;background:rgba(128,74,138,.15);color:#9380E1;text-transform:uppercase;letter-spacing:.06em;}
.article-meta .date{font-size:1.7em;color:#555;}
.article-wrap > h1{font-size:4.8em;font-weight:800;color:#fff;line-height:1.15em;margin-bottom:.6em;}
.article-lead{font-size:2.4em!important;color:#aaa!important;line-height:1.6em!important;margin-bottom:4em!important;border-left:4px solid #804A8A;padding-left:2em;}
.article-body h2{font-size:3.2em;font-weight:700;color:#fff;margin:1.8em 0 .6em;}
.article-body h3{font-size:2.6em;font-weight:600;color:#ddd;margin:1.4em 0 .5em;}
.article-body p{font-size:2.1em;color:#cccccc;line-height:1.75em;margin-bottom:1.3em;}
.article-body ul,.article-body ol{font-size:2.1em;color:#cccccc;line-height:1.75em;margin:1em 0 1.5em 2.5em;}
.article-body li{margin-bottom:.5em;}
.article-body strong{color:#fff;}
.article-body a{color:#9380E1;text-decoration:underline;}
.article-callout{background:linear-gradient(135deg,rgba(128,74,138,.1),rgba(86,104,159,.1));border:1px solid rgba(128,74,138,.25);border-radius:2.5em;padding:3.5em 4em;margin:3em 0;}
.article-callout p{font-size:2.2em!important;color:#ddd!important;margin:0!important;line-height:1.6em!important;font-style:italic;}
.article-stat-box{display:flex;gap:2em;flex-wrap:wrap;margin:3em 0;}
.article-stat-box .stat{flex:1;min-width:18em;text-align:center;background:#171717;border:1px solid #2a2a2a;border-radius:2em;padding:3em 2em;}
.article-stat-box .stat .num{display:block;font-size:4.5em;font-weight:800;background:linear-gradient(90deg,#804A8A,#56689F);-webkit-background-clip:text;-webkit-text-fill-color:transparent;line-height:1em;margin-bottom:.2em;}
.article-stat-box .stat p{font-size:1.7em!important;color:#888!important;margin:0!important;}
.external-cite{background:#171717;border-left:5px solid #9380E1;border-radius:0 2em 2em 0;padding:3em 4em;margin:3.5em 0;}
.external-cite .source-label{font-size:1.5em;color:#9380E1;font-weight:600;text-transform:uppercase;letter-spacing:.08em;display:block;margin-bottom:.5em;}
.external-cite p{font-size:2em!important;color:#ccc!important;margin:0 0 .8em!important;font-style:italic;line-height:1.5em!important;}
.external-cite a{font-size:1.7em;color:#9380E1;text-decoration:underline;}
.article-cta{background:linear-gradient(135deg,rgba(128,74,138,.15),rgba(86,104,159,.12));border:1px solid rgba(128,74,138,.2);border-radius:3.5em;padding:6em 5em;text-align:center;margin:6em 0 3em;}
.article-cta h3{font-size:3.2em;font-weight:700;color:#fff;margin-bottom:.5em;}
.article-cta p{font-size:2.2em!important;color:#aaa!important;margin-bottom:3em!important;}
.related-articles{margin-top:8em;padding-top:5em;border-top:1px solid #2a2a2a;}
.related-articles h2{font-size:3em;font-weight:700;color:#fff;margin-bottom:4em;}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5em;}
@media(max-width:800px){.related-grid{grid-template-columns:1fr;}}
.related-card{background:#171717;border:1px solid #2a2a2a;border-radius:2.5em;padding:3em;transition:transform .25s,border-color .25s;}
.related-card:hover{transform:translateY(-.3em);border-color:#804A8A;}
.related-card .cat{font-size:1.4em;font-weight:600;color:#9380E1;text-transform:uppercase;letter-spacing:.06em;display:block;margin-bottom:.8em;}
.related-card h4{font-size:2em;font-weight:600;color:#fff;line-height:1.3em;margin-bottom:.8em;}
.related-card a{font-size:1.7em;color:#9380E1;font-weight:600;}
.breadcrumb{font-size:1.7em;color:#555;margin-bottom:2.5em;}
.breadcrumb a{color:#9380E1;}
.breadcrumb span{margin:0 .5em;color:#333;}
@media(min-width:1101px){.botonMenuMobile{display:none!important;}header nav{display:flex!important;}}
@media(max-width:1100px){.botonMenuMobile{display:block!important;}header nav{display:none!important;}}


#menuMobile{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(14,14,14,.98);z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:2em;}
#menuMobile.open{display:flex;}
#menuMobile a{font-size:3.5em;color:#fff;font-weight:600;transition:color .2s;}
#menuMobile a:hover{color:#9380E1;}
#menuClose{position:absolute;top:3em;right:3em;background:none;border:none;color:#fff;font-size:3em;cursor:pointer;}
footer .redes .social svg{display:block;width:3em;height:3em;}
footer .redes .social svg path{fill:#804A8A;transition:fill .3s;}
footer .redes .social:hover svg path{fill:#fff;}


