/*
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
*/

@import './css/variables.css';

:root {
    /* --- Colors --- */
    --color-shadow: hsl(0 0% 14%);
    --color-shadow-hex: #232323;

    --color-primary-accessibility-4-5-1: hsl(199 100% 37%);
    --color-primary-accessibility-4-5-1-hex: #007CC0;

    --color-bg-dark-blue: hsl(203 63% 7%);
    --color-bg-dark-blue-hex: #06131B;

    --color-white: hsl(0 0% 100%);
    --color-white-hex: #FFFFFF;

    --color-primary-lighten-mod: hsl(209 67% 94%);
    --color-primary-lighten-mod-hex: #E5F0FA;

    --color-paragraphs: hsl(210 14% 31%);
    --color-paragraphs-hex: #45505B;

    --color-primary-lighten: hsl(210 66% 98%);
    --color-primary-lighten-hex: #F5F9FD;

    --color-secondary-red: hsl(346 100% 41%);
    --color-secondary-red-hex: #D50032;

    --color-primary-no-contrast: hsl(208 69% 66%);
    --color-primary-no-contrast-hex: #6CACE4;

    --color-shadow-lighter: hsl(0 0% 76%);
    --color-shadow-lighter-hex: #C2C2C2;

    --color-primary-dark: hsl(208 69% 39%);
    --color-primary-dark-hex: #1F69AA;

    /* --- Typography (experience) --- */
    --font-family-sempre-celta: "Sempre Celta", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-family-inter: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Mobile (base) */
    --font-experience-p-large-size: 0.984rem;
    --font-experience-p-large-line-height: 1.4;

    --font-experience-featured-paragraph-size: 1.313rem;
    --font-experience-featured-paragraph-line-height: 1;

    --font-experience-h3-size: 1.313rem;
    --font-experience-h3-line-height: 1;

    --font-experience-p-featured-large-size: 1.531rem;
    --font-experience-p-featured-large-line-height: 1.4;

    --font-experience-form-label-size: 0.875rem;
    --font-experience-form-label-line-height: 1.4;
    --font-experience-form-label-letter-spacing: -0.125em;

    --font-experience-form-completed-size: 0.875rem;
    --font-experience-form-completed-line-height: 1.4;
    --font-experience-form-completed-letter-spacing: -0.125em;

    --font-experience-form-size: 0.875rem;
    --font-experience-form-line-height: 1.4;
    --font-experience-form-letter-spacing: -0.125em;

    --font-experience-nav-size: 0.984rem;
    --font-experience-nav-line-height: 1.4;
    --font-experience-nav-letter-spacing: -0.125em;

    --font-experience-legales-size: 0.766rem;
    --font-experience-legales-line-height: 1;
}

@media (width >= 992px) {
    :root {
        --font-experience-p-large-size: 1.055rem;
        --font-experience-featured-paragraph-size: 1.406rem;
        --font-experience-h3-size: 1.406rem;
        --font-experience-p-featured-large-size: 1.641rem;
        --font-experience-form-label-size: 0.938rem;
        --font-experience-form-completed-size: 0.938rem;
        --font-experience-form-size: 0.938rem;
        --font-experience-nav-size: 1.055rem;
        --font-experience-legales-size: 0.82rem;
    }
}

@media (width >= 1200px) {
    :root {
        --font-experience-p-large-size: 1.125rem;
        --font-experience-featured-paragraph-size: 1.5rem;
        --font-experience-h3-size: 1.5rem;
        --font-experience-p-featured-large-size: 1.75rem;
        --font-experience-form-label-size: 1rem;
        --font-experience-form-completed-size: 1rem;
        --font-experience-form-size: 1rem;
        --font-experience-nav-size: 1.125rem;
        --font-experience-legales-size: 0.875rem;
    }
}

@media (width >= 1921px) {
    :root {
        --font-experience-p-large-size: 1.181rem;
        --font-experience-featured-paragraph-size: 1.575rem;
        --font-experience-h3-size: 1.575rem;
        --font-experience-p-featured-large-size: 1.838rem;
        --font-experience-form-label-size: 1.05rem;
        --font-experience-form-completed-size: 1.05rem;
        --font-experience-form-size: 1.05rem;
        --font-experience-nav-size: 1.181rem;
        --font-experience-legales-size: 0.919rem;
    }
}

/* --- Color utilities --- */
.bg-shadow {
    background-color: var(--color-shadow) !important;
}

.text-shadow {
    color: var(--color-shadow) !important;
}

.bg-primary {
    background-color: var(--color-primary-accessibility-4-5-1) !important;
}

.text-primary {
    color: var(--color-primary-accessibility-4-5-1) !important;
}

.bg-primary-accessibility-4-5-1 {
    background-color: var(--color-primary-accessibility-4-5-1) !important;
}

.text-primary-accessibility-4-5-1 {
    color: var(--color-primary-accessibility-4-5-1) !important;
}

