/**
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*/
:root {
    --wp--preset--font-size--large: 28px;
}

:root :where(.is-layout-flex) {
    -moz-column-gap: 100px;
    column-gap: 100px;
}

.ahfb-svg-iconset svg {
    width: 24px;
    height: 24px;
}

#content {
    overflow: clip;
}

@media (width <=921px) {}

@media (width <=768px) {
    :root {
        --wp--preset--font-size--large: 20px;
    }

    :root :where(.is-layout-flex) {
        -moz-column-gap: 50px;
        column-gap: 50px;
    }
}

@media (width <=544px) {}

.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before {
    bottom: calc(50% - 1em);
    height: 2px;
    color: var(--ast-global-color-2);
    width: calc(100% - 2em) !important;
}

.wp-block-media-text > .wp-block-media-text__media {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    overflow: hidden;
}

.wp-block-group .wp-block-media-text > .wp-block-media-text__media {
    border-radius: 15px;
}

.wp-block-media-text__content p {
    max-width: 450px;
}

input[type="submit"] {
    box-shadow: none;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
}

@-webkit-keyframes parallax-move {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-150px);
    }
}

@keyframes parallax-move {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-150px);
    }
}

.wp-block-group .wp-block-media-text > .wp-block-media-text__media {
    -webkit-animation: parallax-move linear;
    animation: parallax-move linear;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
    will-change: transform;
}

/* Movimiento estándar: de derecha a izquierda */
/* Entrada desde la izquierda (para imágenes a la izquierda) */
@-webkit-keyframes parallax-entry-left {
    from {
        transform: translateX(-100px);
        /* Viene desde la izquierda */
    }

    to {
        transform: translateX(0);
        /* Termina en su posición original */
    }
}

@keyframes parallax-entry-left {
    from {
        transform: translateX(-100px);
        /* Viene desde la izquierda */
    }

    to {
        transform: translateX(0);
        /* Termina en su posición original */
    }
}

/* Entrada desde la derecha (para imágenes a la derecha) */
@-webkit-keyframes parallax-entry-right {
    from {
        transform: translateX(100px);
        /* Viene desde la derecha */
    }

    to {
        transform: translateX(0);
        /* Termina en su posición original */
    }
}

@keyframes parallax-entry-right {
    from {
        transform: translateX(100px);
        /* Viene desde la derecha */
    }

    to {
        transform: translateX(0);
        /* Termina en su posición original */
    }
}

/* 2. Aplicamos la lógica para Mobile */
@media (max-width: 767px) {

    /* Caso General: Imagen a la izquierda */
    .wp-block-group .wp-block-media-text > .wp-block-media-text__media {
        -webkit-animation: parallax-entry-left linear;
        animation: parallax-entry-left linear;
        animation-timeline: view();
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        animation-range: entry 0% cover 50%;
        /* Se completa cuando llega a la mitad de la pantalla */
        will-change: transform;
    }

    /* Caso Específico: Imagen a la derecha (.has-media-on-the-right) */
    .wp-block-group .wp-block-media-text.has-media-on-the-right > .wp-block-media-text__media {
        -webkit-animation-name: parallax-entry-right;
        animation-name: parallax-entry-right;
    }
}

.wp-block-separator {
    border-top: 1px solid;
}

