/**
Theme Name: VEO Astra Child
Author: Kebes
Author URI: http://www.kebes.es
Description: VEO Astra Child
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veo-astra-child
Template: astra
*/
/*global*/
@media (width <=921px) {}

@media (width <=768px) {}

@media (width <=544px) {}

:root :where(.is-layout-flex) {
    -moz-column-gap: 100px;
    column-gap: 100px;
}

.entry-content .wp-block-media-text .wp-block-media-text__content {
    padding: 0 0 0 100px;
}

.has-ast-global-color-2-background-color .wp-block-button .wp-block-button__link {
    border-color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
}

h2 > em,
h1 > em {
    font-family: 'Besley', serif;
}

.swiper-button-next,
.swiper-button-prev {
    top: auto;
    bottom: 0;
}

.main-header-menu .sub-menu .menu-item:not(.menu-item-has-children) .menu-link .icon-arrow:first-of-type {
    display: none !important;
}

/*header*/
.ast-primary-sticky-header-active .ast-primary-header-bar {
    max-width: 1520px;
    border-radius: 50px;
    box-shadow: 0px 6px 20px 0px #00000012;
    top: 20px;
}

.ast-desktop .astra-full-megamenu-wrapper {
    padding-top: 20px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ast-desktop .astra-full-megamenu-wrapper ul {
    box-shadow: 0px 6px 20px 0px #00000012 !important;
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 40px;
    margin: 0 !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px !important;
}

.ast-desktop .ast-mega-menu-enabled .astra-full-megamenu-wrapper .astra-megamenu.sub-menu {
    margin: 0 auto !important;
    max-width: 1520px;
}

.ast-desktop .ast-mega-menu-enabled .astra-megamenu-li:hover .astra-megamenu > .menu-item {
    padding-left: 0;
    padding-right: 0;
}

.ast-desktop .astra-mm-icon-label img {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px;
    -webkit-filter: brightness(0) saturate(100%) invert(12%) sepia(45%) saturate(653%) hue-rotate(174deg) brightness(89%) contrast(84%);
    filter: brightness(0) saturate(100%) invert(12%) sepia(45%) saturate(653%) hue-rotate(174deg) brightness(89%) contrast(84%);
}

ul.sub-menu {
    padding: 20px;
}

/*home*/
#home-hero {
    padding-top: calc(var(--wp--custom--ast-default-block-top-padding) + 100px);
}

#home-hero h2 > em,
#home-hero h1 > em,
.bloque-hero h1 > em {
    color: var(--ast-global-color-0);
    font-family: 'Besley', serif;
}

#home-servicios .wp-block-columns {
    -moz-column-gap: 20px;
    column-gap: 20px;
}

.bloque-servicios .wp-block-column {
    padding: 20px 20px 40px 40px;
    background: #F3F5FF;
    border-radius: 38px;
    position: relative;
    transition: all 0.3s ease;
}

.bloque-servicios .wp-block-column a.enlace-servicio {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
}

.bloque-servicios .wp-block-column a.enlace-servicio > span {
    background: #FFF;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bloque-servicios .wp-block-column a.enlace-servicio > span svg {
    transition: all 0.3s ease;
}

.bloque-servicios .wp-block-column:hover {
    background: #FFF;
}

.bloque-servicios .wp-block-column:hover a.enlace-servicio > span {
    background: var(--ast-global-color-0);
}

.bloque-servicios .wp-block-column:hover a.enlace-servicio > span svg {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.bloque-servicios h3 {
    max-width: 60%;
}

#home-clientes .wp-block-cover {
    aspect-ratio: 75 / 86;
    padding: 80px 60px;
    border-radius: 40px;
}

#home-clientes h2 {
    margin-top: 0;
}

#home-clientes p {
    line-height: 1.3em;
}

#home-clientes .wp-block-cover img {
    transition: all 0.6s ease;
}

#home-clientes .wp-block-cover:hover img {
    transform: scale(1.05);
}

.opinion:nth-child(odd),
.opinion {
    background-color: #F3F5FF;
}

.avatar-iniciales {
    background: #FFFFFE;
}

.opinion-star {
    background-image: url('data:image/svg+xml,<svg fill="%2300ade1" width="800px" height="800px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><title>star</title><path d="M3.488 13.184l6.272 6.112-1.472 8.608 7.712-4.064 7.712 4.064-1.472-8.608 6.272-6.112-8.64-1.248-3.872-7.808-3.872 7.808z"></path></svg>');
}

