/*
 Theme Name:   Hello Elementor Child
 Description:  Tema hijo para Hello Elementor
 Author:       Tu Nombre
 Template:     hello-elementor
 Version:      1.0.0
*/

/* ======================

   ÍNDICE:

1. Tokens de diseño / :root { }
    Variables CSS: colores, tipografías, espaciados, radios, sombras
    _________________________________________________________________________

2. Reset / Base global
    @font-face, box-sizing, p { margin:0 }, tipografía base

    _________________________________________________________________________
    
3. Utilidades atómicas
    .m-auto, .oki-text-highlight, .oki-btn-nBR — clases de un solo propósito

    _________________________________________________________________________

4. Animaciones globales @keyframes
    rotacion-circular, pulso-borde, tracking-in-expand, aparecerNegrita…

    _________________________________________________________________________

5. Componentes base (sin proyecto)
    Botones, Cards, Acordeones, Sliders, Formularios
    Clases: .okisam-*, .carta-dinamica, .logo-slider…


====================== */

/* ======================
   1. TOKENS DE DISEÑO / ROOT
====================== */

/* ======================
   2. BASE GLOBAL
====================== */

@font-face {
    font-family: "MyriadPro-Regular";
    src: url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.eot");
    src: url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.eot?#iefix")format("embedded-opentype"),
        url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.woff2")format("woff2"),
        url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.woff")format("woff"),
        url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.ttf")format("truetype"),
        url("https://db.onlinewebfonts.com/t/3dd6e9888191722420f62dd54664bc94.svg#MyriadPro-Regular")format("svg");
}

p {
    margin: 0;
}

/* ======================
   3. UTILIDADES ATÓMICAS
====================== */

.m-auto {
    margin: auto;
}

.oki-btn-nBR a {
    border-radius: 0;
}

.oki-btn-radius-10 a {
    border-radius: 10px;
}

.okisam-text-negrita {
    font-weight: bold;
}

.oki-text-highlight {
    color: #555555;
}

.oki-texto-limitado .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Número de líneas que quieres mostrar */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Esconde el texto que sobra */
    text-overflow: ellipsis;
    /* Añade los puntos suspensivos (...) */
}

