body.home .video-container-wrapper .mouse 
{
    position: absolute;
    width: 26px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 13px;
    background: rgba(0,0,0,0);
    top: 85%;
    margin: 0 auto;
    left: 0;
    right: 0;
    transition: all .3s;
    z-index: 100;
}

body.home .video-container-wrapper .mouse a {
    display: block;
    width: 26px;
    height: 40px
}

body.home .video-container-wrapper .mouse .wheel {
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    top: 6px;
    left: 0;
    right: 0;
    animation: magic-mouse 1.7s infinite ease
}
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.blockani .aniblock,.blockani .aniblock1,.blockani .aniblock2,.blockani .aniblock3, .blockani .aniblock4 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out,transform 1s ease-out
}

.blockani .aniblock.is-visible,.blockani .aniblock1.is-visible,.blockani .aniblock2.is-visible,.blockani .aniblock3.is-visible, .blockani .aniblock4.is-visible {
    opacity: 1;
    transform: translateY(0)
}

.scroll-sensitive-image {
    transition: transform .1s ease-out
}

/* Carousel Home */
#carousel_home
{
    height: 100vh;
}

/* Add overlay to darken carousel images */
#carousel_home .carousel-item {
    position: relative;
}

#carousel_home .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity (0.5) to make it darker or lighter */
    z-index: 0;
}

#carousel_home .carousel-caption {
    z-index: 2; /* Ensure captions appear above the overlay */
}
#carousel_home .carousel-control-next-icon
{
    color: #fff;
    filter: none;
}
.carousel-dark .carousel-indicators [data-bs-target]
{
    background-color: #fff;
}
#carousel_home .carousel-control-prev-icon
{
    color: #fff;
    filter: none;
}
/* End Carousel Home */

@keyframes magic-mouse {
    0% {
        top: 6px;
        opacity: 0
    }

    30% {
        opacity: 1
    }

    100% {
        top: 18px;
        opacity: 0
    }
}

#carousel_home .carousel-caption h2
{
    font-size: 3rem!important;
    font-weight: 700!important;
    color: #fff!important;
}
#carousel_home .carousel-caption p
{
    font-size: 1.5rem!important;
    font-weight: 400!important;
    color: #fff!important;
}
#carousel_home .carousel-item.active .carousel-caption
{
   height: 100%;
   display: flex!important;
   justify-content: center;
   align-items: center;
   flex-direction: column;
}
#carousel_home .carousel-item img {
    height: 100vh;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}
/* Carousel text animations */
.carousel-caption h2 {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.8s ease-out !important;
}

.carousel-caption p {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.8s ease-out !important;
}

.carousel-item.active .carousel-caption h2 {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition-delay: 0.3s !important;
}

