/**
Theme Name: VEO Astra Child
Author: Kebes
Author URI: http://www.kebes.es
Description: VEO Astra Child
Version: 2.0.0
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*/
:root {
    --cp-tinta: var(--ast-global-color-2);
    --cp-ambar: #f9b233;
    --cp-morado: #8e2bd4;
    --cp-petroleo: #1f5a73;
    --cp-rosa: #f8c6c7;
    --cp-naranja-100: #fde6dc;
    --cp-naranja-200: #fbcbb8;
    --cp-turquesa-100: #d6f5f5;
    --cp-turquesa-300: #6fd9da;
    --cp-violeta-200: #cfcdf7;
    --cp-ambar-200: #fde3b0;
    --cp-linea: 3px solid var(--cp-tinta);
    --cp-sombra: 6px 6px 0 var(--cp-tinta);
    --cp-sombra-hover: 9px 9px 0 var(--cp-tinta);
    --cp-sombra-lg: 10px 10px 0 var(--cp-tinta);
    --cp-margen: clamp(20px, 4vw, 48px);
    --cp-seccion: clamp(80px, 9vw, 130px);
}

body {
    overflow-x: clip;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
}

:focus-visible {
    outline: 3px solid var(--ast-global-color-0);
    outline-offset: 3px;
}

::selection {
    background: var(--cp-ambar);
    color: var(--cp-tinta);
}

.wp-block-button .wp-block-button__link,
.ast-button,
.button,
input[type="submit"] {
    font-weight: 800;
    box-shadow: var(--cp-sombra);
    transition: transform .15s, box-shadow .15s;
}

.wp-block-button .wp-block-button__link:hover,
.ast-button:hover,
.button:hover,
input[type="submit"]:hover {
    transform: translate(-3px, -3px);
    box-shadow: var(--cp-sombra-hover);
}

.wp-block-button .wp-block-button__link:active,
.ast-button:active,
.button:active,
input[type="submit"]:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--cp-tinta);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (width <=921px) {}

@media (width <=768px) {}

@media (width <=544px) {}

/*header*/
#masthead {
    position: sticky;
    top: 14px;
    z-index: 100;
    margin-top: 14px;
    padding: 0 clamp(12px, 3vw, 40px);
    background: transparent;
}

.admin-bar #masthead {
    top: 46px;
}

#masthead .main-header-bar {
    background: transparent;
    border: 0;
    min-height: 0;
}

#ast-desktop-header .site-primary-header-wrap,
#ast-mobile-header .ast-primary-header-bar {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 10px 10px 22px;
    border: var(--cp-linea);
    border-radius: 999px;
    background: var(--ast-global-color-4);
    box-shadow: var(--cp-sombra);
}

#ast-desktop-header .site-primary-header-wrap {
    min-height: 0;
}

#masthead .site-branding {
    padding: 0;
}

#masthead .site-logo-img {
    padding-right: 0;
}

#masthead .site-logo-img svg {
    display: block;
}

#masthead .main-header-menu {
    gap: 2px;
    align-items: center;
}

#masthead .main-header-menu > .menu-item > .menu-link {
    padding: 10px 14px;
    border-radius: 999px;
    line-height: 1.2;
    font-size: 15px;
    font-weight: 700;
    color: var(--cp-tinta);
}

#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .main-header-menu > .current-menu-ancestor > .menu-link {
    background: var(--cp-ambar-200);
    color: var(--cp-tinta);
}

#masthead .main-header-menu .sub-menu {
    top: 100%;
    min-width: 270px;
    margin-top: 12px;
    padding: 10px;
    border: var(--cp-linea);
    border-radius: 24px;
    background: var(--ast-global-color-4);
    box-shadow: var(--cp-sombra);
}

#masthead .main-header-menu .sub-menu::before {
    content: "";
    position: absolute;
    inset: -15px 0 auto;
    height: 15px;
}

#masthead .main-header-menu .sub-menu .menu-item {
    border: 0;
}

#masthead .main-header-menu .sub-menu .menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    color: var(--cp-tinta);
}

#masthead .main-header-menu .sub-menu .menu-link .ast-icon {
    display: none;
}

#masthead .menu-servicios .sub-menu .menu-link::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    border: 2px solid var(--cp-tinta);
    border-radius: 50%;
    background: var(--cp-punto);
}

#masthead .menu-color-turquesa {
    --cp-punto: var(--ast-global-color-6);
    --cp-fondo-hover: var(--cp-turquesa-100);
}

#masthead .menu-color-violeta {
    --cp-punto: var(--ast-global-color-8);
    --cp-fondo-hover: var(--cp-violeta-200);
}

