/* Error de minimización. Devolviendo el contenido no minimizado.
(80,17): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(203,22): run-time error CSS1039: Token not allowed after unary operator: '-colorNegro'
(231,28): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimarioMedio'
(232,17): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(243,32): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimarioOscuro'
(260,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTextoMedio'
(282,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTexto'
(288,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(316,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(317,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBorde'
(332,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimarioClaro'
(337,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTextoMedio'
(373,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBorde'
(405,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTexto'
(411,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTextoSuave'
(446,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(447,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBorde'
(465,32): run-time error CSS1039: Token not allowed after unary operator: '-colorSecundario'
(496,25): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(530,22): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(542,49): run-time error CSS1039: Token not allowed after unary operator: '-colorSecundario'
(542,76): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(552,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTexto'
(557,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(564,28): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(568,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(575,28): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(576,17): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(589,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(607,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(635,28): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimarioBtnBg'
(637,17): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(650,32): run-time error CSS1039: Token not allowed after unary operator: '-colorSecundario'
(651,28): run-time error CSS1039: Token not allowed after unary operator: '-colorSecundario'
(652,21): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(687,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(692,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(696,22): run-time error CSS1039: Token not allowed after unary operator: '-colorBlanco'
(697,28): run-time error CSS1039: Token not allowed after unary operator: '-colorBorde'
(698,34): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(725,17): run-time error CSS1039: Token not allowed after unary operator: '-colorTexto'
(730,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(736,17): run-time error CSS1039: Token not allowed after unary operator: '-colorPrimario'
(771,21): run-time error CSS1039: Token not allowed after unary operator: '-colorTextoSuave'
 */

/***********************************************************************
** CONTENEDOR Y VARIABLES *********************************************/
/***********************************************************************/
/* containerServicio está en site.css */




