/*******************************************************************************
 * THEME INFORMATION
 ******************************************************************************/
/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/

/* Importación de variables CSS */
@import './css/variables.css';

/*******************************************************************************
 * UTILIDADES
 ******************************************************************************/

/* Optimizaciones de rendimiento */
* {
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* Reducir repaints */
.animate-on-scroll {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* Contenedor para elementos animados */
.animation-container {
    contain: layout style paint;
}

/* Prevenir FOUC */
.wf-loading {
    opacity: 0;
}

.wf-active {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Optimizaciones para el scroll */
body {
    overflow-anchor: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optimizaciones para móviles */
@media (max-width: 768px) {
    .animation-container {
        contain: content;
    }

    .animate-on-scroll {
        will-change: auto;
    }
}

span.invbit-credits-project-type-label {
    color: #c2d500 !important;
}

li.invbit-credits-feature-item::before {
    background-color: #c2d500 !important;
}

#Wrapper li.invbit-credits-feature-item {
    color: #f7f7f7;
    text-transform: uppercase;
    letter-spacing: -0.32px;
}

/* Estilos necesarios para Lenis Smooth Scroll */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.flexColumn .mcb-wrap-inner {
    display: flex;
    flex-direction: column;
}

.flexEnd .mcb-wrap-inner {
    align-content: flex-end;
}

.white,
.white * {
    color: #f7f7f7;
}

body {
    overflow: hidden !important;
}

.hidden {
    display: none;
}

/* 
.pojo-a11y-toolbar-toggle {
    display: none;
} */


/* Ocultar elementos para validación de email */
.validate_email_against_bot {
    display: none;
}

/* Fix para scroll en popups */
html.mfn-popup-browser-scroll-disabled {
    padding-right: 0;
}

/* animacion entre paginas */
/* Contenedor de la transición */
.page-transition {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    top: 0;
    left: 0;
    pointer-events: none;
    display: flex;
    opacity: 0;
    visibility: hidden;
}

.transition-panel {
    flex: 1;
    background: #000;
    transform: scaleX(0);
    transform-origin: center;
}


#back_to_top.sticky.scroll.focus {
    background-color: transparent !important;
}

/*******************************************************************************
 * GESTIÓN DE CONSENTIMIENTO (COOKIES)
 ******************************************************************************/
.cmplz-cookiebanner .cmplz-categories .cmplz-category {
    background-color: transparent !important;
    border: 1px solid #f7f7f7;
    border-radius: 4px;
}

span.cmplz-category-header svg {
    fill: #fcfcfc !important;
}

/* Estilos del botón de gestión de consentimiento */
body #cmplz-manage-consent .cmplz-manage-consent {
    background-image: url(imagenes/fondo-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    right: unset !important;
    left: 0px;
    font-size: 0px;
    color: var(--negro) !important;
    width: 140px;
    background-color: transparent !important;
    box-shadow: unset !important;
    bottom: -2px !important;
    padding: 0 !important;
}

/* Icono del botón de consentimiento */
body #cmplz-manage-consent .cmplz-manage-consent:before {
    content: "";
    background-image: url(imagenes/icono-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    background-color: transparent;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
}

/* Efecto hover del icono */
body #cmplz-manage-consent .cmplz-manage-consent:hover:before {
    transform: translate(-50%, -54%);
    -webkit-transform: translate(-50%, -54%);
    -moz-transform: translate(-50%, -54%);
    -ms-transform: translate(-50%, -54%);
    -o-transform: translate(-50%, -54%);
}

.cmplz-header {
    display: block !important;
}

.cmplz-logo {
    text-align: center;
}

.cmplz-cookiebanner .cmplz-logo img {
    width: 100% !important;
    max-width: 150px !important;
}

.cmplz-buttons button {
    border-radius: 100vmax !important;
    text-transform: uppercase;
    font-weight: 600 !important;
}

.cmplz-cookiebanner {
    padding: 24px 16px;
}

/* Complianz documents */
@media only screen and (min-width: 768.9px) {

    .page-id-209 .content_wrapper.clearfix,
    .page-id-749 .content_wrapper.clearfix,
    .page-id-750 .content_wrapper.clearfix,
    .page-id-557 .content_wrapper.clearfix {
        padding-top: 120px;
        padding-bottom: 120px;
    }
}

@media only screen and (max-width: 768px) {

    .page-id-209 .content_wrapper.clearfix,
    .page-id-749 .content_wrapper.clearfix,
    .page-id-750 .content_wrapper.clearfix,
    .page-id-557 .content_wrapper.clearfix {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

#cmplz-document {
    max-width: 100%;
}

#cmplz-document h1,
.page-id-749 h1,
.page-id-750 h1 {
    font-size: 40px;
    line-height: 50px;
}


#cmplz-document h2,
.page-id-749 h2,
.page-id-750 h2,
#cmplz-document h3,
.page-id-749 h3,
.page-id-750 h3,
#cmplz-document h4,
.page-id-749 h4,
.page-id-750 h4 {
    letter-spacing: 0px;
    border: 0;
    padding: 0;
    margin-bottom: 15px;
    line-height: 1.2;
    text-transform: uppercase;
}

#cmplz-document h2 {
    font-size: 30px;
    line-height: 40px;
    margin-top: 20px;
}


#cmplz-document h3 {
    font-size: 24px;
    line-height: 34px;
}

