/*
Theme Name: AI Empresarial
Theme URI: 
Author: Alex
Author URI: 
Description: Plantilla ligera y moderna optimizada
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Ai Empresarial
Tags: corporative, responsive, minimal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
    margin-top: 0px !important;
    font-size: 65.5%;
}

p {
    line-height: 1.2;
}

:root {
    --bs-font-sans-serif: "Inter", sans-serif;

    --header-font: "Playfair Display", serif;

    --btn-padding-x: 0.75rem;
    --btn-padding-y: 0.375rem;

    --bs-border-radius: 0.375rem;

    --wc-product-filter-checkbox-list-label-element: rgb(var(--main-color)) !important;
    --swiper-theme-color: rgba(var(--tertiary-color), 1) !important
}

.nav-pills {
    --bs-nav-pills-link-active-bg: rgb(var(--main-color)) !important;
}

.nav-pills .nav-link {
    --bs-nav-link-color: rgb(var(--main-color)) !important;
    border: 1px solid transparent;
}

.nav-pills .nav-link:not(.active):focus,
.nav-pills .nav-link:not(.active):hover {
    color: rgb(var(--main-color));
    border: 1px solid rgb(var(--main-color));
}

.toast {
    --bs-toast-font-size: var(--bs-body-font-size);
}

body.modal-open {
    padding-right: 0 !important;
    /* Permite scroll aunque el modal esté abierto */
}

h1.slider-h1 {
    font-size: var(--h1-slider-title-size) !important;
}

.slider-p p {
    font-size: var(--p-slider-size) !important;
    margin-bottom: 0;
}

.hero-video-section {
    width: 100%;
    height: 50vh;
    max-height: 600px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.25) 10%,
            rgba(0, 0, 0, 0.1) 14%,
            rgba(0, 0, 0, 0) 16%);
    z-index: 1;
    pointer-events: none;
}

.hero-video-section>.container {
    position: relative;
    z-index: 2;
}

.hero-video-section>video,
.hero-video-section>img {
    z-index: 0;
}

/* Video Alignment Options */
.hero-video.video-pos-top {
    object-position: center top;
}

.hero-video.video-pos-center {
    object-position: center center;
}

.hero-video.video-pos-bottom {
    object-position: center bottom;
}

.hero-content {
    z-index: 2;
}

.hero-content h1 {
    color: white;
    font-size: var(--h1-size);
    width: fit-content;
    margin-bottom: 1rem;
}

.hero-content p {
    color: white;
    width: fit-content;
    padding: 0.4rem 0rem 0rem;
    margin: 0px !important;
}

.editorial {
    display: block;
    width: 100%;
    height: 60px;
    max-height: 60px;
    margin: 0;
    z-index: 5;
    bottom: 0;
    position: absolute;
    left: 0px;
    float: left;
}

