/**
Theme Name: mardev
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mardev
Template: astra
*/

:root {
    --tamano-headings-shortcode: 8rem;
}

body p,
body h3,
body h4,
body h5,
body h6 {

    text-wrap: balance;
}

.home-tabs {
    position: relative;
    justify-content: space-between;
    gap: 20px;
}

.home-tabs.uagb-tabs__wrap .uagb-tabs__body-container {
    padding: 0;
}

.home-tabs>ul.uagb-tabs__panel {
    height: fit-content;
    position: sticky;
    top: 100px;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .home-tabs>ul.uagb-tabs__panel {
        position: static;

    }

}

@media screen and (max-width: 768px) {
    .home-tabs.uagb-tabs__wrap.uagb-tabs__stack1-mobile ul.uagb-tabs__panel {
        margin-bottom: 50px;

    }
}

.home-tabs a.uagb-tabs-list {
    outline: none;
}

.home-tabs a.uagb-tabs-list div {
    font-weight: 700;
    border-bottom: 2px solid transparent;
}

.home-tabs a.uagb-tabs-list[aria-selected="true"] div {
    /* text-decoration: underline; */
    border-bottom: 2px solid var(--ast-global-color-1);
}

.h2-like {
    font-family: "Lobster Two", display;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
}

.h1-like {
    font-family: "Lobster Two", display;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    color: var(--ast-global-color-1);
}

.footer-logo-img a {
    display: block;
}

.footer-logo-img img {
    width: 100%;
}

.site-footer>div {
    padding-left: 20px;
    padding-right: 20px;
}

label,
legend {
    color: var(--ast-global-color-5)
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #f66151;
}

.wpcf7-list-item {
    margin: 0 0 1em 0;
}

.wpcf7 input.wpcf7-form-control:not([type="submit"]),
.wpcf7 textarea.wpcf7-form-control {
    background-color: var(--ast-global-color-4);
    border: 1px solid var(--ast-global-color-1);
    color: var(--ast-global-color-5);

}

.wpcf7 input.wpcf7-form-control:not([type="submit"]):focus,
.wpcf7 textarea.wpcf7-form-control:focus {
    color: var(--ast-global-color-5);
    border-color: var(--ast-global-color-7);
}

form.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    max-width: 1000px;
    width: 100%;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--ast-global-color-1);
    font-style: italic;
}

.wpcf7 input::-webkit-input-placeholder,
.wpcf7 textarea::-webkit-input-placeholder {
    color: var(--ast-global-color-1);
}

.wpcf7 input:-moz-placeholder,
.wpcf7 textarea:-moz-placeholder {
    color: var(--ast-global-color-1);
}

.wpcf7 input::-moz-placeholder,
.wpcf7 textarea::-moz-placeholder {
    color: var(--ast-global-color-1);
}

.wpcf7 input:-ms-input-placeholder,
.wpcf7 textarea:-ms-input-placeholder {
    color: var(--ast-global-color-1);
}

.wpcf7 input[type="checkbox"] {
    background: var(--ast-global-color-3);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--ast-global-color-1);
}

@media (max-width: 600px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        max-width: 50%;
        justify-self: center;
    }
}

#astra-footer-menu .menu-item.current-menu-item>a {
    text-decoration: underline;
}

@media (max-width: 544px) {

    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item>.menu-link,
    .ast-builder-menu-mobile .main-navigation .inline-on-mobile .menu-item.current-menu-item>.ast-menu-toggle,
    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor>.menu-link,
    .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-ancestor>.ast-menu-toggle {
        text-decoration: underline;
    }
}

.wp-block-button .wp-block-button__link {
    line-height: 1.65;
}

/* main#main .ast-single-post-featured-section.post-thumb.ast-article-image-container--wide, .ast-single-post-featured-section.post-thumb img{
    display: none;
} */

.newUI .chat-container .privacyPolicy {
    display: none;
}

body {
    background-color: var(--ast-global-color-0) !important;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px) !important;
    background-size: 40px 40px;
}

.ast-primary-header-bar {
    background-color: transparent !important;
}



div.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;

}

section.servicios-shortcode {
    position: relative;
    width: 100vw;
    color: var(--ast-global-color-1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2.5em;
    overflow: hidden;
    padding: 200px 0;

}

.servicios-img {
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    min-height: 340px;
    padding: 20px;
    width: 100%;
}

div.servicio-img {
    position: relative;
    width: 100px;
    height: 100px;
    padding: 5px;
    will-change: width, height;
}

/*M'he quedat en el minut 3:24 */

div.servicios-name {
    width: 100%;
    height: var(--tamano-headings-shortcode);
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
    /* overflow: hidden; */
    padding: 10px 0 0;
}

div.servicio-name h1 {
    position: absolute;
    width: 100%;
    text-align: center;
    /* text-transform: uppercase; */
    font-size: var(--tamano-headings-shortcode);
    font-weight: 600;
    letter-spacing: -0.1rem;
    line-height: 1;
    color: var(--ast-global-color-1);
    user-select: none;
    transform: translateY(100%);
    z-index: 1;
}

/* div.servicio-name.default h1 {
    color: var(--ast-global-color-0);
    transform: translateY(-100%);
} */

div.servicio-name h1 .letter {
    position: relative;
    transform: translateY(0%);
    will-change: transform;
}

@media (max-width: 900px) {
    section.servicios-shortcode {
        flex-direction: column;
        padding: 10px 0;
    }

    div.servicios-img {
        max-width: 100%;
        justify-content: flex-start;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 1rem;
        min-height: 0;
        align-items: center;
    }

    div.servicio-img {
        height: 70px;
        width: 70px;
        padding: 0;
        min-width: 70px;
        min-height: 70px;
    }


    div.servicio-name h1 {
        font-size: 1.5rem;
        letter-spacing: 0;
    }

    div.servicios-name {
        height: 1.5rem;
        padding: 0;
    }
}

.circle {
    position: fixed;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ast-global-color-1);
    /* mix-blend-mode: difference; */
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optimización de rendering para Chrome */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.circle-arrow {
    width: 90%;
    height: 90%;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Rotación en CSS en lugar de HTML para mejor rendering */
    transform: rotate(45deg);
    /* Optimización para Chrome */
    shape-rendering: geometricPrecision;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.circle-drag {
    width: 70%;
    height: 70%;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    pointer-events: none;
    stroke-width: 1.5;
    /* Optimización para Chrome */
    shape-rendering: geometricPrecision;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    cursor: none !important;
}

@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin-top: 60px;
    margin-bottom: 0px;
  }
}