#cmplz-document h4 {
    font-size: 20px;
    line-height: 30px;
}

.page-id-746 .the_content_wrapper {
    margin: 0;
    width: 100%;
}

#cmplz-document p,
#cmplz-document li,
#cmplz-document td,
.editor-styles-wrapper .cmplz-unlinked-mode p,
.editor-styles-wrapper .cmplz-unlinked-mode li,
.editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #f7f7f7;
}

#cmplz-document p.cmplz-subtitle {
    text-transform: uppercase;
    font-weight: 500;
}

div#cmplz-document a {
    font-weight: 700;
    text-decoration: none;
}

/* Desactivar animaciones de títulos para páginas específicas */
.page-id-749 h1,
.page-id-749 h2,
.page-id-749 h3,
.page-id-749 h4,
.page-id-749 h5,
.page-id-749 h6,
.page-id-750 h1,
.page-id-750 h2,
.page-id-750 h3,
.page-id-750 h4,
.page-id-750 h5,
.page-id-750 h6,
#cmplz-document h1,
#cmplz-document h2,
#cmplz-document h3,
#cmplz-document h4,
#cmplz-document h5,
#cmplz-document h6 {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    will-change: auto !important;
}

/* Asegurar que los contenedores de títulos no afecten la visualización */
.page-id-749 h1>div,
.page-id-749 h2>div,
.page-id-749 h3>div,
.page-id-749 h4>div,
.page-id-749 h5>div,
.page-id-749 h6>div,
.page-id-750 h1>div,
.page-id-750 h2>div,
.page-id-750 h3>div,
.page-id-750 h4>div,
.page-id-750 h5>div,
.page-id-750 h6>div,
#cmplz-document h1>div,
#cmplz-document h2>div,
#cmplz-document h3>div,
#cmplz-document h4>div,
#cmplz-document h5>div,
#cmplz-document h6>div {
    overflow: visible !important;
}

/* Desactivar animaciones para los títulos del contenido */
.page-id-749 .content__title,
.page-id-750 .content__title,
#cmplz-document .content__title {
    transform: none !important;
    opacity: 1 !important;
}

div#cmplz-cookies-overview *,
details.cmplz-category.cmplz-functional * {
    background-color: transparent !important;
    color: #fcfcfc !important;
    text-transform: uppercase;
}


/* kit digital */
body #mfn-footer-template .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #mfn-footer-template .financiacion>div {
    line-height: 0;
}

body #mfn-footer-template .financiacion>div img {
    max-height: 50px;
    width: auto;
}

body #mfn-footer-template .financiacion>div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #mfn-footer-template .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
    }

    body #mfn-footer-template .financiacion>div:last-child {
        grid-column: 1 / span 2;
    }
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    top: 70px !important;
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    font-size: 26px;
    padding: 8px;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    background-color: transparent !important;
    color: #ffffff;
    border: 1px solid #fff;
    border-radius: 100vmax;
}