.bg-bg-dark-blue {
    background-color: var(--color-bg-dark-blue) !important;
}

.text-bg-dark-blue {
    color: var(--color-bg-dark-blue) !important;
}

.bg-white {
    background-color: var(--color-white) !important;
}

.text-white {
    color: var(--color-white) !important;
}

.bg-primary-lighten-mod {
    background-color: var(--color-primary-lighten-mod) !important;
}

.text-primary-lighten-mod {
    color: var(--color-primary-lighten-mod) !important;
}

.bg-paragraphs {
    background-color: var(--color-paragraphs) !important;
}

.text-paragraphs {
    color: var(--color-paragraphs) !important;
}

.bg-primary-lighten {
    background-color: var(--color-primary-lighten) !important;
}

.text-primary-lighten {
    color: var(--color-primary-lighten) !important;
}

.bg-secondary-red {
    background-color: var(--color-secondary-red) !important;
}

.text-secondary-red {
    color: var(--color-secondary-red) !important;
}

.bg-primary-no-contrast {
    background-color: var(--color-primary-no-contrast) !important;
}

.text-primary-no-contrast {
    color: var(--color-primary-no-contrast) !important;
}

.bg-shadow-lighter {
    background-color: var(--color-shadow-lighter) !important;
}

.text-shadow-lighter {
    color: var(--color-shadow-lighter) !important;
}

.bg-primary-dark {
    background-color: var(--color-primary-dark) !important;
}

.text-primary-dark {
    color: var(--color-primary-dark) !important;
}

/* --- Typography utilities (experience) --- */
.text-experience-p-large {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-p-large-size) !important;
    line-height: var(--font-experience-p-large-line-height) !important;
    font-weight: 400 !important;
}

.text-experience-featured-paragraph {
    font-family: var(--font-family-sempre-celta);
    font-size: var(--font-experience-featured-paragraph-size) !important;
    line-height: var(--font-experience-featured-paragraph-line-height) !important;
    font-weight: 400 !important;
}

.text-experience-h3 {
    font-family: var(--font-family-sempre-celta);
    font-size: var(--font-experience-h3-size) !important;
    line-height: var(--font-experience-h3-line-height) !important;
    font-weight: 600 !important;
}

.text-experience-p-featured-large {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-p-featured-large-size) !important;
    line-height: var(--font-experience-p-featured-large-line-height) !important;
    font-weight: 500 !important;
}

.text-experience-form-label {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-form-label-size) !important;
    line-height: var(--font-experience-form-label-line-height) !important;
    font-weight: 500 !important;
    letter-spacing: var(--font-experience-form-label-letter-spacing);
}

.text-experience-form-completed {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-form-completed-size) !important;
    line-height: var(--font-experience-form-completed-line-height) !important;
    font-weight: 500 !important;
    letter-spacing: var(--font-experience-form-completed-letter-spacing);
}

.text-experience-form {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-form-size) !important;
    line-height: var(--font-experience-form-line-height) !important;
    font-weight: 400 !important;
    letter-spacing: var(--font-experience-form-letter-spacing);
}

.text-experience-nav {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-nav-size) !important;
    line-height: var(--font-experience-nav-line-height) !important;
    font-weight: 400 !important;
    letter-spacing: var(--font-experience-nav-letter-spacing);
}

.text-experience-legales {
    font-family: var(--font-family-inter);
    font-size: var(--font-experience-legales-size) !important;
    line-height: var(--font-experience-legales-line-height) !important;
    font-weight: 400 !important;
}

.validate_email_against_bot {
    display: none;
}

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;
}

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;
    -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;
}

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%);
}

/* Arregla padding al abrir popup deshabilitando scroll de la web */
html.mfn-popup-browser-scroll-disabled {
    padding-right: 0;
}


/*********************************\
            COPYRIGHT
\*********************************/
body #Footer .copyright a:hover {
    text-decoration: none;
}

body #Footer .footer_copy {
    border: 0;
    background: black;
    color: white;
}

body #Footer .footer_copy a {
    color: white;
}

body #Footer .footer_copy a:hover {
    color: var(--primary);
}

body #Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

body #Footer .footer_copy .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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;
}

body #Footer .footer_copy .copyright {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .02em;
    float: none;
    text-align: left;
}

body #Footer .footer_copy .copyText {
    margin: 0 0 5px;
}

body #Footer .footer_copy .social {
    line-height: 0;
}

body #Footer .footer_copy .social li a {
    font-size: 22px;
    line-height: 1;
}

@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    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 {
    background: none;
}

body #Footer .footer_action .one {
    margin-bottom: 0;
}

body #Footer .footer_action .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #Footer .footer_action .financiacion>div {
    line-height: 0;
}

body #Footer .footer_action .financiacion>div img {
    max-height: 50px;
    width: auto;
}

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

@media only screen and (max-width: 959px) {
    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: 767px) {
    body #Footer .footer_action .financiacion>div img {
        max-height: unset;
        width: 100%;
    }
}

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