h1 em,
h2 em {
    position: relative;
    font-style: normal;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container h1:after,
h1 em:after,
h2 em:after {
    width: 349px;
    height: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.4em;
    background-image: url('data:image/svg+xml,<svg width="350" height="44" viewBox="0 0 350 44" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.203857 29.6975C75.5372 19.3642 250.804 -0.702503 349.204 1.6975" stroke="%2385B040" stroke-width="3"/><path d="M336.204 5.5C276.204 10.5 141.804 24.9 84.2039 42.5C111.204 38.5 176.604 30.3 222.204 29.5" stroke="%2385B040" stroke-width="3"/></svg>');
    background-image: url('data:image/svg+xml,<svg width="350" height="44" viewBox="0 0 350 44" fill="none" xmlns="http://www.w3.org/2000/svg"><style> .draw-path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 0.5s ease-out 1s forwards; } .path-2 { animation-delay: 1.5s; } @keyframes draw { to { stroke-dashoffset: 0; } } </style><path class="draw-path path-1" d="M0.203857 29.6975C75.5372 19.3642 250.804 -0.702503 349.204 1.6975" stroke="%2385B040" stroke-width="3" stroke-linecap="round"/><path class="draw-path path-2" d="M336.204 5.5C276.204 10.5 141.804 24.9 84.2039 42.5C111.204 38.5 176.604 30.3 222.204 29.5" stroke="%2385B040" stroke-width="3" stroke-linecap="round"/></svg>');
}

@media (width <=921px) {

    .ast-archive-entry-banner[data-post-type="post"] .ast-container h1:after,
    h1 em:after,
    h2 em:after {
        width: 200px;
        height: 25px;
    }
}

@media (width <=768px) {

    .ast-archive-entry-banner[data-post-type="post"] .ast-container h1:after,
    h1 em:after,
    h2 em:after {
        width: 120px;
        height: 15px;
    }
}

/*
.bloque-hero {
    min-height: calc(100vh - 80px) !important;
}*/
.bloque-hero h1 {
    margin-bottom: 1em;
}

.bloque-hero .has-large-font-size {
    line-height: 1.1em;
}

.veo-counter-block {
    font-size: 80px;
    line-height: 1em;
}

.wp-block-button .wp-block-button__link {
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: none;
}

.wp-block-buttons .wp-block-button__link:after {
    width: 15px;
    height: 8px;
    background-image: url('data:image/svg+xml,<svg width="16" height="9" viewBox="0 0 16 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 0.353515L14.5 4.35352L10.5 8.35352" stroke="%23516853"/><path d="M14.5 4.32868L3.51751 4.32868C1.5 4.32868 0.5 3.07366 0.5 0.353515" stroke="%23516853"/></svg>');
    content: "";
    display: inline-block;
}

/*header*/
/* Definición de la animación */
@-webkit-keyframes entradaSuave {
    0% {
        opacity: 0;
        transform: translateY(-80px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes entradaSuave {
    0% {
        opacity: 0;
        transform: translateY(-80px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicación al header de Astra */
.ast-primary-header-bar {
    opacity: 0;
    /* cubic-bezier(0.25, 1, 0.5, 1) es una curva que frena suavemente al final */
    -webkit-animation: entradaSuave 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation: entradaSuave 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

/*home*/
#home-hero h1 {
    margin-bottom: 0;
}

#home-aceite p {
    margin-left: auto;
    margin-right: auto;
}

#home-hero-castellon {
    gap: 10px;
}

#home-hero-castellon img {
    display: block;
}

#home-proceso-texto > div {
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
}

#home-proceso-imagenes .wp-block-cover {
    aspect-ratio: 650 / 704;
    padding: 8% 10%;
    border-radius: 15px;
    margin: 0 !important;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    overflow: hidden;
}

#home-proceso-imagenes .wp-block-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(30, 61, 34, 0) 0%, rgb(30, 61, 34, 0.5) 100%);
    z-index: 1;
}

#home-proceso-imagenes .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

#home-proceso-imagenes .wp-block-cover h4 {
    font-weight: 500;
    line-height: 1.22em;
    font-size: 45px !important;
    text-align: left;
    max-width: 330px;
}

#home-productos {
    min-height: 400vh;
    overflow: clip;
    view-timeline-name: --productos;
    view-timeline-axis: block;
    padding: 0;
}

#home-productos .wp-block-columns {
    min-height: 400vh;
    align-items: flex-start;
}

#home-productos-slider {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: 400vw;
    flex-basis: unset !important;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    overflow: visible;
    -webkit-animation: horizontal-scroll linear both;
    animation: horizontal-scroll linear both;
    animation-timeline: --productos;
    animation-range: contain 0% contain 100%;
}

@-webkit-keyframes horizontal-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-300vw);
    }
}

@keyframes horizontal-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-300vw);
    }
}

#home-productos-slider > .wp-block-group {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

#home-productos-slider > .wp-block-group figure,
#home-productos-slider > .wp-block-group img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#home-productos-slider > .wp-block-group:first-child {
    text-align: left;
    padding-right: 0;
}

#home-productos-slider > .wp-block-group:first-child > * {
    max-width: 500px;
}