.parallax1>use {
    animation: move-forever1 10s linear infinite;

    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax2>use {
    animation: move-forever2 8s linear infinite;

    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax3>use {
    animation: move-forever3 6s linear infinite;

    &:nth-child(1) {
        animation-delay: -2s;
    }
}

.parallax4>use {
    animation: move-forever4 4s linear infinite;

    &:nth-child(1) {
        animation-delay: -2s;
    }
}

@keyframes move-forever1 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever2 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

@keyframes move-forever3 {
    0% {
        transform: translate(85px, 0%);
    }

    100% {
        transform: translate(-90px, 0%);
    }
}

@keyframes move-forever4 {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}

/* .error404 h1,
.archive h1,
.wp-singular:not(.home) h1,
.blog h1 {
    margin-bottom: 0 !important;
} */


.mouse-scroll-anim {
    width: 4rem;
}

.mouse {
    position: relative;
}

.mouse-arrow {
    position: absolute;
    animation: animate_arrow 5s infinite;
}

@keyframes animate_arrow {
    0% {
        opacity: 0;
        transform: translateY(-2px);
    }

    30% {
        opacity: 1;
        transform: translateY(0px);
    }

    70% {
        opacity: 1;
        transform: translateY(0px);
    }

    80% {
        opacity: 0;
        transform: translateY(4px);
    }

    100% {
        opacity: 0;
        transform: translateY(-2px);
    }
}

header nav:not(.scrolled) {
    background-color: rgba(255, 255, 255, 0) !important;
}

header nav:not(.scrolled) .custom-logo-link img {
    filter: brightness(0) invert(1);
}

header nav:not(.scrolled) .navbar-nav {
    --bs-nav-link-color: rgba(255, 255, 255, 1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
}

header nav.scrolled .navbar-nav {
    --bs-nav-link-color: rgba(0, 0, 0, 1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
}

.archive .post h2,
.blog .post h2 {
    font-size: var(--h3-size);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font);
    margin-bottom: 1.7rem;
    line-height: 1;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
}

.small,
small {
    font-size: var(--small-size);
}

.site-footer a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
}

.site-footer i {
    font-size: calc(var(--bs-body-font-size) * 1.5);
}

.site-footer a:hover {
    color: rgba(235, 235, 235, 1);
}

a {
    color: rgba(var(--terciary-color), 1);
    text-decoration: none;
}

.wp-content p>a:not(.btn) {
    color: rgba(var(--secondary-color), 1);
    background-color: #D5B186;
    text-decoration: none;
    padding: 0.2rem 0.5rem;
}

.wp-content a:not(.btn):hover {
    color: #fff;
    text-decoration: none;
}

body.page-template-template-contacto main a {
    color: rgba(var(--terciary-color), 1) !important;
    text-decoration: none;
}

body.page-template-template-contacto main p>a {
    text-decoration: underline;
}

/* a:hover {
    --main-color: var(--main-color-darken);
} */

.navbar-brand-slider img {
    width: 20rem;
    margin-bottom: 5rem;
    height: fit-content;
}

.navbar-brand-slider img {
    width: 20rem;
    margin-bottom: 5rem;
    height: fit-content;
}

.navbar-brand img,
.site-footer .custom-logo-link img {
    width: 20rem;
    height: fit-content;
}

.footer-logo img {
    width: 10rem;
    height: fit-content;
}

header .navbar-nav a {
    text-decoration: none;
    position: relative;
    background: linear-gradient(120deg, rgba(var(--tertiary-color), 1) 0%, rgba(var(--tertiary-color), 1));
    background-repeat: no-repeat;
    background-size: 100% 0.0em;
    background-position: 0 100%;
    transition: background-size 0.25s ease-in;
}

header .navbar-nav a:hover {
    background-size: 100% 100%;
    color: #000 !important;
}

header .navbar-nav a.active {
    background-size: 100% 100%;
    color: #000 !important;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0) !important;
}

/* .navbar-dark #mainNavbar .navbar-nav a {
    --bs-nav-link-color: rgba(0, 0, 0, 1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
}

.navbar-dark #mainNavbar .navbar-nav a:hover {
    --bs-nav-link-color: rgba(0, 0, 0, 1);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0);
} */

.footer-logo svg .cls-2 {
    fill: #fff;
}

.footer-logo svg .cls-3 {
    fill: rgba(var(--main-color), 1);
}

.navbar {
    --bs-navbar-nav-link-padding-x: 1rem;
    --bs-navbar-toggler-padding-y: 0.5rem
}

.dropdown-menu {
    --bs-dropdown-font-size: var(--bs-body-font-size);
}

.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--main-color), var(--bs-bg-opacity)) !important;
}

.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--secondary-color), var(--bs-bg-opacity)) !important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--main-color), var(--bs-text-opacity)) !important;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgba(var(--secondary-color), var(--bs-text-opacity)) !important;
}


.btn {
    --bs-btn-font-size: var(--bs-body-font-size);
    --bs-btn-padding-x: var(--btn-padding-x);
    --bs-btn-padding-y: var(--btn-padding-y);
}