/*******************************************************************************
 * FOOTER
 ******************************************************************************/
/* Estilos generales del footer */

#footer {
    position: relative;
    border-top: none;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #fff3;
}

/* Añadimos una clase que se aplicará cuando sea visible */
#footer.is-visible::before {
    animation: expandBorder 3s ease forwards;
}

@keyframes expandBorder {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Menús del footer */
body #Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

body #Footer .copyright .menu {
    gap: 0 10px;
    flex-direction: row;
}

body #Footer .menu li:after {
    content: none;
}

body #Footer .menu a {
    padding: 5px 0;
}

ul#mfn-footer-menu-70 a {
    padding: 0;
}

ul#mfn-footer-menu-70 {
    gap: 8px;
}

/*******************************************************************************
 * TIPOGRAFÍA Y BOTONES
 ******************************************************************************/
/* Encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

h1 {
    letter-spacing: -1.28px;
    opacity: 0;
}

h2,
h3,
h4,
h5,
h6 {
    will-change: transform, opacity;
    transform-origin: bottom;
    margin: 0;
    /* Para evitar espacios no deseados */
}

h1 {
    letter-spacing: -0.72px;
}

h3 {
    letter-spacing: -0.48px;
}

/* Botones */
.button {
    letter-spacing: -0.32px;
    border-radius: 100vmax;
    text-transform: uppercase;
}

/* header */
.logo a:hover {
    text-decoration: none;
}

.mfn-header-sticky-section {
    position: relative;
    z-index: 9999;
}

.mfn-header-sticky-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding-bottom: 1.5px;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
}

.mfn-header-sticky-section {
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%),
        radial-gradient(108% 167.67% at 46.27% 13.94%, #040405 0%, #040405 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%),
        linear-gradient(0deg, #030303 0%, #030303 100%) !important;
    backdrop-filter: blur(10px);
}

/*******************************************************************************
 * SIDEBAR MENU
 ******************************************************************************/
div#mfn-sidemenu-tmpl-707>div {
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%), radial-gradient(108% 167.67% at 46.27% 13.94%, #040405 0%, #040405 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%), linear-gradient(0deg, #030303 0%, #030303 100%), linear-gradient(180deg, rgba(17, 17, 17, 0.30) 0%, rgba(17, 17, 17, 0.00) 100%);
    border-left: 1px solid #f7f7f714;
}

/* Estilos para la animación del menú */
.mfn-sidemenu-menu {
    position: relative;
    will-change: transform;
}