.opinion-origen {
    width: 32px;
    height: 32px;
    background-size: contain;
}

@media (width <=1300px) {
    #home-clientes .wp-block-cover {
        aspect-ratio: 65 / 86;
        padding: 60px 20px;
    }
}

@media (width <=768px) {
    #home-clientes .wp-block-cover {
        aspect-ratio: unset;
        padding: 160px 60px 80px 60px;
    }
}

/*servicio*/
#servicio-hero h1 {
    max-width: 750px;
}

#servicio-hero p {
    max-width: 600px;
}

#servicio-hero .servicio-hero-right.bloque-lista div {
    margin-top: 1em;
}

.bloque-lista {
    padding: 80px;
    box-shadow: 0px 16px 20px 0px #00000012;
    border-radius: 38px;
}

.bloque-lista h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5em;
}

#servicio-incluye > ul {
    padding-left: 0;
}

#servicio-incluye li {
    border-top: 1px solid #2330414D;
    text-align: center;
    list-style: none;
    font-size: 30px;
    padding: 50px 0;
}

#servicio-incluye li:last-child {
    border-bottom: 1px solid #2330414D;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#servicio-incluye .wp-block-list li {
    -webkit-animation: fadeInUp linear both;
    animation: fadeInUp linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
}

.bloque-lista ul {
    list-style: none;
    padding-left: 0;
}

.bloque-lista li {
    position: relative;
    margin-bottom: 1.5em;
    line-height: 1.1em;
    padding-left: 38px;
}

.bloque-lista li:last-child {
    margin-bottom: 0;
}

.bloque-lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" rx="10" fill="%23233041"/><path d="M14 7L8.5 12.5L6 10" stroke="white" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
}

@media (width <=768px) {
    .bloque-lista {
        padding: 50px 30px;
    }

    #servicio-incluye li {
        font-size: 20px;
        padding: 30px 0;
    }

    .entry-content .wp-block-media-text .wp-block-media-text__content {
        padding: inherit;
    }

    .wp-block-media-text.is-stacked-on-mobile {
        gap: 50px;
    }
}

/*contacto*/
input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type=reset],
input[type=tel],
input[type=date],
textarea {
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid #000;
    border-radius: 0;
    font-size: 20px;
    line-height: 1.3em;
}

.rgpd {
    order: 99;
    font-size: 12px;
    line-height: 16px;
    color: rgba(35, 48, 65, 0.6);
}

.wpcf7 form {
    gap: 2em;
}

/*footer*/
#colophon > div.site-primary-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-4-lheavy.ast-builder-grid-row-tablet-4-equal.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack > div > div > div.site-footer-primary-section-1.site-footer-section.site-footer-section-1 {
    height: 100%;
    display: flex;
    align-items: center;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] {
    background-size: 60vw 100%;
    background-repeat: no-repeat;
    background-position: 40vw center;
    position: relative;
    height: 100vh;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"]:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 100vh 0 0 20vw;
    border-color: transparent transparent transparent #cadaf0;
    transform: rotate(0deg);
    z-index: 2;
    left: 40vw;
    top: 0;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"]:after {
    content: "";
    width: 60vw;
    height: 100vh;
    position: absolute;
    left: 40vw;
    top: 0;
    background-size: cover;
    background-image: url(/wp-content/uploads/2025/12/Rectangle-4.jpg);
}

@media (width <=768px) {
    #colophon > div.site-primary-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-4-lheavy.ast-builder-grid-row-tablet-4-equal.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack > div > div > div.site-footer-primary-section-1.site-footer-section.site-footer-section-1 > aside {
        margin-bottom: 50px;
    }

    #home-clientes .wp-block-cover {
        aspect-ratio: unset;
        padding: 160px 60px 80px 60px;
    }

    .site-above-footer-wrap[data-section="section-above-footer-builder"]:before {
        display: none;
    }

    .site-above-footer-wrap[data-section="section-above-footer-builder"]:after {
        content: "";
        width: 100%;
        left: 0;
        opacity: 0.5;
    }

    .site-above-footer-wrap[data-section="section-above-footer-builder"] .ast-builder-grid-row-container-inner {
        position: relative;
        z-index: 2;
    }
}