#home-productos {
    --slides: 4;
    --slide-w: 31vw;
    --scroll-speed: 40vh;
    min-height: calc(var(--slides) * var(--scroll-speed));
    overflow: clip;
    view-timeline-name: --productos;
    view-timeline-axis: block;
}

#home-productos .wp-block-columns {
    min-height: calc(var(--slides) * var(--scroll-speed));
    align-items: flex-start;
}

#home-productos-slider {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    height: 100vh;
    width: calc(var(--slides) * var(--slide-w));
    flex-basis: unset !important;
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    overflow: visible;
    -webkit-animation: horizontal-scroll linear both;
    animation: horizontal-scroll linear both;
    animation-timeline: --productos;
    animation-range: contain 0% contain 100%;
}

@keyframes horizontal-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(50vw - (var(--slides) - 0.5) * var(--slide-w)));
    }
}

#home-productos-slider > .wp-block-group {
    flex: 0 0 var(--slide-w);
    width: var(--slide-w);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

#home-productos-slider > .wp-block-group figure,
#home-productos-slider > .wp-block-group img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

#home-productos h4 {
    opacity: 0.4;
    scale: 1;
    transition: opacity 0.5s ease, scale 0.5s ease;
}

#home-productos h4.is-centered {
    opacity: 1;
    scale: 1.2;
}

@media (width <=768px) {
    #home-hero p.has-large-font-size {
        margin-bottom: 60px;
    }

    #home-productos {
        --slide-w: 100vw;
    }

    #home-productos-slider > .wp-block-group:first-child {
        padding-right: 2rem;
        text-align: center;
    }

    #home-proceso-imagenes .wp-block-cover {
        top: 30px;
    }

    #bloque-calidad .wp-block-gallery,
    #home-calidad .wp-block-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #bloque-calidad .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
    #home-calidad .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 100%;
    }
}

/*proceso*/
#proceso-pasos p,
#proceso-pasos h3,
#proceso-pasos h4 {
    max-width: 450px;
}

@-webkit-keyframes oscilarAncho {
    0% {
        background-size: 400px;
    }

    25% {
        background-size: 600px;
    }

    50% {
        background-size: 400px;
    }

    75% {
        background-size: 600px;
    }

    100% {
        background-size: 400px;
    }
}

@keyframes oscilarAncho {
    0% {
        background-size: 400px;
    }

    25% {
        background-size: 600px;
    }

    50% {
        background-size: 400px;
    }

    75% {
        background-size: 600px;
    }

    100% {
        background-size: 400px;
    }
}

#proceso-pasos {
    background-repeat: no-repeat;
    -webkit-animation: oscilarAncho linear both;
    animation: oscilarAncho linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
}

#proceso-pasos .wp-block-media-text {
    z-index: 2;
    position: relative;
}

#hoja-grande-izquierda img,
#hoja-pequena-izquierda img {
    position: absolute;
    top: -120px;
    left: 0px;
    z-index: 1;
    width: 23vw;
}

#hoja-pequena-izquierda img {
    top: 45%;
    width: 12vw;
}

#hoja-derecha-1 img,
#hoja-derecha-2 img {
    position: absolute;
    right: 0;
    top: 14%;
    z-index: 1;
    width: 12vw;
}

#hoja-derecha-2 img {
    top: 95%;
}

#pasos-lista {
    list-style: none;
    padding: 0;
}

@media (width <=768px) {}

/* 1. Definimos la animación: de invisible y abajo -> a visible y en su sitio */
@-webkit-keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#pasos-lista li {
    font-weight: 700;
    padding: 15px 0;
    font-size: 28px;
    border-bottom: 1px solid var(--ast-global-color-3);
    list-style: none;
    /* 2. Aplicamos la animación al scroll (CSS nativo moderno) */
    -webkit-animation: aparecer linear both;
    animation: aparecer linear both;
    animation-timeline: view();
    animation-range: entry 10% contain 30%;
}

#pasos-lista li:last-child {
    border-bottom: none;
}

#pasos-lista li strong {
    color: var(--ast-global-color-2);
    margin-right: 3px;
}

/*productos*/
#productos-lista .wp-block-media-text {
    -webkit-animation: aparecer linear both;
    animation: aparecer linear both;
    animation-timeline: view();
    animation-range: entry 10% contain 30%;
}