.mfn-menu-link .menu-label {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.mfn-menu-link .char {
    display: inline-block;
    position: relative;
    transition: all 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, color;
}

/* Prevenir saltos de línea en los caracteres */
.mfn-menu-link .menu-label {
    white-space: nowrap;
}

/* Asegurar que el contenedor mantenga su altura */
.mfn-menu-label-wrapper {
    display: block;
    position: relative;
}

.mfn-menu-link .char.space {
    display: inline-block;
    width: 0.3em;
}

.current-menu-ancestor>a {
    border: 0 !important;
    padding-bottom: 0 !important;
}

.sub-menu a.mfn-menu-link {
    padding-bottom: 20px !important;
}

a.outer-menu-sub {
    margin-top: 9px;
}

/* Botón de menú hamburguesa */
.mcb-item-header_burger-inner a {
    border-radius: 100vmax;
    border: 2px solid #fff;
    padding: 6px 14px;
    max-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.mfn-sidemenu-closebutton {
    transition: all 0.3s ease;
}

a.mfn-sidemenu-closebutton:hover {
    transform: rotate(90deg);
}

/* Animación del botón con flecha */
.arrow-button .button_icon {
    transition: transform 0.3s ease;
}

.arrow-button .button:hover .button_icon {
    transform: rotate(-45deg);
}

/*******************************************************************************
 * HOME STYLES
 ******************************************************************************/
/* Ocultar el h1 inicialmente */
h1 .letter {
    display: inline-block;
    opacity: 0;
}

#mfn-visualbuilder h1 {
    opacity: 1;
}

/* Espaciado entre líneas */
h1 .line-1,
h1 .line-2,
h1 .line-3 {
    display: block;
}

.scroll-indicator {
    display:none;
}

.scroll-indicator .scroll {
    width: 2px;
    height: 50px;
    background-color: #fff;
    position: relative;
    margin: 0 auto;
    animation: scrollAnimation 2.5s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    50% {
        opacity: 1;
        height: 80px;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        height: 0px;
        transform: translateY(10px);
    }
}

.scroll-indicator .scroll .column {
    position: absolute;
    height: 100%;
    bottom: -65px;
}

.scroll-indicator {
    position: absolute;
    bottom: -144px;
}

/* clientes */
/* .clientes .mcb-column-inner {
    margin: 0;
}

.clientes .mcb-wrap-inner {
    display: flex;
    gap: 120px;
} */

/* trabajos */

/* Contenedor para el borde animado */
.pretitle {
    position: relative;
    display: inline-block;
}

.pretitle .title {
    position: relative;
    border-radius: 100vmax;
    padding: 12px 22px;
    max-height: 53px;
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%),
        radial-gradient(108% 167.67% at 46.27% 13.94%, #040405 0%, #040405 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%),
        linear-gradient(0deg, #030303 0%, #030303 100%);
    z-index: 1;
}

.pretitle .title::before,
.info-box:before,
.inner-box-gradient>.mcb-wrap-inner:before,
.trabajos-item .image_wrapper:before,
.cmplz-cookiebanner:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
}


#Wrapper .info-box:before {
    mask-composite: unset;
}

@keyframes pulse {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.arrow-link a.title_link {
    display: flex;
    align-items: center;
    gap: 8px;
}


.arrow-link a.title_link .button_icon {
    transition: all 0.3s ease;
}

.arrow-link a.title_link i {
    font-size: 12px;
    transition: all 0.3s ease;
}

.arrow-link a.title_link:hover {
    text-decoration: none;
}

.arrow-link a.title_link:hover .button_icon {
    transform: rotate(-45deg);
}

/* carousel trabajos */
.slider-trabajos .slick-list {
    width: 100%;
}

.slider-trabajos .slick-track {
    display: flex;
}

.slider-trabajos {
    justify-content: center;
    align-items: center;
    margin: auto;
}

@media only screen and (min-width: 1920.9px) {
    #Wrapper .trabajos-item .pretitle {
        right: calc((100vw - 1953px)/2);
    }

    .slider-trabajos .slide-info {
        max-width: 600px;
    }
}

@media only screen and (min-width: 1300px) {
    .slider-trabajos>.mcb-wrap-inner {
        width: 33.33% !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1299.9px) {
    .slider-trabajos {
        width: 50% !important;
    }

    .trabajos-item img {
        max-height: 600px;
        object-fit: cover;
    }
}

@media only screen and (min-width: 768px) {
    .slider-trabajos .slick-list {
        overflow: visible !important;
    }

    .trabajos-item.slick-active {
        transform: translateY(-65px);
    }

    .trabajos-item.slick-active .pretitle {
        display: none;
    }

    .slide-info {
        display: none;
    }

    .trabajos-item .pretitle {
        right: 34px;
    }
}

@media only screen and (max-width: 768px) {
    .trabajos-item {
        max-width: 800px !important;
        width: 100%;
        text-align: center;
    }

    .trabajos-item .slide-info {
        max-width: 540px;
        margin: auto;
    }

    .trabajos-item .pretitle {
        right: 120px;
    }

    .trabajos-item img {
        max-height: 400px;
        object-fit: cover;
    }
}

.boxed {
    max-width: 1600px !important;
    margin: auto;
}

.trabajos-item img {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    max-height: 600px;
    object-fit: cover;
}

@media only screen and (max-width: 1875px) {
    .trabajos-item img {
        max-height: 400px;
    }
}

.trabajos-item {
    transition: all 0.3s ease;
}

.trabajos-item .image_wrapper:before {
    border-radius: 24px;
}

.trabajos-item .pretitle {
    transition: all 0.3s ease;
}

.trabajos-item .pretitle .title {
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%), radial-gradient(108% 167.67% at 46.27% 13.94%, rgba(4, 4, 5, 0.10) 0%, rgba(4, 4, 5, 0.10) 55.82%, rgba(4, 4, 5, 0.03) 74%, rgba(4, 4, 5, 0.00) 100%), rgba(3, 3, 3, 0.60);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.tabajos-item .pretitle .title:before {
    display: none;
}

.slick-active .slide-info {
    display: block;
}

.trabajos-item .pretitle {
    position: absolute;
    z-index: 10;
    top: 34px;
    backdrop-filter: blur(2px);
}

/* Estilos para las flechas del slider */
.slider-trabajos .slick-arrow {
    width: 68px;
    height: 48px;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.30) 0%, rgba(17, 17, 17, 0.00) 100%);
    border-radius: 100vmax;
    position: static;
}