.btn-primary {
    --bs-btn-color: rgba(var(--secondary-color), 1);
    --bs-btn-bg: rgba(var(--tertiary-color), 1);
    --bs-btn-border-color: rgba(var(--tertiary-color), 1);
    --bs-btn-hover-color: rgba(var(--tertiary-color), 1);
    --bs-btn-hover-bg: rgba(var(--secondary-color), 1);
    --bs-btn-hover-border-color: rgba(var(--secondary-color), 1);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: rgba(var(--tertiary-color), 1);
    --bs-btn-active-bg: rgba(var(--secondary-color), 1);
    --bs-btn-active-border-color: rgba(var(--main-color), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(var(--secondary-color), 1);
    --bs-btn-disabled-bg: rgba(var(--main-color), 1);
    --bs-btn-disabled-border-color: rgba(var(--main-color), 1);
}

.btn-outline-primary {
    --bs-btn-color: rgba(var(--main-color), 1);
    --bs-btn-border-color: rgba(var(--main-color), 1);
    --bs-btn-hover-color: rgba(var(--secondary-color), 1);
    --bs-btn-hover-bg: rgba(var(--main-color), 1);
    --bs-btn-hover-border-color: rgba(var(--main-color), 1);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: rgba(var(--secondary-color), 1);
    --bs-btn-active-bg: rgba(var(--main-color), 1);
    --bs-btn-active-border-color: rgba(var(--main-color), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(var(--main-color), 1);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: rgba(var(--main-color), 1);
    --bs-gradient: none;
}

.btn-tertiary {
    --bs-btn-color: rgba(var(--secondary-color), 1);
    --bs-btn-bg: rgba(var(--tertiary-color), 1);
    --bs-btn-border-color: rgba(var(--tertiary-color), 1);
    --bs-btn-hover-color: rgba(var(--tertiary-color), 1);
    --bs-btn-hover-bg: rgba(var(--secondary-color), 1);
    --bs-btn-hover-border-color: rgba(var(--secondary-color), 1);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: rgba(var(--tertiary-color), 1);
    --bs-btn-active-bg: rgba(var(--secondary-color), 1);
    --bs-btn-active-border-color: rgba(var(--main-color), 1);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: rgba(var(--secondary-color), 1);
    --bs-btn-disabled-bg: rgba(var(--main-color), 1);
    --bs-btn-disabled-border-color: rgba(var(--main-color), 1);
}

.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.wc-block-product-filter-price-slider__range {
    --range-color: rgb(var(--main-color));
    --track-background: linear-gradient(to right, transparent var(--low), var(--range-color) 0, var(--range-color) var(--high), transparent 0) no-repeat 0 100% / 100% 100%;
}

:where(.wc-block-product-filters) .wc-block-product-filters__overlay-content {
    gap: 2rem;
}

/** AIEmpresarial THEME */

.admin-bar {
    margin-top: 32px !important;
}

.admin-bar .full-100vh {
    height: calc(100vh - 32px);
}

.admin-bar .full-75vh {
    height: calc(75vh - 32px);
}

.admin-bar .full-60vh {
    height: calc(60vh - 32px);
}

.admin-bar .full-50vh-first {
    height: calc(50vh - 32px);
}

.admin-bar .full-25vh {
    height: calc(25vh - 32px);
}

.padding-navbar {
    padding-top: calc(9.5rem);
    /* padding-bottom: calc(5.5rem); */
}

.front-slide {
    padding-top: calc(0);
}

.full-100vh {
    height: 100vh;
}

.full-75vh {
    height: 75vh;
}

.full-60vh {
    height: 60vh;
}

.full-50vh {
    height: 50vh;
}

.full-40vh {
    height: 40vh;
}

.min-full-40vh {
    min-height: 40vh;
}

.full-25vh {
    height: 25vh;
}


.sliderSnik,
.sliderSnik .swiper-slide {
    width: 100%;
    height: 100%;
}

.sliderSnik .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-position-repeat-cover {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.widget .wp-block-cover img {
    scale: 1;
    transition: 1s ease-in-out;
}

.widget .wp-block-cover:hover img {
    scale: 1.075;
    transition: 1s ease-in-out;

}

.cita-servicio {
    text-align: center;
    font-size: calc(var(--p-slider-size) - 0.5rem);
}


.cita-servicio p {
    line-height: 1.2;
}

.cita-servicio p::before {
    content: '“ ';
}

.cita-servicio p::after {
    content: ' ”';
}

.cita-servicio p:last-of-type {
    margin-bottom: 0 !important;
}

/* Imagen normal */

.sliderSnik .slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.sliderSnik .slide-image::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.front-slide canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: none;
}

.sliderSnik .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-destacado-main {
    background-color: rgba(var(--main-color), 1);
    padding: 1rem;
    width: fit-content;
}

/* Fallback sin imagen */
.sliderSnik .swiper-slide.no-image {
    background: rgba(var(--secondary-color), 0.1);
}

.slide-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide-fallback svg,
.slide-fallback img {
    max-width: 300px;
    width: 60%;
    height: auto;
    fill: #fff;
}

/* Contenido */
.slide-content {
    position: absolute;
    z-index: 110;
    color: #fff;

}

.slide-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.slide-content p {
    font-size: 1.2rem;
}

.site-footer {
    background-color: rgba(var(--secondary-color), 1);
    color: #fff;
}

.form-control {
    font-size: var(--bs-body-font-size);
    padding: 1rem;
}

.wp-block-quote p {
    font-size: 3rem;
    position: relative;
}

.wp-block-quote p::before {
    content: '" ';
}

.wp-block-quote p::after {
    content: ' "';
}

.wp-block-group.content-product {
    padding: 3rem;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.125);
    margin-bottom: 3rem;
}

.wp-block-group.content-product .wp-block-columns figure {
    height: 100%;
}

.wp-block-group.content-product .wp-block-columns figure img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.start-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--secondary-color), 0.8);
    mix-blend-mode: multiply;
}