#productos-lista p {
    max-width: 420px;
}

#productos-lista .wp-block-media-text__media img {
    width: auto;
}

#productos-lista .wp-block-media-text__media {
    text-align: center;
    pointer-events: none;
}

@media (width <=544px) {
    #productos-lista .wp-block-buttons {
        margin-bottom: 40px;
    }
}

/*producto*/
#producto-datos ul {
    padding-left: 0;
    list-style: none;
}

#producto-datos h3 {
    margin-bottom: 0.75em;
}

#producto-datos > h3 {
    margin-top: 100px;
}

@-webkit-keyframes entradaSuaveHeroProducto {
    from {
        opacity: 0;
        transform: scale(0.92) rotate(-3deg);
        /* Un toque más sutil */
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes entradaSuaveHeroProducto {
    from {
        opacity: 0;
        transform: scale(0.92) rotate(-3deg);
        /* Un toque más sutil */
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

#producto-hero > div > div > figure {
    -webkit-animation: entradaSuaveHeroProducto 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation: entradaSuaveHeroProducto 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    will-change: transform, opacity;
}

#producto-hero .wp-block-media-text__media {
    text-align: center;
}

#producto-hero .wp-block-media-text__media img {
    width: auto;
    max-width: 100%;
}

.calendario-estacionalidad {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-family: sans-serif;
    color: #4a5d4e;
    /* Color verde oscuro del texto */
}

.mes-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 30px;
}

.mes-nombre {
    font-size: 18px;
}

.mes-punto {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background-color: transparent;
    /* Invisible por defecto */
}

/* El punto verde solo aparece cuando el mes está activo */
.mes-item.is-active .mes-punto {
    background-color: #00a03a;
    /* El verde de tu imagen */
}

/*propiedades*/
.contenedor-propiedades {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
}

.propiedades-wrapper-layout {
    display: contents;
}

.bloque-propiedades {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
}

.bloque-izq {
    order: 1;
    text-align: right;
    align-items: flex-end;
}

.bloque-izq .item-propiedad {
    align-items: flex-end;
}

.col-imagen-central {
    order: 2;
    flex: 0 0 40%;
}

.bloque-der {
    order: 3;
    text-align: left;
    align-items: flex-start;
}

.item-propiedad {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.numero-circulo {
    width: 62px;
    height: 62px;
    border: 2px solid var(--ast-global-color-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ast-global-color-2);
    font-weight: 700;
    font-size: 24px;
}

.contenedor-marcas {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.item-marcas {
    text-align: center;
    width: 250px;
}

.item-marcas img {
    width: 250px;
    margin-bottom: 1em;
}

@media (max-width: 768px) {
    .contenedor-propiedades {
        display: flex;
        flex-direction: column;
    }

    .bloque-izq {
        order: 2;
        text-align: left;
        align-items: flex-start;
    }

    .bloque-izq .item-propiedad {
        align-items: flex-start;
    }

    .propiedades-wrapper-layout {
        display: grid;
        order: 2;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }

    .bloque-propiedades {
        display: contents;
    }
}

@media (max-width: 544px) {
    .propiedades-wrapper-layout {
        grid-template-columns: 1fr 1fr;
    }
}

/*blog*/
.ast-archive-entry-banner[data-post-type="post"] {
    padding-top: calc(6em + 80px);
    padding-bottom: 6em;
}

.ast-archive-entry-banner[data-post-type="post"] .ast-container h1 {
    font-weight: 600;
    font-size: 80px;
    position: relative;
    line-height: 1em;
    padding-bottom: 0.3em;
    margin-bottom: 0.8em !important;
}

.ast-article-post .post-thumb-img-content img {
    -o-object-fit: cover;
    object-fit: cover;
}

.single .entry-header .post-thumb img {
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 15px;
}

.single-post .entry-content {
    max-width: 800px;
}

.single-post h2,
.single-post .entry-content :where(h2) {
    font-size: 2em;
}

@media (width >=1200px) {

    .hojas-derecha:after,
    .single-post .entry-content:after {
        content: "";
        position: absolute;
        top: 90vh;
        right: 0;
        width: 235px;
        height: 193px;
        background-image: url('data:image/svg+xml,<svg width="235" height="193" viewBox="0 0 235 193" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M276 0C209.833 2.09538 133.921 18.9335 86.0328 55.3781C44.1118 87.2577 27.9473 134.778 0 193C72.5876 186.04 131.202 179.904 177.051 148.249C223.655 115.995 257.041 57.7725 276 0Z" fill="%2385B040"/></svg>');
    }

    .hojas-derecha:before,
    .single-post .entry-content:before {
        content: "";
        position: absolute;
        top: calc(90vh + 235px);
        right: 0;
        width: 370px;
        height: 235px;
        background-image: url('data:image/svg+xml,<svg width="370" height="235" viewBox="0 0 370 235" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M620.905 87.7608C518.068 34.9068 415.419 -8.61997 311.919 1.46091C208.419 11.5418 104.162 75.3246 0 148.34C125.07 202.984 249.573 243.402 352.789 233.51C456.668 223.617 539.165 163.038 621 87.6666" fill="%2385B040"/></svg>');
    }

    .hojas-derecha:after {
        top: 610px;
    }

    .hojas-derecha:before {
        top: 845px;
    }

    #certificados-container.hojas-derecha:after {
        top: 350px;
        z-index: 2;
    }

    #certificados-container.hojas-derecha:before {
        top: 585px;
        z-index: 2;
    }
}