.slider-trabajos .slick-arrow:after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
}

.slider-trabajos .slick-arrow img {
    width: 24px;
    height: 24px;
}

.slider-trabajos .slick-controls {
    position: absolute;
    top: -100px;
    left: 49vw;
    display: flex;
    gap: 16px;
}

.slider-trabajos button:before {
    display: none;
}

.slick-controls .slick-prev:hover img {
    content: url(/wp-content/uploads/2025/03/arrowleft-black-2025-03-26-arrowleft-black.svg);
}

.slick-controls .slick-next:hover img {
    content: url(/wp-content/uploads/2025/03/arrowright-black-2025-03-26-arrowright-black-1.svg);
}


/* servicios */
.servicios-home.servicios {
    background-image: url('/wp-content/uploads/2025/03/inicio-2025-03-24-inicio-2.svg');
    background-size: 1080px;
}


#Wrapper .cc-2 ul {
    column-count: 2;
}


.inner-box-gradient,
.info-box {
    border-radius: 24px;
    border: 1.5px solid var(--stroke, rgba(255, 255, 255, 0.20));
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%), radial-gradient(108% 167.67% at 46.27% 13.94%, rgba(4, 4, 5, 0.30) 0%, rgba(4, 4, 5, 0.30) 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%), rgba(17, 17, 17, 0.20);
}

.info-box {
    padding: 34px;
}


.info-box .numero {
    font-size: 90px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1.8px;
    text-transform: uppercase;
    color: #fff;
}

.info-box p:last-of-type {
    margin-bottom: 0;
}

.gap-34 .mcb-wrap-inner {
    column-gap: 34px;
}


/*******************************************************************************
 * NOSOTROS
 ******************************************************************************/


.nosotros .info-box {
    max-width: 520px;
}

@media only screen and (max-width: 959px) {
    .sobre-mi .services-fix-img img {
        max-height: 60vw;
        object-fit: cover;
        object-position: top;
    }
}

/*******************************************************************************
 * PORTFOLIO NORMAL
 ******************************************************************************/
#Wrapper #Filters .filters_wrapper ul li a {
    position: relative;
    border-radius: 100vmax;
    padding: 12px 22px;
    max-height: 53px;
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%),
        radial-gradient(108% 167.67% at 46.27% 13.94%, #040405 0%, #040405 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%),
        linear-gradient(0deg, #030303 0%, #030303 100%);
    z-index: 1;
    color: #DAD7D6;
}

#Wrapper #Filters .filters_wrapper ul li a:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
}


#Wrapper #Filters .filters_wrapper ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

.portfolio-item img {
    max-height: 300px;
    min-height: 300px;
    object-fit: cover;
}

.portfolio-normal .portfolio-item .image_wrapper {
    border-radius: 8px;
}

.portfolio-normal .portfolio-item .desc {
    text-align: center;
}

#Wrapper .portfolio-normal .portfolio_group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

#Wrapper .portfolio-normal .portfolio_group .portfolio-item {
    position: static !important;
    width: 100% !important;
}