#masthead .menu-color-naranja {
    --cp-punto: var(--ast-global-color-0);
    --cp-fondo-hover: var(--cp-naranja-100);
}

#masthead .menu-color-ambar {
    --cp-punto: var(--cp-ambar);
    --cp-fondo-hover: var(--cp-ambar-200);
}

#masthead .sub-menu .menu-item:hover > .menu-link,
#masthead .sub-menu .current-menu-item > .menu-link {
    background: var(--cp-fondo-hover, var(--cp-ambar-200));
}

#masthead .ast-builder-button-wrap {
    margin-left: 8px;
}

#masthead .ast-custom-button {
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: none;
    transition: transform .15s, box-shadow .15s;
}

#masthead .ast-custom-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--cp-tinta);
}

#ast-mobile-header .menu-toggle {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: var(--cp-linea);
    border-radius: 50%;
    background: var(--cp-ambar);
    color: var(--cp-tinta);
}

#ast-mobile-header .menu-toggle svg {
    fill: var(--cp-tinta);
}

#ast-mobile-header .ast-mobile-header-content {
    position: static;
    width: auto;
    max-width: 1320px;
    margin: 10px auto 0;
    padding: 14px;
    border: var(--cp-linea);
    border-radius: 28px;
    background: var(--ast-global-color-4);
    box-shadow: var(--cp-sombra);
}

#ast-mobile-header .ast-mobile-header-content .menu-link {
    padding: 12px 14px;
    border: 0;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cp-tinta);
}

#ast-mobile-header .ast-mobile-header-content .menu-item {
    border: 0;
}

#ast-mobile-header .ast-builder-button-wrap {
    width: 100%;
    margin: 6px 0 0;
}

#ast-mobile-header .ast-custom-button {
    width: 100%;
    padding: 14px;
    text-align: center;
}
/*home*/
/*cf7*/
.wpcf7 form .form-legal {
    display: none;
    font-size: 0.8em;
}

.wpcf7 form:has(.wpcf7-acceptance:not(.optional) input:checked) .form-legal {
    display: block;
}

/*footer*/
.veo-pie {
    position: relative;
    overflow: hidden;
    margin: 0 clamp(10px, 1.5vw, 20px) clamp(10px, 1.5vw, 20px);
    border-radius: clamp(36px, 5vw, 64px);
    background: var(--cp-tinta);
    color: var(--ast-global-color-4);
    line-height: 1.55;
}

.veo-pie__circulo {
    position: absolute;
    border-radius: 50%;
}

.veo-pie__circulo--grande {
    top: -90px;
    right: -90px;
    width: 300px;
    height: 300px;
    background: var(--ast-global-color-8);
}

.veo-pie__circulo--pequeno {
    top: 60px;
    right: 120px;
    width: 70px;
    height: 70px;
    background: var(--cp-ambar);
}

.veo-pie__contenido {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) var(--cp-margen) 28px;
}

.veo-pie__rejilla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 40px;
}

.veo-pie__cta {
    display: flex;
    flex-direction: column;
    gap: 18px;
    grid-column: span 2;
    max-width: 440px;
}

.veo-pie__frase {
    margin: 0;
    font-family: 'Caprasimo', serif;
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.15;
}

.veo-pie__botones {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.veo-pie a,
.veo-pie a:hover {
    color: inherit;
    text-decoration: none;
}

.veo-pie .veo-pie__boton {
    display: inline-flex;
    padding: 14px 22px;
    border: 3px solid var(--ast-global-color-4);
    border-radius: 999px;
    font-weight: 700;
}

.veo-pie .veo-pie__boton:hover {
    background: var(--ast-global-color-4);
    color: var(--cp-tinta);
}

.veo-pie .veo-pie__boton--principal {
    background: var(--ast-global-color-0);
    color: var(--cp-tinta);
    font-weight: 800;
}

.veo-pie .veo-pie__boton--principal:hover {
    background: var(--cp-ambar);
}

.veo-pie__columna {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 15px;
}

.veo-pie__titulo {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cp-ambar);
}

.veo-pie__enlaces,
.veo-pie__legal-enlaces {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.veo-pie__enlaces {
    flex-direction: column;
    gap: 10px;
}

.veo-pie .veo-pie__enlaces a:hover {
    color: var(--cp-turquesa-300);
}

.veo-pie__logo {
    display: block;
    width: clamp(231px, 50.4vw, 804px);
    max-width: 100%;
}

.veo-pie__logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.veo-pie__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 13px;
    color: var(--ast-global-color-7);
}

.veo-pie__legal-enlaces {
    flex-wrap: wrap;
    gap: 20px;
}

.veo-pie .veo-pie__legal-enlaces a:hover {
    color: var(--ast-global-color-4);
}