.start-section .content {
    position: relative;
    z-index: 10;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.5);
}



.legal-notice-form {
    text-align: start !important;
    color: rgba(var(--secondary-color), 1);
    font-style: italic;
    font-size: var(--small-size);
}

.legal-notice-form p {
    margin-bottom: 0.2rem;
}

.wp-block-latest-posts__featured-image img {
    scale: 1.075;
    margin-top: -0.5rem;
    border-radius: 3px 3px 0 0;
}

.sidebar li a.wp-block-latest-posts__post-title {
    font-family: var(--header-font);
    font-size: var(--h5-size);
    line-height: 1.2;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
}

.nav-links>* {
    background-color: rgba(var(--tertiary-color), 1);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: var(--bs-border-radius);
    transition: all 0.3s ease-in-out;

}

.nav-links>*:hover {
    background-color: rgba(var(--secondary-color), 1);
    color: rgba(var(--tertiary-color), 1);
    transition: all 0.3s ease-in-out;
}

h2[id],
h3[id],
h4[id],
h5[id] {
    scroll-margin-top: 11rem;
}

.article-content img {
    width: 100% !important;
}

.sistemas-de-pago-swiper.sistema-unico {
    width: 100%;
}

.sistemas-de-pago-swiper.sistema-unico .swiper-slide {
    width: 25% !important;
   /* margin-left: auto;
    margin-right: auto !important;*/
}

/* Hasta sm (phones) */
@media (max-width: 575.98px) {
    /* estilos para teléfono */
}

/* Hasta md */
@media (max-width: 767.98px) {}

/* Hasta lg */
@media (max-width: 991.98px) {

    * {
        text-align: center !important;
    }

    .footer-navigation ul,
    .footer-navigation ul li {
        text-align: center !important;
    }

    header ul li,
    .footer-navigation ul li {
        margin-bottom: 3rem;
    }

    ul,
    ul li {
        text-align: start !important;
    }

    html {
        font-size: 50%;
    }

    p {
        margin-bottom: 3rem;
    }

    .padding-navbar {
        padding-top: calc(8.3rem);
    }

    .slide-content {
        padding: 2rem;
        width: 100%;
    }

    header .container {
        padding: 1rem 2rem;
    }

    main .container,
    footer .container {
        padding: 2rem 5rem;
    }

    .btn {
        width: 100%;
    }

    .navbar-brand-slider img {
        width: 15rem;
        margin-bottom: 2rem;
        margin-top: 10rem;
    }

    .navbar-toggler-icon {
        width: 3em;
        height: 3em;
    }

    .wp-block-group:nth-child(odd) .wp-block-columns .wp-block-column:first-child {
        order: 1;
    }

}