.okisam-animacion-fwd-bottom {
    animation: tracking-in-expand-fwd-bottom 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.oki-case-meta a {
    width: 100%;

    & span {
        display: flex;
        justify-content: space-between;
        padding: 0 15px;
    }
}

@media (width <=1024px) {
    .oki-case-meta a {
        width: 100%;
        padding-left: 0px !important;

        & span {
            padding: 0 !important;
        }
    }
}

/* ======================
   4. ANIMACIONES GLOBALES
====================== */

@keyframes rotacion-circular-sentido-antiorario {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulso-borde {
    0% {
        transform: scale(1);
        opacity: 0.67;
    }

    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

@keyframes tracking-in-expand-fwd-bottom {
    0% {
        letter-spacing: -0.5em;
        transform: translateZ(-700px) translateY(500px);
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        transform: translateZ(0) translateY(0);
        opacity: 1;
    }
}

/* --- Animación para entrar (se vuelve negrita) --- */
@keyframes aparecerNegrita {
    0% {
        transform: scale(1);
        font-weight: normal;
    }

    50% {
        transform: scale(0.6);
        font-weight: bold;
    }

    100% {
        transform: scale(1);
        font-weight: bold;
    }
}

/* --- Animación para salir (vuelve a normal) --- */
@keyframes volverNormal {
    0% {
        transform: scale(1);
        font-weight: bold;
    }

    50% {
        transform: scale(0.6);
        font-weight: normal;
    }

    100% {
        transform: scale(1);
        font-weight: normal;
    }
}

/* ======================
   5. COMPONENTES
====================== */

/* !!!!!!!!!!!!!!!! Inicio Cards !!!!!!!!!!!!!!!! */

/* ===== Cards Hover​ ===== */

/* 1. Contenedor principal */
.carta-dinamica {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    min-height: 300px;
    /* Ajusta esto para que todas midan igual */
    display: flex;
}

/* 2. La imagen: Preparamos TODAS las propiedades desde el inicio */
.carta-dinamica .elementor-image-box-wrapper .elementor-image-box-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Estado inicial: Invisible y un poco más grande para efecto zoom */
    opacity: 0;
    transform: scale(1.1);

    /* La transición debe estar AQUÍ para que funcione al entrar Y al salir */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 10;
}

/* 3. El Contenido: También le damos una transición suave */
.carta-dinamica .elementor-image-box-content {
    position: relative;
    z-index: 5;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    width: 100%;
}

/* --- ESTADOS HOVER --- */

/* La imagen aparece y vuelve a su tamaño original */
.carta-dinamica:hover .elementor-image-box-wrapper .elementor-image-box-img img {
    opacity: 1;
    transform: scale(1);
}

/* El texto se desvanece suavemente (opcional pero recomendado para limpieza) */
.carta-dinamica:hover .elementor-image-box-content {
    opacity: 0;
    transform: translateY(10px);
    /* Pequeño desplazamiento hacia abajo al irse */
}

/* !!!!!!!!!!!!!!!! Final Cards !!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Inicio Botones !!!!!!!!!!!!!!!! */

/* ===== oki-btn-1​ ===== */
.okisam-btn-animation-icon-back .elementor-button .elementor-button-icon {
    display: flex;
    /* display: inline-block; */
    transition: transform 0.3s ease-out;
    /* Controla la suavidad del paso */
}
.okisam-btn-animation-icon-back:hover .elementor-button .elementor-button-icon {
    transform: translateX(-8px);
    /* Se mueve y se queda ahí mientras el mouse esté encima */
}

/* ===== oki-btn-1 animación circular===== */
.okisam-btn-animacion-circular {
    line-height: 1.3;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    padding-top: 4px;
    z-index: 10;
    pointer-events: auto;
}
@media (width <=425px) {
    .okisam-btn-animacion-circular {
        width: 150px;
        height: 150px;
    }
}
.okisam-btn-animacion-circular .elementor-button::after {
    content: '';
    display: block;
    /* A veces necesario para que renderice */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: -1;
    /* Cámbialo a 2 si quieres que tape el texto */
    background-image: url('https://componentes.devokisam.com/wp-content/uploads/2026/02/explore-button.png');
    /*-> Subir la imagen para que la pueda seleccionar el wordpress*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: rotacion-circular-sentido-antiorario 10s linear infinite;
    pointer-events: none;
}

/* !!!!!!!!!!!!!!!! Final Botones!!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Inicio Imágenes !!!!!!!!!!!!!!!! */

.okisam-container-play {
    min-width: 300px;
}

@media (width <=767px) {
    .okisam-container-play {
        min-width: 200px;
        width: 200px;
    }
}

@media (768px <=width <=1024px) {
    .okisam-container-play {
        min-width: 250px;
    }
}

.okisam-play-icon-blur {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    /* Fondo blanco casi transparente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    /* EL TRUCO DEL DESENFOQUE */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Para Safari */

    transition: all 0.3s ease;

    &::before {
        content: "";
        position: absolute;
        z-index: 0;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: transparent;
        border: 1px solid rgba(153, 153, 153, 20);
        border-radius: 50%;
        animation: pulso-borde 1500ms ease-out infinite;
        z-index: -2;
        border-radius: inherit;
    }
}

/* !!!!!!!!!!!!!!!! Final Imágenes !!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Inicio Formularios !!!!!!!!!!!!!!!! */

.okisam-aceptacion .pxl-contact-form .wpcf7-acceptance .wpcf7-list-item input,
.pxl-contact-form .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 8%;
    border-radius: 0px;
}

.elementor-widget-shortcode .elementor-shortcode .wpcf7 form .contact1 .pxl-contact-inner .pxl-inner-form .row div .form {
    width: 50%;

    & p {
        width: 100%;
    }
}

.elementor-widget-shortcode .elementor-shortcode .wpcf7 form .contact1 .pxl-contact-inner .pxl-inner-form .row div {
    display: flex;
    flex-direction: row;
    gap: 20px;

    & .form p .wpcf7-form-control-wrap input,
    .form p .wpcf7-form-control-wrap select {
        background-color: transparent;
        color: #999;
        padding: 0px 24px;
        padding-top: 3px;
        line-height: 1.73;
        font-size: 15px;
        font-weight: 400;
        height: 55px;
        -webkit-transition: all 300ms linear 0ms;
        -khtml-transition: all 300ms linear 0ms;
        -moz-transition: all 300ms linear 0ms;
        -ms-transition: all 300ms linear 0ms;
        -o-transition: all 300ms linear 0ms;
        transition: all 300ms linear 0ms;
        -webkit-box-shadow: none;
        -khtml-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        -khtml-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
        border-radius: 0;
        width: 100%;
        outline: none;
        border: 1px solid #d5d5d5;
    }
}

.elementor-widget-shortcode .elementor-shortcode .wpcf7 form .contact1 .pxl-contact-inner .pxl-inner-form .form p .wpcf7-form-control-wrap textarea {
    background-color: transparent;
    color: #999;
    padding: 0px 24px;
    padding-top: 3px;
    line-height: 1.73;
    font-size: 15px;
    font-weight: 400;
    height: 130px;
    -webkit-transition: all 300ms linear 0ms;
    -khtml-transition: all 300ms linear 0ms;
    -moz-transition: all 300ms linear 0ms;
    -ms-transition: all 300ms linear 0ms;
    -o-transition: all 300ms linear 0ms;
    transition: all 300ms linear 0ms;
    -webkit-box-shadow: none;
    -khtml-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    width: 100%;
    outline: none;
    border: 1px solid #d5d5d5;
}

.contact1 .pxl-contact-inner .pxl-inner-form .contact-submit {
    height: 55px;

    & p button {
        background-color: #000000;
        font-family: "Open Sans", Sans-serif;
        font-size: 16px;
        font-weight: 400;
        text-transform: uppercase;
        line-height: 22.5px;
        fill: #FFFFFF;
        color: #FFFFFF;
        padding: 16px 40px 16px 40px;
        width: 100%;
        height: 55px;
    }
}

.form-contact-trabaja {
    display: flex;
    flex-direction: column;
    gap: 24px;

    & .form-container p {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin: 0;



        & span {
            & input {
                border-radius: 10px !important;
                border: 2px solid var(--neutral-neutral-20, #CDCBCB) !important;
                background: var(--Text-Txt-Ligh, #FFF) !important;
                display: flex;
                padding: 16px 24px;
                align-items: center;
                gap: 10px;
                flex: 1 0 0;
            }

            & input::placeholder {
                color: var(--Text-Txt-Dark-secondary, #494D50);

                /* Body-M-regular */
                font-family: "Open Sans";
                font-size: 16px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                /* 22.4px */
                letter-spacing: 0.32px;
            }

        }
    }


    & .okisam-select p {
        margin: 0 !important;

        & span select {
            /* 1. Reset del icono nativo (Crucial) */
            appearance: none !important;
            -webkit-appearance: none;
            -moz-appearance: none;

            /* 2. Tu nuevo icono (SVG de flecha en gris #494D50) */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23494D50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
            background-repeat: no-repeat !important;
            background-position: right 24px center !important;
            background-size: 18px !important;

            /* 3. Tus estilos actuales */
            display: flex;
            height: 52px;
            padding: 14px 45px 14px 24px !important;
            /* Aumentamos padding derecho para no pisar la flecha */
            align-items: center;
            align-self: stretch;
            border-radius: 10px;
            border: 2px solid var(--neutral-neutral-20, #CDCBCB);
            background: var(--Text-Txt-Ligh, #FFF);
            color: var(--Text-Txt-Dark-secondary, #494D50);

            /* Body-M-regular */
            font-family: "Open Sans";
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.32px;
            width: 100%;
            /* Asegura que ocupe el contenedor */
        }
    }

    & p {
        margin: 0;

        & input[type="submit"] {
            margin-top: 16px;
            height: 44px;
            padding: 0 16px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            border-radius: 8px;
            background: var(--Brand-brand-Amber, #FAAA44);
            border: none;

            color: var(--Text-txt-dark, #19191A);

            /* CTA-M-Bold Italic */
            font-family: "Barlow Semi Condensed";
            font-size: 16px;
            font-style: italic;
            font-weight: 800;
            line-height: 140%;
            /* 22.4px */
        }
    }

    @media (max-width:515px) {
        & .form-container p {
            flex-direction: column;
            gap: 0;
        }
    }
}


/* Escondemos el input real pero que siga siendo funcional */
.okisam-button-archive input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Estilizamos el contenedor para que parezca un botón */
.custom-file-upload {
    display: flex;
    width: 120px;
    height: 48px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 1px solid var(--Neutral-neutral-90, #19191A);
    background: var(--Neutral-neutral-05, #F7F7F7);


    color: var(--Neutral-neutral-90, #19191A);

    /* Body M-Semibold */
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    /* 22.4px */
    letter-spacing: 0.32px;
}

.wpcf7-list-item {
    margin: 0 !important;
    padding: 0 !important;

    & label {
        gap: 12px;
        display: flex;
        align-items: flex-start;
    }
}

/* !!!!!!!!!!!!!!!! Final Formularios !!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Inicio Acordeones !!!!!!!!!!!!!!!! */

.e-n-accordion-item-title-header{
    & .e-n-accordion-item-title-text{
        & .accordion-title{

            & .acc-title-main{
                display: flex;
                align-items: center;
                gap: 70px;
                & .index{
                    color: var(--Text-Txt-Dark-secondary, #494D50);
                    /* Body-L */
                    font-family: "Wix Madefor Display";
                    font-size: 18px;
                    font-style: normal;
                    font-weight: 500;
                    line-height: 140%; /* 25.2px */
                }

                & h3{
                    color: var(--Text-Txt-Dark, #161A1D);
                    /* H3 */
                    font-family: "Wix Madefor Display";
                    font-size: 40px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 110%; /* 44px */
                }
                @media (max-width: 767px){
                    & h3{
                    color: var(--Text-Txt-Dark, #161A1D);
                    /* H3 */
                    font-family: "Wix Madefor Display";
                    font-size: 22px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 110%; /* 44px */
                }
                }
            }
            & .tags-and-icon{
                & .tags{
                    & span{
                        color: var(--Text-Txt-Dark-secondary, #494D50);
                        /* Body-L */
                        font-family: "Wix Madefor Display";
                        font-size: 18px;
                        font-style: normal;
                        font-weight: 500;
                        line-height: 140%; /* 25.2px */
                    }
                }
                & .arrow{
                    color: black;
                }
            }
        }
    }
}

.e-n-accordion-item-title-header:hover .e-n-accordion-item-title-icon {
    display: none;
}

/* !!!!!!!!!!!!!!!! Final Acordeones !!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Inicio Sliders !!!!!!!!!!!!!!!! */

/* !!!!!!!!!!!!!!!! Final Sliders !!!!!!!!!!!!!!!! */

/* ======================
   5. SECCIONES / ELEMENTOR
====================== */