/***********************************************************************
** SECCIÓN *************************************************************/
/***********************************************************************/
.section {
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/***********************************************************************
** 1. CABECERA SERVICIO ***********************************************/
/***********************************************************************/
.sectionCabeceraServicio {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cabeceraServicioFondo {
    position: relative;
    height: 75vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.parallaxOuter {
    position: absolute;
    inset: -25%;
    will-change: transform;
}

.bgKenBurns {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: kenBurns 10s ease-in-out forwards;
}

@keyframes kenBurns {
    from { transform: scale(1)    translateX(0); }
    to   { transform: scale(1.07) translateX(-1%); }
}

.cabeceraServicioFondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(6, 128, 194, 0.78) 0%, rgba(0, 10, 40, 0.75) 100%);
    z-index: 1;
    pointer-events: none;
}

.posicionTextoCabecera {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.tituloCabeceraServicio {
    position: relative;
    z-index: 2;
    color: var(--colorBlanco);
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 0.06em;
    margin: 0;
    text-align: center;
}
.tituloCabeceraServicio.tituloLargo {
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: 0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}
@media (max-width: 580px) {
    .tituloCabeceraServicio { font-size: 2.8rem; }
    .tituloCabeceraServicio.tituloLargo { font-size: 1.8rem; }
}
@media (max-width: 502px) {
    .tituloCabeceraServicio.tituloLargo { font-size: 1.7rem; }
}
@media (max-width: 472px) {
    .tituloCabeceraServicio.tituloLargo { font-size: 1.6rem; }
}
@media (max-width: 445px) {
    .tituloCabeceraServicio.tituloLargo { font-size: 1.5rem; }
}
@media (max-width: 421px) {
    .tituloCabeceraServicio.tituloLargo { font-size: 1.4rem; }
}
@media (max-width: 400px) {
    .tituloCabeceraServicio { font-size: 2.2rem; }
    .tituloCabeceraServicio.tituloLargo { font-size: 1.3rem; }
}
@media (max-width: 376px) {
    .tituloCabeceraServicio.tituloLargo { font-size: 1.2rem; }
}

.subtituloCabeceraServicio {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.85rem, 1.8vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-top: 14px;
    text-align: center;
}

/******************************************/
/**********Reveal cabecera (letras + palabras)*/

.tituloCabeceraServicio .letraCRM {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) skewY(6deg);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tituloCabeceraServicio .letraCRM.visible {
    opacity: 1;
    transform: translateY(0) skewY(0);
}

.subtituloCabeceraServicio .palabraSub {
    display: inline-block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.subtituloCabeceraServicio .palabraSub.visible {
    opacity: 1;
    transform: translateY(0);
}

.wrapperPersonajeCabecera {
    position: absolute;
    bottom: 28px;
    left: 40px;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wrapperPersonajeCabecera:hover {
    transform: scale(1.06);
}

.icoAbrirVideo {
    display: block;
    width: clamp(75px, 10.2vw, 196px);
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    transition: filter 0.3s ease;
}

.wrapperPersonajeCabecera:hover .icoAbrirVideo {
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.75));
}

.videoCabeceraServicio {
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
}

.videoCabeceraServicio.abierto {
    display: flex;
}

.videoBoxModal {
    position: relative;
    width: 90vw;
    max-width: 1040px;
    max-height: 85vh;
    aspect-ratio: 16 / 9;
    height: auto;
    background: var(--colorNegro);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

    .videoBoxModal video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

.controlesVideo {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.btnControlVideo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background-color: var(--colorPrimarioMedio);
    color: var(--colorBlanco);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

    .btnControlVideo:hover {
        background-color: var(--colorPrimarioOscuro);
    }


@media (max-width: 600px) {
    .wrapperPersonajeCabecera {
        left: 16px;
        bottom: 16px;
    }
}

/***********************************************************************
** 2.1 INTRO **********************************************************/
/***********************************************************************/
.parrafoIntroPagServicio {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    color: var(--colorTextoMedio);
    font-weight: 300;
    text-align: center;
}

/***********************************************************************
** 2.2 QUÉ TE OFRECEMOS **********************************************/
/***********************************************************************/
.colTituloQueOfrecemos {
    margin-left: 20px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.colTituloQueOfrecemos .cardSlideOfrece {
    flex: 1;
}

.tituloQueTeOfrecemos {
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--colorTexto);
    line-height: 1.2;
}

.iconQueTeOfrecemos {
    font-size: 2rem;
    color: var(--colorPrimario);
    transform: scaleY(-1);
}

@media screen and (orientation:portrait), screen and (orientation:landscape) and (max-width:999px) {
    .rowIconQueTeOfrecemos {
        justify-content: center;
    }
    .iconQueTeOfrecemos {
        transform: rotate(90deg);
    }
    .colSliderOfrece {
        padding-left: 16px;
    }
    .colTituloQueOfrecemos {
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 600px) {
    .colSliderOfrece {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.cardSlideOfrece {
    background-color: var(--colorBlanco);
    border: 1px solid var(--colorBorde);
    border-radius: 10px;
    padding: 40px 18px 22px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}



.numeroSlideOfrece {
    font-weight: 900;
    font-size: 3rem;
    color: var(--colorPrimarioClaro);
    line-height: 1;
}

.textoSlideOfrece {
    color: var(--colorTextoMedio);
    font-size: 0.88rem;
    line-height: 1.65;
}

.cardSlideOfrece p {
    line-height: 1.65;
}

[data-swiper="ofrecemos"] {
    overflow: hidden;
}

.paginacionOfrece {
    position: relative;
    margin-top: 14px;
    text-align: center;
}

    .paginacionOfrece .swiper-pagination-bullet {
        margin: 0 5px;
    }


/***********************************************************************
** 2.3 KPIs (4 COLUMNAS) *********************************************/
/***********************************************************************/
.gridKpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cardKpi {
    padding: 30px 18px;
    border-radius: 12px;
    border: 1px solid var(--colorBorde);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.45s cubic-bezier(.43,.39,.23,1.01), box-shadow 0.3s ease;
}

.cardKpi.visible {
    opacity: 1;
    transform: translateY(0);
}

.cardKpi.visible:hover {
    box-shadow: 0 8px 28px rgba(6, 128, 194, 0.12);
}

/* Durante el tilt se elimina la transición del transform para que siga al ratón sin lag */
.cardKpi.tilting {
    transition: box-shadow 0.3s ease;
}


.iconKpi {
    display: block;
    height: 52px;
    width: auto;
    margin: 0 auto 16px;
}

.tituloKpi {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--colorTexto);
    letter-spacing: 0.03em;
}

.textoKpi {
    font-size: 1rem;
    color: var(--colorTextoSuave);
    line-height: 1.65;
}

@media (max-width: 860px) {
    .gridKpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gridKpis {
        grid-template-columns: 1fr;
    }

    .iconKpi {
        height: 40px;
    }
}

/***********************************************************************
** 2.4 DOS COLUMNAS **************************************************/
/***********************************************************************/
.rowDosColumnas {
    flex-wrap: nowrap;
}

.colTextoServicio {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.boxServicio {
    background-color: var(--colorBlanco);
    border: 1px solid var(--colorBorde);
    border-radius: 12px;
    padding: 20px 40px 50px 40px;
    flex: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.boxServicioDestacado {
    position: relative;
}

    .boxServicioDestacado::before {
        content: "";
        position: absolute;
        left: 0;
        top: 70px;
        width: 20px;
        height: 60px;
        background-color: var(--colorSecundario);
      
    }

.tituloBoxServicio {
    font-size: 1.6em;
    font-weight: 600;
  
    line-height: 1.3;
}



.listadoCustomPlus {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0 ;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .listadoCustomPlus li {
        padding-left: 16px;
        position: relative;
    }

        .listadoCustomPlus li::before {
            content: "+";
            position: absolute;
            left: 0;
            color: var(--colorPrimario);
            font-weight: 600;
        }

.boxServicio p,
.listadoCustomPlus li {
    line-height: 1.65;
}

.colImagenServicio {
    flex: 0.9;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

@media (max-width: 860px) {
    .rowDosColumnas {
        flex-wrap: wrap;
    }

    .colImagenServicio {
        min-height: 260px;
        flex: none;
        width: 100%;
    }
}

/***********************************************************************
** 2.5 POR QUÉ MEDIALABS *********************************************/
/***********************************************************************/
.headerPorQue {
    padding: 34px 40px 46px;
    background: var(--colorBlanco);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(6, 128, 194, 0.1);
}

.headerPorQue::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 3px;
    background: linear-gradient(to bottom, var(--colorSecundario) 0%, var(--colorPrimario) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.tituloPorQue {
    font-size: clamp(1.3rem, 2.8vw, 1.9rem);
    font-weight: 600;
    color: var(--colorTexto);
    transition: color 0.3s ease;
}

.headerPorQue:hover .tituloPorQue {
    color: var(--colorPrimario);
}

.iconPorQue {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--colorPrimario);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--colorPrimario);
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.headerPorQue.abierto .iconPorQue {
    background-color: var(--colorPrimario);
    color: var(--colorBlanco);
    transform: rotate(45deg);
}

.headerPorQue .fa-circle-plus {
    transition: transform 0.35s ease;
}

.headerPorQue.abierto .fa-circle-plus {
    transform: rotate(45deg);
}

.headerPorQue.abierto .tituloPorQue {
    color: var(--colorPrimario);
}

/* Alas azules cerradas: clip a 5% c/lado → muestra solo el 90% donde está la caja blanca */
.wrapperPorQue {
    clip-path: inset(0 5% 0 5%);
    transition: clip-path 0.35s ease-in; /* cerrando: rápido */
}

/* Al abrir: alas crecen hacia los extremos, empieza 100ms después del slideToggle */
.wrapperPorQue.abierto {
    clip-path: inset(0 0% 0 0%);
    transition: clip-path 0.45s cubic-bezier(0, 0, 0.2, 1) 0.1s;
}

.porQueContent {
    display: none;
    overflow: hidden;
    background-color: var(--colorBlanco);
    padding: 40px 40px;
    margin-top: 30px;
    text-align: center;
}

.headerPorQue p,
.porQueContent p {
    line-height: 1.65;
}

/* Siempre visible — sin toggle, sin botón + */
.wrapperPorQue.porQueVisible {
    clip-path: inset(0 0% 0 0%);
    transition: none;
}
.wrapperPorQue.porQueVisible .porQueContent {
    display: block;
}





.btnSolicitarPropuesta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background-color: var(--colorPrimarioBtnBg);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--colorBlanco);
    padding: 14px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

    .btnSolicitarPropuesta:hover {
        background-color: var(--colorSecundario);
        border-color: var(--colorSecundario);
        color: var(--colorBlanco);
        text-decoration: none;
    }

@media (max-width: 860px) {
    .rowPorQue {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .porQueBg {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .btnSolicitarPropuesta {
        padding: 12px 22px;
        font-size: 0.8rem;
    }
}

/***********************************************************************
** 2.6 FAQs ***********************************************************/
/***********************************************************************/
.headerFaqs {
    padding: 20px 0;
    margin-bottom: 20px;
}

.tituloFaqs {
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--colorPrimario);
}

.iconFaqs {
    font-size: 2.4rem;
    color: var(--colorPrimario);
}

.faqItem {
    background: var(--colorBlanco);
    border: 1px solid var(--colorBorde);
    border-left: 10px solid var(--colorPrimario);
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.13);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.faqItem.faqItemOpen {
    box-shadow: 0 6px 24px rgba(6, 128, 194, 0.16);
}

.faqPregunta {
    padding: 20px 20px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faqItem.faqItemOpen .faqPregunta {
    background-color: rgba(6, 128, 194, 0.04);
}

.textoPreguntaFaq {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--colorTexto);
    transition: color 0.25s ease;
}

.faqPregunta:hover .textoPreguntaFaq {
    color: var(--colorPrimario);
}

/* Cerrado: espejo X del anterior + giro derecha → apunta hacia abajo ("desplegable") */
/* Abierto:  base scaleY(-1) + giro izquierda → indica "contraíble"                  */
.iconFaqToggle {
    color: var(--colorPrimario);
    font-size: 1rem;
    flex-shrink: 0;
    transform: scaleY(-1) rotate(-15deg);
    transition: transform 0.35s ease;
}

.faqItem.faqItemOpen .iconFaqToggle {
    transform: scaleX(-1) scaleY(-1) rotate(15deg);
}

/* grid-template-rows: animación fluida sin max-height ni JS de alturas */
.faqRespuesta {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0, 0, 0.2, 1);
}

.faqItem.faqItemOpen .faqRespuesta {
    grid-template-rows: 1fr;
}

.faqRespuestaInner {
    overflow: hidden;
    padding: 0 20px;
    transition: padding 0.38s cubic-bezier(0, 0, 0.2, 1);
}

.faqItem.faqItemOpen .faqRespuestaInner {
    padding: 16px 20px 24px;
}

    .faqRespuestaInner p {
        font-size: 1rem;
        line-height: 1.65;
        color: var(--colorTextoSuave);
    }

@media (max-width: 600px) {
    .textoPreguntaFaq {
        font-size: 1rem;
    }
}