@media only screen and (max-width: 1024px) {
    #Wrapper .portfolio-normal .portfolio_group {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media only screen and (max-width: 768px) {
    #Wrapper .portfolio-normal .portfolio_group {
        grid-template-columns: repeat(1, 1fr);
    }

    .portfolio-normal .portfolio_wrapper {
        max-width: 450px;
        margin: auto;
    }
}

/* Estilos para la animación del portfolio normal */
.portfolio-normal .portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.portfolio-normal .portfolio-item.animate__fadeInUp {
    opacity: 1;
    transform: translateY(0);
}

/* Ajustar el timing para cada item */
.portfolio-normal .portfolio-item:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio-normal .portfolio-item:nth-child(3) {
    transition-delay: 0.4s;
}

/* Asegurarnos que la animación solo ocurra una vez */
.portfolio-normal .portfolio-item.animate__animated {
    animation-fill-mode: both;
}

/* Ajustes para dispositivos móviles */
@media only screen and (max-width: 767px) {
    .portfolio-normal .portfolio-item {
        transition-delay: 0s !important;
    }
}


/*******************************************************************************
 * SINGLE PROJECT
 ******************************************************************************/
.project-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 450px) {
    #Wrapper .project-title h1 {
        font-size: clamp(70px, 6vw, 108px) !important;
        line-height: clamp(70px, 6vw, 108px) !important;
    }
}

@media only screen and (max-width: 449.9px) {
    #Wrapper .project-title h1 {
        font-size: 50px !important;
        line-height: 1 !important;
    }
}

.featured-image img {
    height: 78vh;
    object-fit: cover;
}

@media only screen and (max-width: 767px) {
    .featured-image img {
        height: 60vw;
    }
}


.project-images>.mcb-wrap-inner {
    display: flex;
    gap: 40px;
}

.project-images .project-image .image_wrapper {
    position: relative;
    border-radius: 24px;
    display: inline-block;
}

.project-images .project-image .image_wrapper:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
}

.project-images .project-image .image_wrapper img {
    object-fit: cover;
    border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
}


.br-24 img {
    border-radius: 24px;
}


/* Navegación fija entre proyectos */
.fixed-nav .desc {
    background: #141414;
}

.fixed-nav * {
    color: #f7f7f7;
}

.fixed-nav .photo {
    min-height: 92px;
}

.fixed-nav .desc p,
.fixed-nav .desc h6 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.fixed-nav .desc>div {
    overflow: visible !important;
}

.fixed-nav img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Asegurar que el contenedor no afecte la visibilidad */
.fixed-nav .desc>div>* {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

@media only screen and (min-width:1440.9px) {
    #Wrapper .project-images .project-image .image_wrapper img {
        max-width: 600px;
        height: 600px;
    }
}

@media only screen and (min-width:1024.9px) and (max-width: 1440px) {
    #Wrapper .project-images .project-image .image_wrapper img {
        max-width: 500px;
        height: 500px;
    }
}

@media only screen and (min-width: 500.9px) and (max-width:1024px) {
    #Wrapper .project-images .project-image .image_wrapper img {
        max-width: 400px;
        height: 400px;
    }
}

@media only screen and (min-width: 768px) {
    .post-content .mcb-column-inner {
        text-transform: uppercase;
        margin: 0;
        font-size: 20px;
        line-height: 1.5;
    }
}

@media only screen and (max-width: 767.9px) {

    .post-content .mcb-column-inner {
        text-transform: uppercase;
        margin: 0;
        font-size: 16px;
        line-height: 1.5;
    }
}

@media only screen and (min-width: 500px) {
    .project-images .project-image:nth-child(even) {
        text-align: left;
    }

    .project-images .project-image:nth-child(odd) {
        text-align: right;
    }
}

@media only screen and (max-width: 500px) {
    .project-images .project-image .image_wrapper img {
        max-width: 300px;
        height: 300px;
    }

    .project-images .mcb-wrap-inner {
        text-align: center;
    }
}

/*******************************************************************************
 * FOOTER
 ******************************************************************************/
.footer-links {
    display: flex;
    gap: 64px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#Wrapper .footer-links a {
    text-decoration: none;
}

.footer-links .right-links a {
    text-transform: uppercase;
}