/*footer*/
footer#colophon {
    display: flex;
    flex-direction: column;
}

#footer-institutional-container {
    padding: 60px 10px;
    background-color: var(--ast-global-color-1);
    border-style: solid;
    border-width: 0px;
    border-top-width: 1px;
    border-top-color: var(--ast-global-color-3);
    padding-left: var(--wp--custom--ast-default-block-left-padding);
    padding-right: var(--wp--custom--ast-default-block-right-padding);
}

#footer-institucional-frase {
    font-size: 14px;
    max-width: 1000px;
    text-align: center;
    margin: 30px auto 0;
    line-height: 1em;
}

#footer-institutional-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-image: none;
    min-height: 60px;
    -moz-column-gap: 100px;
    column-gap: 100px;
    row-gap: 20px;
}

#footer-institucional-frase p {
    margin: 0;
}

@media (max-width: 768px) {
    #footer-institutional-logos {
        gap: 15px;
    }

    #footer-institutional-logos img {
        height: 40px !important;
    }
}

@media (max-width: 544px) {
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
        display: block;
        margin-bottom: 40px;
    }
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    order: 4;
}

/* Definición de las animaciones */
@-webkit-keyframes entradaFruta {
    from {
        transform: translateY(100px) rotate(-15deg);
    }

    to {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes entradaFruta {
    from {
        transform: translateY(100px) rotate(-15deg);
    }

    to {
        transform: translateY(0) rotate(0deg);
    }
}

@-webkit-keyframes entradaFrutaLenta {
    from {
        transform: translateY(200px) rotate(20deg);
    }

    to {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes entradaFrutaLenta {
    from {
        transform: translateY(200px) rotate(20deg);
    }

    to {
        transform: translateY(0) rotate(0deg);
    }
}

#footer-kaki {
    position: absolute;
    top: -180px;
    left: -100px;
    /* Configuración de Scroll Animation */
    -webkit-animation: entradaFruta linear both;
    animation: entradaFruta linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

#footer-melocoton {
    position: absolute;
    top: -230px;
    left: 270px;
    /* Configuración de Scroll Animation con distinta velocidad/rotación */
    -webkit-animation: entradaFrutaLenta linear both;
    animation: entradaFrutaLenta linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

@media (width <=921px) {
    #footer-kaki {
        left: -6vw;
        width: 31vw;
        top: -130px;
    }

    #footer-melocoton {
        width: 30vw;
        left: 20vw;
        top: -150px;
    }
}

@media (width <=544px) {
    #colophon {
        overflow-x: clip;
    }

    #footer-kaki {
        left: 0;
        width: 50vw;
        top: -170px;
    }

    #footer-melocoton {
        width: 50vw;
        top: -180px;
        left: 42vw;
    }
}

/*legal*/
#legal {
    padding: 0 0 60px 0;
}

#legal h2 {
    font-size: 2em;
}

#legal h3 {
    font-size: 1.5em;
}