.carousel-item.active .carousel-caption p {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition-delay: 0.5s !important;
}
#servicios i,#services i,#serveis i
{
    padding: 0.6rem 0.7rem 0.4rem;
    background: #FFF;
    border-radius: 100%;
    color: #2f8f5b;
    font-size: 1.7rem;
}
#ventajas i,#our-advantage i,#avantatges i
{
    padding: 0.6rem 0.7rem 0.4rem;
    background: #2f8f5b;
    border-radius: 100%;
    color: #fff;
    font-size: 1.7rem;
}
.footer-widgets-container
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(1.25rem, 3vw, 3rem);
}
#wrapper-footer-colophon
{
    background:
        radial-gradient(1200px 400px at 5% 0%, rgba(47, 143, 91, 0.12), transparent 60%),
        radial-gradient(700px 300px at 95% 0%, rgba(255, 255, 255, 0.08), transparent 70%),
        #101218;
    color: #e9edf5;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.footer-container
{
    max-width: 1320px;
    margin: 0 auto;
}
.site-footer
{
    display: grid;
    gap: clamp(1.2rem, 2.5vw, 2rem);
}
.footer-top-row
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 0 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand
{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.footer-brand-logo
{
    max-height: 50px;
    width: auto;
    object-fit: contain;
}
.footer-brand-text
{
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
}
.footer-contact-block
{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1.25rem;
}
.footer-contact-link
{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(233, 237, 245, 0.95);
    text-decoration: none;
    font-size: 0.93rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-contact-label
{
    opacity: 0.8;
    font-weight: 600;
}
.footer-contact-link i
{
    color: #2f8f5b;
    font-size: 0.95rem;
}
.footer-contact-link:hover
{
    color: #fff;
    border-color: rgba(47, 143, 91, 0.5);
    background: rgba(47, 143, 91, 0.1);
}
.footer-legal-notice
{
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(1.1rem, 3vw, 1.7rem);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}
.footer-legal-notice-title
{
    margin: 0 0 0.6rem;
    color: #fff;
    font-size: clamp(1rem, 2.1vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.footer-legal-notice-text
{
    color: rgba(233, 237, 245, 0.9);
    line-height: 1.7;
    font-size: clamp(0.93rem, 1.5vw, 1rem);
}
.footer-content
{
    padding-top: 0.35rem;
}
.footer-content .widget-title
{
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}
.footer-content .widget
{
    color: rgba(233, 237, 245, 0.9);
}
.footer-content .widget a
{
    color: rgba(233, 237, 245, 0.92);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-content .widget a:hover
{
    color: #2f8f5b;
}
.footer-column
{
    flex: 1;
    min-width: 0;
}
.footer-bottom-bar
{
    background: #090b10;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-copyright
{
    margin: 0 auto;
    padding: 0.85rem 0;
}
.footer-copyright-text
{
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 1.25rem;
    color: rgba(233, 237, 245, 0.92);
    font-size: 0.92rem;
    text-align: center;
}
.footer-legal-links
{
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.95rem;
}
.footer-legal-link
{
    color: rgba(233, 237, 245, 0.9);
    text-decoration: none;
    position: relative;
}
.footer-legal-link:hover
{
    color: #2f8f5b;
}
.footer-legal-link:not(:last-child)::after
{
    content: "·";
    margin-left: 0.95rem;
    color: rgba(233, 237, 245, 0.5);
}
.section-contact-us
{
    background: linear-gradient(135deg, #ffffff 0%, rgba(47, 143, 91, 0.03) 50%, #ffffff 100%);
    padding: 2rem 0;
}
/* End Carousel text animations */
@media (max-width: 768px) {
    #carousel_home .carousel-caption h2 {
        font-size: 2rem !important;
    }
    #carousel_home .carousel-caption p {
        font-size: 1rem !important;
    }
}
@media (max-width: 576px) {
    .footer-widgets-container
    {
        flex-direction: column;
    }
    .footer-widgets-container figure
    {
        text-align: center;
    }
    .footer-column
    {
        width: 100%;
    }
    .footer-copyright-text
    {
        align-items: center;
        justify-content: center;
    }
    .footer-top-row
    {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-contact-block
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }
    .footer-brand-logo
    {
        max-height: 40px;
    }
    #carousel_home .carousel-caption h2 {
        font-size: 1.5rem !important;
    }
    #carousel_home .carousel-caption p {
        font-size: 0.9rem !important;
    }
    #carousel_home .carousel-control-prev,
    #carousel_home .carousel-control-next
    {
        display: none;
    }
    .carousel-caption
    {
       left: 5%;
       right: 5%;
    }
}

/* ─── Alertas del plugin Telegram (acceso restringido) ──────────────────── */
.pmpro-telegram-forum-access
{
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

/* ─── Muro de acceso (foro u otros contenidos protegidos) ────────────────── */
.fondeados-access-wall
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
    max-width: 560px;
    margin: clamp(2rem, 6vw, 4rem) auto;
    background:
        radial-gradient(800px 360px at 50% -5%, rgba(47, 143, 91, 0.08), transparent 65%),
        #f8f9fc;
    border: 1px solid rgba(47, 143, 91, 0.18);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(10, 15, 25, 0.06);
}

.fondeados-access-wall__icon
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(47, 143, 91, 0.1);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    color: #2f8f5b;
    font-size: 1.75rem;
}

.fondeados-access-wall__title
{
    margin: 0 0 0.75rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #101218;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.fondeados-access-wall__text
{
    margin: 0 0 2rem;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: #4f5b6a;
    line-height: 1.75;
    max-width: 440px;
}

.fondeados-access-wall__actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.fondeados-access-wall__btn
{
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.4rem;
    border-radius: 0.65rem;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.fondeados-access-wall__btn:hover
{
    transform: translateY(-1px);
    text-decoration: none;
}

.fondeados-access-wall__btn--primary
{
    background: #2f8f5b;
    color: #fff;
    border: 1px solid #2f8f5b;
}

.fondeados-access-wall__btn--primary:hover
{
    background: #267a4e;
    border-color: #267a4e;
    color: #fff;
}

.fondeados-access-wall__btn--secondary
{
    background: transparent;
    color: #2f8f5b;
    border: 1px solid rgba(47, 143, 91, 0.4);
}

.fondeados-access-wall__btn--secondary:hover
{
    background: rgba(47, 143, 91, 0.07);
    border-color: #2f8f5b;
    color: #2f8f5b;
}

@media (max-width: 480px)
{
    .fondeados-access-wall__actions
    {
        flex-direction: column;
        width: 100%;
    }

    .fondeados-access-wall__btn
    {
        justify-content: center;
        width: 100%;
    }
}