/*******************************************************************************
 * MEDIA QUERIES
 ******************************************************************************/

@media only screen and (min-width: 768.9px) and (max-width: 1875px) {
    #Wrapper .hero {
        padding-bottom: 230px;
    }
}



@media only screen and (max-width: 1239px) {

    .container,
    .section_wrapper,
    .with_aside .content_wrapper {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1100px) {
    #Wrapper h1.title {
        font-size: clamp(27px, 5vw, 64px);
        line-height: clamp(42px, 8vw, 77px);
    }
}

/* Tablet y móvil (max-width: 959px) */
@media only screen and (max-width: 959px) {
    .slider-trabajos .slick-controls {
        top: -90px;
        left: 54vw;
    }

    .info-box .numero {
        font-size: 70px;
    }

    .servicios-home .order--1 {
        order: -1;
    }

    /* Animaciones */
    body .animate {
        animation-delay: 0ms !important;
    }

    /* Footer */
    body #Footer .footer_copy .mcb-column-inner {
        flex-direction: column;
    }

    body #Footer .copyright .menu {
        justify-content: center;
    }

    body #Footer .footer_copy .copyright {
        text-align: center;
    }

    body #Footer .footer_copy .social {
        margin-top: 15px;
    }

    /* Kit Digital */
    body #Footer .footer_action .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
    }

    body #Footer .footer_action .financiacion>div:last-child {
        grid-column: 1 / span 2;
    }
}

@media only screen and (max-width: 959px) {

    .container,
    .section_wrapper,
    .with_aside .content_wrapper {
        max-width: 100% !important;
        padding-inline: 16px;
    }
}

@media only screen and (min-width: 768px) {
    section.default-width .section_wrapper {
        padding-inline: 24px;
    }
}


@media only screen and (max-width: 767.9px) {
    #Wrapper .scroll>.mcb-column-inner {
        height: 0;
    }

    #Wrapper .hero {
        padding-bottom: 60px;
    }

    body #Footer .footer_action .financiacion>div img {
        max-height: unset;
        width: 100%;
    }

    section.default-width .section_wrapper {
        padding-inline: 16px;
    }

    section#footer {
        padding-inline: 0;
        max-width: 100% !important;
    }

    footer .reset-width .mcb-wrap-inner {
        align-content: baseline;
    }

    .mobile-flex-start .mcb-wrap-inner {
        display: flex;
        align-items: flex-start;
        align-content: flex-start;
    }

    #Wrapper .slider-trabajos .slick-controls {
        right: 30px;
        left: unset;
    }

    .trabajos-item .pretitle {
        right: 34px;
    }

    .trabajos-item {
        padding-inline: 16px;
    }

    .trabajos-item img {
        width: 100vw;
    }
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
}


@media only screen and (max-width: 550px) {
    .info-boxes .mcb-wrap-inner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
    }

    .info-boxes .column {
        width: 100% !important;
    }

    .info-boxes .column .info-box {
        justify-content: center;
        display: flex;
        flex-direction: column;
        padding: 20px;
        min-height: 236px;
    }

    #Wrapper .cc-2 ul {
        column-count: 1;
    }

    .slider-trabajos .slick-controls {
        top: -50px;
    }
}

@media only screen and (min-width: 541px) {
    h1 span.line-1 {
        margin-left: 150px;
    }

}

@media only screen and (min-width:435px) and (max-width: 540.9px) {
    h1 span.line-1 {
        margin-left: calc((100vw - 350px)/2);
    }

}

@media only screen and (max-width: 425.9px) {
    .info-boxes .mcb-wrap-inner {
        grid-template-columns: 1fr;
    }

    .info-boxes .column .info-box {
        align-items: center;
    }

    .services-fix-img img {
        min-width: 100%;
    }
}


/*******************************************************************************
 * SERVICIOS
 ******************************************************************************/
.servicios-home.servicios {
    background-image: url('/wp-content/uploads/2025/03/inicio-2025-03-24-inicio-2.svg');
    background-size: 1080px;
}