@media (width <=544px) {
    .ast-plain-container.ast-no-sidebar #primary header.entry-header.ast-no-thumbnail {
        margin-top: 60px;
    }
}

/*certificaciones*/
.tabs-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 20px;
}

.tab-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    -webkit-filter: opacity(0.4);
    filter: opacity(0.4);
    border-bottom: 4px solid transparent;
    box-shadow: none;
}

/* Estilo del botón activo */
.tab-btn.is-active {
    -webkit-filter: grayscale(0%) opacity(1);
    filter: grayscale(0%) opacity(1);
    border-bottom: 4px solid #27ae60;
}

.tab-logo {
    height: 100px;
    width: 130px;
    display: block;
}

/* Panel de contenido (oculto por defecto) */
.tab-panel {
    display: none;
    background: #fff;
    padding: 10px;
    -webkit-animation: fadeInTab 0.4s ease;
    animation: fadeInTab 0.4s ease;
}

/* Panel activo */
.tab-panel.is-active {
    display: block;
}

/* Cuadrícula de procesos */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 60px;
    padding: 0 !important;
}

.process-li {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 15px 0;
    border-bottom: 1px solid var(--ast-global-color-0);
    color: #334155;
    transition: opacity 0.3s ease;
}

/* Círculo naranja para el check */
.process-check {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 11px;
    flex-shrink: 0;
}

/* Estado ACTIVO */
.process-li.active {
    opacity: 1;
}

/* Estado INACTIVO (con opacidad) */
.process-li.inactive {
    opacity: 0.3;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.process-li.inactive .process-check {
    background: #e2e8f0;
    color: #94a3b8;
}

/* Iconos por proceso */
.process-li.poda .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado1-1.webp');
}

.process-li.riego .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado2-1.webp');
}

.process-li.recoleccion .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado3-1.webp');
}

.process-li.carga_campo .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado4-1.webp');
}

.process-li.descarga .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado5-1.webp');
}

.process-li.confeccion .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado6-1.webp');
}

.process-li.camara .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado7-1.webp');
}

.process-li.enfriado .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado8-1.webp');
}

.process-li.revision .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado9-1.webp');
}

.process-li.muelle .process-check {
    background-image: url('/wp-content/uploads/2026/03/certificado10-1.webp');
}

.process-li .process-check {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@-webkit-keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .tabs-wrapper {
        min-height: auto;
    }

    .tabs-header {
        display: block;
        border: none;
    }

    .tab-summary {
        -webkit-filter: none;
        filter: none;
        opacity: 1;
        border: 1px solid #eee;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .tab-panel {
        position: static;
        padding: 20px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px 0;
    }

    .tab-logo {
        height: 45px;
        margin: 0 auto;
    }
}

/*sobre nosotros*/
#nosotros-productos a:hover {
    scale: 1.05;
}

#nosotros-parallax h2 {
    margin-bottom: 20vh !important;
}

#bloque-calidad > div > div > figure {
    max-width: 450px;
    margin-bottom: 60px;
}

/*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],
select,
textarea {
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid;
    border-radius: 0;
    border-color: var(--ast-global-color-3);
    max-width: 600px;
}

.rgpd label,
.rgpd label a {
    color: var(--ast-global-color-1);
}

/*cookies*/
#moove_gdpr_cookie_info_bar {
    background-color: #0000008a !important;
    height: 100vh;
    top: 0;
    max-height: none !important;
    display: flex;
    align-items: flex-end;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme {
    background-color: #ffffff8a !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
    border-top: 0 !important;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin: 0 10px;
    width: calc(100vw - 30px);
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container {
    background-color: #FFF;
}

#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container {
    background-color: #222;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content {
    justify-content: center;
}

#moove_gdpr_cookie_info_bar {
    font-size: 20px !important;
    line-height: 1.3em !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    font-size: 20px !important;
}

@media (max-width: 921px) {
    #moove_gdpr_cookie_info_bar p {
        font-size: 16px !important;
    }

    #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
        font-size: 16px !important;
    }
}

#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container {
    background-color: var(--ast-global-color-7);
}

/*blog*/
.single-post .wp-block-columns.alignwide.is-layout-flex {
    padding: 0 0 40px 0;
    -moz-column-gap: 30px;
    column-gap: 30px;
}