/* sobre mi */
@media only screen and (min-width: 767.9px) {
    #Wrapper .hero.about {
        height: 105dvh;
        max-height: 105dvh;
    }
}

@media only screen and (max-width: 767px) {
    #Wrapper .hero.about {
        background-position: 80% 0%;
        background-size: cover;
    }
}

/* home trabajos */
.trabajos-item .mcb-wrap-inner .column>.mcb-column-inner {
    margin-bottom: 20px;
}

#Wrapper .trabajos-item .slide-info>.mcb-column-inner {
    margin-bottom: 9px;
}

.slide-info a.title_link:hover {
    text-decoration: none;
}



#Wrapper .trabajos-item .image_frame {
    transition: transform 0.3s ease;
}

#Wrapper .trabajos-item:hover .image_frame {
    transform: scale(1.025);
}

/*******************************************************************************
 * CONTACTO
 ******************************************************************************/
.single-line h1 span.line-1 {
    margin-left: 0;
}

.formCol {
    max-width: 600px;
    margin-inline: auto;
}

.formCol form {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}

/* Estilos para el formulario de contacto */
.formCol span.wpcf7-form-control-wrap {
    width: 99.9%;
}

span.wpcf7-form-control.wpcf7-acceptance span:before {
    display: none;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    position: relative;
    border-radius: 8px;
    background: linear-gradient(142deg, rgba(255, 255, 255, 0.05) 2.65%, rgba(255, 255, 255, 0.00) 44.8%),
        radial-gradient(108% 167.67% at 46.27% 13.94%, #040405 0%, #040405 55.82%, rgba(4, 4, 5, 0.30) 74%, rgba(4, 4, 5, 0.00) 100%),
        linear-gradient(0deg, #030303 0%, #030303 100%);
    padding: 12px 22px;
    width: 100%;
    border: none;
    color: #fff;
    text-transform: uppercase;
}

/* Excepción para el textarea que necesita bordes más cuadrados */
.wpcf7-form textarea {
    border-radius: 8px;
    min-height: 150px;
}

/* Contenedor para el borde animado */
.wpcf7-form label {
    position: relative;
    display: block;
    margin-bottom: 0;
}

/* Borde animado */
.wpcf7-form label span:before {
    content: "";
    position: absolute;
    z-index: 10;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(transparent,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent,
            transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulse 14s linear infinite;
    will-change: background-position;
    border-radius: 8px;
}


/* Estilos para el checkbox */
.wpcf7-form .wpcf7-acceptance {
    display: block;
    margin: 20px 0;
}

/* Ocultar el campo de validación contra bots */
.validate_email_against_bot {
    display: none !important;
}

/* Estilos para los placeholders - Optimizado para todos los navegadores */
.wpcf7-form input::-webkit-input-placeholder,
.wpcf7-form textarea::-webkit-input-placeholder {
    color: #fcfcfc;
    opacity: 1;
    text-transform: uppercase;
}

.wpcf7-form input::-moz-placeholder,
.wpcf7-form textarea::-moz-placeholder {
    color: #fcfcfc;
    opacity: 1;
    text-transform: uppercase;
}

.wpcf7-form input:-ms-input-placeholder,
.wpcf7-form textarea:-ms-input-placeholder {
    color: #fcfcfc;
    opacity: 1;
    text-transform: uppercase;
}

.wpcf7-form input::-ms-input-placeholder,
.wpcf7-form textarea::-ms-input-placeholder {
    color: #fcfcfc;
    opacity: 1;
    text-transform: uppercase;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #fcfcfc;
    opacity: 1;
    text-transform: uppercase;
}

.form-legal {
    font-size: 0.6em;
    line-height: 1.5;
}

.wpcf7-acceptance span.wpcf7-list-item {
    margin: 0;
}

.wpcf7-acceptance span.wpcf7-list-item a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.formCol input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: transparent;
    border: 0;
    text-transform: uppercase;
}

#Wrapper .formCol .button_right:hover .button_label * {
    color: #fcfcfc;
}

#Wrapper .formCol .button span.button_label input {
    text-transform: uppercase;
    padding: 0 !important;
    margin: 0;
    min-height: 0;
}