* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.button {
    text-decoration: none;
    color: black;
    padding: 2px 18px;
    background-color: #FFFFFF;
    border: 1px solid black;
    border-radius: 20px;
    font-family: ABC Normal;
    font-weight: 450;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    transform-origin: center;
    display: inline-block;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;

    &:hover {
        filter: brightness(90%);
        transform: scale(1.05);
        cursor: pointer;
    }

    &.ico::after {
        content: url(https://estarenbabia.com/wp-content/themes/babia/assets/images/home2025/arrow-link.svg);
        padding-left: 6px;
        display: inline-block;
        transition: all 0.3s ease;
        transform: rotate(0deg);
        transform-origin: 60% 35%;
        vertical-align: middle;
        position: relative;
        top: -1px;
    }

    &.ico:hover::after {
        transform: translateX(4px) rotate(45deg);
        backface-visibility: hidden;
    }
}

.block {
    max-width: 1440px;
    margin: 0 auto;
    padding: 124px 100px 82px;

    &.no-padding {
        padding: unset;
    }

    &.no-sides {
        padding-right: 0;
        padding-left: 0;
    }

    &.no-top {
        padding-top: unset;
    }

    &.no-bot {
        padding-bottom: unset;
    }

    &.full {
        max-width: unset;
        margin: unset;
    }

    &.bottom-lg {
        padding-bottom: 120px;

        @media screen and (max-width: 800px) {
            padding-bottom: 100px;
        }
    }

    @media screen and (max-width: 1440px) {
        
    }

    @media screen and (max-width: 800px) {
        padding: 50px 30px;
    }
}

*:focus, :focus-visible {
    outline: -webkit-focus-ring-color auto 1px !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;

    @media screen and (max-width: 800px) {
        scroll-padding-top: 55px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0); 
    white-space: nowrap; /* para evitar que el texto haga saltos de línea */
    border: 0;
}

.background-video {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    z-index: -1;

    @media screen and (max-width: 768px) {
        bottom: 0;
    }
}

.video-control {
    position: absolute;
    right: clamp(24px, 6vw, 65px);
    bottom: clamp(84px, 8vw, 135px);
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background-color 0.3s ease, transform 0.3s ease;

    @media screen and (max-width: 800px) {
        right: 24px;
        bottom: 136px;
    }
}

.video-control:hover,
.video-control:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.06);
}

.video-control-icon {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.video-control .play-icon {
    display: none;
}

.video-control.is-paused .pause-icon {
    display: none;
}

.video-control.is-paused .play-icon {
    display: block;
}

/* body { &.menu-open { overflow: hidden; } } */

body {
    background-image: none !important;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    /* padding: 15px 0; */
    height: 55px;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    
    &.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);

        .nav-logo img {
            filter: unset;
        }

        .menu-button span {
            background-color: black;
        }
    }
    
    .nav-content {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    
    .nav-logo {
        height: 35px;
        
        img {
            height: 100%;
            width: auto;
            filter: invert();
        }
    
        .mobile-logo {
            display: none;
        }
    
        @media screen and (max-width: 768px) {
            .desktop-logo {
                display: none;
            }
            
            .mobile-logo {
                display: block;
            }
        }
    }
    
    .nav-right {
        display: flex;
        align-items: center;
        gap: 30px;
    }
    
    .nav-link {
        position: absolute;
        top: 50%;
        left: 50%;
        color: white;
        text-decoration: none;
        font-family: ABC Normal;
        font-size: 16px;
        transition: opacity 0.3s ease;
        font-weight: 500;
        transform: translate(-50%, -50%);
    
        .scrolled & {
            color: black;
        }
    
        &:hover {
            opacity: 0.7;
        }
    }
    
    .menu-button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: 30px;
        height: 30px;
        justify-content: center;
        
        span {
            display: block;
            width: 24px;
            height: 2px;
            background-color: white;
            transition: all 0.3s ease;
            transform-origin: center;
        }
    
        &:hover {
            span:first-child {
                transform: translateX(-1px) translateY(3.5px) rotate(-45deg);
                width: 12px;
            }
    
            span:nth-child(2) {
                width: 24px;
            }
    
            span:last-child {
                transform: translateX(-1px) translateY(-3.5px) rotate(45deg);
                width: 12px;
            }
        }
    }
    
    @media screen and (max-width: 768px) {
        .nav-content {
            padding: 0 20px;
        }
    }

    .side-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 500px;
        height: 100vh;
        background-color: #FB602F;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;

        &:not(.active) {
            visibility: hidden;
            
            a, button {
                display: none;
            }
        }
        
        @media screen and (max-width: 768px) {
            width: 100%;
        }
    }
    
    .side-menu.active {
        transform: translateX(0);
    }

    .close-menu {
        position: absolute;
        top: 40px;
        right: 40px;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    
        span {
            display: block;
            width: 100%;
            height: 2px;
            background-color: white;
            position: absolute;
            left: 0;
            top: 50%;
    
            &:first-child {
                transform: rotate(45deg);
            }
    
            &:last-child {
                transform: rotate(-45deg);
            }
        }
    
        &:hover span {
            opacity: 0.7;
        }
    
        @media screen and (max-width: 768px) {
            top: 20px;
            right: 20px;
        }
    }
    
    .menu-content {
        padding: 100px 40px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        @media screen and (max-width: 768px) {
            padding: 90px 40px;
        }
    }
    
    .menu-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: left;

        @media screen and (max-height: 900px) {
            gap: 5px;
        }
    }
    
    .menu-link {
        color: white;
        text-decoration: none;
        font-family: ABC Normal;
        font-size: 32px;
        transition: opacity 0.3s ease;
    
        &:hover {
            opacity: 0.7;
        }
    }
    
    .menu-share {
        text-align: left;

        p {
            color: white;
            font-family: ABC Normal;
            font-size: 16px;
            margin-bottom: 15px;
        }
    }
    
    .social-links {
        display: flex;
        gap: 20px;
    }
    
    .social-link {
        opacity: 1;
        transition: opacity 0.3s ease;
    
        &:hover {
            opacity: 0.7;
        }
    
        img {
            width: 24px;
            height: 24px;
        }
    }
}

header {
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.45);
        z-index: 1;
    }
}

header .content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    min-height: 100vh;
    padding: 50px 110px;
    align-content: center;
    align-items: end;
    z-index: 2;

    @media screen and (max-width: 1350px) {
        grid-template-columns: repeat(1, 1fr);
    }

    @media screen and (max-width: 800px) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        gap: 1rem;
    }
}

header .content .left, header .content .right {
    margin-bottom: 50px;

    @media screen and (max-width: 800px) {
        margin-bottom: unset;
    }
}

header .content .left {
    margin-top: 50px;
    text-align: left;

    .edicion {
        color: white;
        font-family: ABC Normal;
        font-weight: 450;
        font-size: 32px;
        line-height: 38px;
        letter-spacing: 0%;
        text-transform: uppercase;
        padding-left: 6px;

        @media screen and (max-width: 768px) {
            font-size: 20px;
            line-height: 30px;
        }
    }

    h1 {
        height: calc(146px * 3);
        color: white;
        font-family: Scotch Deck;
        font-weight: 300;
        font-size: 180px;
        line-height: 146px;

        @media screen and (max-width: 1440px) {
            /* font-size: 150px;
            line-height: 130px; */
        }

        @media screen and (max-width: 800px) {
            font-size: 85px;
            line-height: 85px;
            height: unset;
            text-align: center;
            margin-bottom: 25px;
        }
    }
}

header .content .right {
    display: flex;
    justify-content: flex-end;
    text-align: left;
    flex-direction: column;

    .experiencia {
        text-transform: uppercase;
        color: white;
        font-family: ABC Normal;
        font-weight: 450;
        font-size: 32px;
        line-height: 1.18;
        text-wrap: balance;
        width: 500px;
        word-break: break-word;
        margin-bottom: 6px;

        @media screen and (max-width: 800px) {
            font-size: 18px;
            line-height: 28px;
            width: unset;
            text-align: center;
        }
    }

}

.fecha {
    position: absolute;
    top: 120px;
    right: 64px;
    transform: rotate(8deg);
    color: white;
    font-family: ABC Normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 33px;
    letter-spacing: -1%;
    text-align: center;
    border: 1px solid white;
    padding: 20px 30px;
    border-radius: 75%;

    @media screen and (max-width: 800px) {
        font-size: 16px;
        padding: 10px 15px;
        top: 95px;
        right: 24px;
    }
}

.me-apunto {
    position: fixed;
    bottom: 0;
    right: 0;
    text-decoration: none;
    background-color: #FB602F;
    padding: 30px 40px;
    display: flex;
    gap: 25px;
    align-items: center;
    z-index: 10;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
    height: 80px;

    @media screen and (max-width: 1440px) {
        height: unset;
        padding: 15px 25px;
    }

    @media screen and (max-width: 800px) {
        padding: 12px;
    }

    &.sticky {
        position: fixed;
        bottom: 0;
        right: 0;
        top: unset;
        transform: translateY(100%);
        animation: slideUp 0.3s ease-out forwards;
    }

    &.hide {
        transform: translateY(0);
        animation: slideDown 0.3s ease-out forwards;
    }
    
    p {
        display: inline;
        color: white;
        font-family: ABC Normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 25px;
        letter-spacing: 1.5px;

        @media screen and (max-width: 800px) {
            font-weight: 500;
            font-size: 18px;
        }
    }
}

header .header-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section {

    &.babia-existe {
        position: relative;
        overflow: hidden;
        
        /* background: url('https://estarenbabia.com/wp-content/themes/babia/assets/videos/home2025/fondo1.mp4');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center; */
        
        .title {
            font-family: ABC Normal;
            font-weight: 500;
            font-size: 60px;
            line-height: 60px;
            margin-bottom: 31px;
            text-align: center;
        }

        .paragraph {
            text-align: center;
            max-width: 850px;
            margin: 0 auto 31px auto;
            font-family: ABC Normal;
            font-weight: normal;
            font-size: 20px;
            line-height: 26px;
            letter-spacing: 0%;

            &.bold {
                font-family: ABC Normal;
                font-weight: 500;
                font-size: 20px;
                line-height: 28px;
            }
        }

        .text {
            font-family: ABC Normal;
            font-weight: 500;
            font-size: 20px;
            line-height: 28px;
            margin-bottom: 16px;
            text-align: center;
        }

        .ponentes {
            position: relative;

            img {
                display: block;
                margin: 0 auto;
                width: 100%;
                max-width: 400px;
                height: auto;
            }
        }
    }

    &.para-ti {
        
        .content {
            /* padding-top: 25px; */
        }

        .title {
          font-family: 'ABC Normal';
          font-weight: 500;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            margin-bottom: 100px;
            text-align: left;

            @media screen and (max-width: 768px) {
                margin-bottom: 75px;
            }
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 60px 85px;
            list-style: none;

            @media screen and (max-width: 1440px) {
                grid-template-columns: repeat(2, 1fr);
            }

            @media screen and (max-width: 768px) {
                grid-template-columns: repeat(1, 1fr);
                gap: 40px;
            }
        }

        .item {
            display: flex;
            flex-direction: column;
            gap: 27px;
            text-align: left;
            /* min-height: 170px; */

            @media screen and (max-width: 768px) {
                text-align: center;
                align-items: center;
            }

            img {
                display: block;
                width: 84px;
                height: 84px;
            }

            .text {
                font-family: ABC Normal;
                font-weight: 300;
                font-size: 20px;
                line-height: 26px;
                letter-spacing: 0%;

                @media screen and (max-width: 768px) {
                    /* font-size: 16px;
                    line-height: 22px; */
                }
            }
        }

        .item:nth-of-type(1), .item:nth-of-type(2), .item:nth-of-type(3) {
            padding-bottom: 32px;
            border-bottom: 1px solid gray;

            @media screen and (max-width: 1440px) {
                border-bottom: unset;
            }
        }
    }

    &.experiencia {
        .content {
            text-align: left;
        }

        .title {
          font-family: 'ABC Normal';
          font-weight: 500;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            margin-bottom: 45px;
        }

        .slider {
            position: relative;
            width: 100%;
        }

        .slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            opacity: 1;
            transition: opacity 0.3s ease-in-out;

            @media screen and (max-width: 768px) {
                
            }

            &.fade {
                opacity: 0;
            }
        }

        .slide-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 19px;

            @media screen and (max-width: 768px) {
                grid-template-columns: 1fr;
            }

            .images img {
                max-height: 801px;
            }
        }

        .image-placeholder {
            display: block;
            width: 100%;
            height: 100%;
            background-color: #d7d7d7;
        }

        .info {
            display: flex;
            flex-direction: column;
            position: relative;

            .info-img {
                max-height: 356px;
                object-fit: cover;
                object-position: center;
            }
        }

        .dinamic-content {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .slide-title {
            font-family: ABC Normal;
            font-weight: 450;
            font-size: 100px;
            line-height: 100px;
            letter-spacing: -1%;
            padding: 40px 0 20px 0;
            margin-bottom: 10px;
            border-bottom: 1px solid #00000050;

            @media screen and (max-width: 1400px) {
                padding-top: 20px;
                font-size: 75px;
                line-height: 75px;
            }

            @media screen and (max-width: 768px) {
                font-size: 50px;
                line-height: 50px;
            }
        }

        .content {
            flex: 1;
            justify-content: space-between;
            display: flex;
            flex-direction: column;
            min-height: 250px;

            @media screen and (max-width: 768px) {
                min-height: 220px;
            }
        }

        .slide-text {
            font-family: ABC Normal;
            font-weight: 300;
            font-size: 20px;
            line-height: 26px;
            padding: 30px 40px 30px 0;

            @media screen and (max-width: 1400px) {
                /* font-size: 18px;
                line-height: 22px; */
            }

            @media screen and (max-width: 768px) {
                padding-right: 0;
                padding-bottom: 0;
            }
        }

        .spacer {
            border-bottom: 1px solid #00000050;
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
        }

        .pagination {
            font-family: ABC Normal;
            font-size: 16px;
        }

        .navigation {
            display: flex;

            button {
                width: 59px;
                height: 59px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 4px;
                transition: opacity 0.3s;

                &:hover {
                    filter: contrast(0.8);
                }
            }
        }
    }

    &.ponentes {
        text-align: center;
        background: linear-gradient(0deg, #FFFFFF 9%, #FDA8C5 63%, #FB602F 100%);
        padding-top: 90px;

        .content {
            position: relative;
        }
        
        .title {
          font-family: 'ABC Normal';
          font-weight: 500;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            text-align: center;
            margin-bottom: 60px;
        }

        .speakers-slider {
            margin: 0 auto;
            max-width: 930px;
            overflow: hidden;
        }

        .slides {
            position: relative;
            min-height: 400px;
            display: flex;
            gap: 150px;
            padding: 0;
            transition: transform 0.3s ease-in-out;
            
            @media screen and (max-width: 1000px) {
                gap: 0;
            }
        }

        .prev, .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            transition: opacity 0.3s;
            width: 59px;
            height: 59px;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 100%;
                height: 100%;
            }

            &:hover {

                img {
                    filter: contrast(0.8);
                }
            }
        }

        .prev {
            left: -20px;
        }

        .next {
            right: -20px;
        }

        .speaker {
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 390px;
            visibility: hidden;

            @media screen and (max-width: 1200px) {
                min-width: unset;
            }

            a {
                color: black;
                text-decoration: underline;

                &:hover {
                    filter: opacity(60%);
                }
            }
            
            &.active {
                opacity: 1;
                visibility: visible;
            }
            
            @media screen and (max-width: 1200px) {
                flex: 0 0 100%;
            }

            img {
                width: 280px;
                height: 280px;
                border-radius: 50%;
                margin-bottom: 24px;

                @media screen and (max-width: 768px) {
                    width: 100%;
                    max-width: 200px;
                    height: auto;
                }
            }

            h3 {
                color: black;
                font-family: ABC Normal;
                font-weight: 450;
                font-size: 26px;
                line-height: 30px;
                letter-spacing: -1%;
                margin-bottom: 16px;
            }

            p {
                color: black;
                font-family: ABC Normal;
                font-weight: 300;
                font-size: 20px;
                line-height: 26px;
                letter-spacing: 0%;
            }
        }
    }

    &.agenda {
        position: relative;
        overflow: hidden;

        /* background: url('https://estarenbabia.com/wp-content/themes/babia/assets/videos/home2025/fondo2.mp4');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center; */

        .content {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 100px 82px;

            @media screen and (max-width: 800px) {
                padding: 50px 30px;
            }
        }

        .title {
          font-family: 'ABC Normal';
          font-weight: 500;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            text-align: center;
            margin-bottom: 76px;
        }

        .days {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 80px;
            margin-bottom: 100px;

            @media screen and (max-width: 1280px) {
                grid-template-columns: repeat(2, 1fr);
                margin-bottom: 75px;
            }

            @media screen and (max-width: 768px) {
                grid-template-columns: 1fr;
                gap: 50px;
            }
        }

        .day {
            text-align: left;

            @media screen and (max-width: 768px) {
                text-align: center;
            }
            
            h3 {
              font-family: 'ABC Normal';
              font-weight: 500;
                font-size: 100px;
                line-height: 90px;
                letter-spacing: -1%;
                margin-bottom: 24px;
            }

            h4 {
              font-family: 'ABC Normal';
              font-weight: 500;
                font-size: 26px;
                line-height: 30px;
                letter-spacing: -1%;
                margin-bottom: 24px;
                min-height: 60px;

                @media screen and (max-width: 768px) {
                    min-height: unset;
                }
            }

            p {
                font-family: ABC Normal;
                font-weight: 300;
                font-size: 20px;
                line-height: 24px;
            }
        }

        .duda {
            text-align: center;
        }
    }

    &.babia {
        background-image: url('https://estarenbabia.com/wp-content/themes/babia/assets/images/home2025/babia-bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        z-index: 1;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .content {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 100px 82px;
            position: relative;
            min-height: 750px;
            text-align: left;
            z-index: 2;

            @media screen and (max-width: 1024px) {
                min-height: 700px;
            }

            @media screen and (max-width: 800px) {
                min-height: 650px;
                padding: 50px 30px;
            }
        }

        .text {
            color: white;
            font-family: ABC Normal;
            font-weight: 400;
            font-size: 30px;
            line-height: 36px;
            letter-spacing: -1%;
            margin-bottom: 50px;
            max-width: 650px;

            @media screen and (max-width: 1024px) {
                font-size: 28px;
                line-height: 32px;
            }
        }

        .big-text {
            position: absolute;
            bottom: -9px;
            right: 0;
            color: white;
            font-family: Scotch Deck;
            font-weight: 300;
            font-size: 300px;
            line-height: 210px;
            text-align: center;

            @media screen and (max-width: 1024px) {
                font-size: 250px;
                line-height: 175px;
            }

            @media screen and (max-width: 800px) {
                font-size: 120px;
                line-height: 84px;
                bottom: -4px;
            }
        }
    }

    &.encuentros {
        .title {
            font-family: ABC Normal;
            font-weight: 400;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            text-align: left;
            margin-bottom: 35px;
        }

        .encuentros-container {
            margin-top: 2rem;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;

            @media screen and (max-width: 1280px) {
                /* grid-template-columns: repeat(2, 1fr); */
            }
            
            @media screen and (max-width: 1024px) {
                grid-template-columns: repeat(1, 1fr);
            }

            @media screen and (max-width: 768px) {
                flex-direction: column;
            }
        }
        
        .encuentro {
            position: relative;
            display: block;
            height: 665px;

            @media screen and (max-width: 1024px) {
                /* height: unset; */
                max-height: 665px;
            }

            @media screen and (max-width: 768px) {
                margin: 0 -30px;
                aspect-ratio: 4/3;
            }

            @media screen and (max-width: 480px) {
                aspect-ratio: 3/4;
            }
        }
        
        .encuentro-image {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 1;

            &::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
                z-index: 2;
            }

            img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                object-position: center;
                aspect-ratio: 3/4;
            }

            @media screen and (max-width: 768px) {
                &::after {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 85%;
                    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
                }
            }
        }
        
        .encuentro-content {
            position: absolute;
            bottom: 49px;
            left: 40px;
            z-index: 2;
            max-width: 65%;
            text-align: left;
            
            @media screen and (max-width: 1024px) {
                max-width: 70%;
                left: 30px;
                right: 30px;
                bottom: 30px;
                transform: none;
            }

            @media screen and (max-width: 768px) {
                max-width: 100%;
            }

            @media screen and (max-width: 480px) {
                bottom: 20px;
                left: 20px;
                right: 20px;
            }
        }
        
        .encuentro-title {
            color: white;
            font-family: ABC Normal;
            font-weight: 450;
            font-size: 28px;
            line-height: 32px;
            letter-spacing: -1%;
            margin-bottom: 1rem;
            text-align: left;

            @media screen and (max-width: 1024px) {
                font-size: 26px;
                line-height: 30px;
            }
        }
        
        .encuentro-desc {
            color: white;
            font-family: ABC Normal;
            font-weight: 300;
            font-size: 20px;
            line-height: 26px;
            margin-bottom: 1.5rem;
            text-align: left;
        }
    }

    &.ediciones-anteriores {
        .content {
            text-align: center;
        }

        .title {
            font-family: 'ABC Normal';
            font-weight: 500;
            font-size: 40px;
            line-height: 45px;
            letter-spacing: -1%;
            text-align: left;
            margin-bottom: 35px;
        }

        .desc {
            font-family: ABC Normal;
            font-weight: 300;
            font-size: 20px;
            line-height: 26px;
            letter-spacing: 0%;
            margin-bottom: 50px;
            max-width: 543px;
            text-align: left;
        }

        .years {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 0 auto;

            @media screen and (max-width: 768px) {
                grid-template-columns: 1fr;
                gap: 60px;
            }
        }

        .year {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            h3 {
              font-family: 'ABC Normal';
              font-weight: 500;
                font-size: 26px;
                line-height: 30px;
                letter-spacing: -1%;
            }
        }
    }

    &.footer-video {
        .transcription {
            color: black;
            text-decoration: underline;
            font-size: 14px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;
            padding-right: 10px;
        }

        .video {
            display: block;
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            background-color: black;
            margin-top: 1rem;
        }
    }

    &.que-te-apetece {
        background: linear-gradient(0deg, #FCC794 9%, #FDA8C5 45%, #FB602F 100%);

        .content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .title {
            font-family: 'ABC Normal';
            font-weight: 500;
            font-size: 60px;
            line-height: 60px;
            letter-spacing: -1%;
            text-align: center;
        }

        .experiencias {
            display: flex;
            gap: 50px;
            margin-top: 75px;

            @media screen and (max-width: 1024px) {
                flex-direction: column;
                gap: 75px;
            }
        }

        .experiencia {
            max-width: 500px;

            @media screen and (max-width: 1024px) {
                max-width: unset;
            }

            .title {
                color: #000;
                text-align: center;
                font-family: 'ABC Normal';
                font-weight: 500;
                font-size: 26px;
                font-style: normal;
                line-height: 30px; /* 115.385% */
                letter-spacing: -0.26px;
                margin-bottom: 16px;

                &.single {
                    min-height: calc(30px * 2)
                }
            }
        }

        .desc {
            font-family: ABC Normal;
            font-weight: 300;
            font-size: 20px;
            line-height: 26px;
            letter-spacing: 0%;
            text-align: center;
            margin-bottom: 24px;
            max-width: 350px;

            @media screen and (max-width: 1024px) {
                max-width: 500px;
            }
        }

        .politica-de-devoluciones {
            font-family: ABC Normal;
            font-weight: 300;
            font-size: 14px;
            line-height: 26px;
            letter-spacing: 0%;
            text-align: center;
            margin-top: 32px;
            margin-bottom: 94px;
            color: #141414;
            text-decoration: underline !important;
        }

        .button {
            margin-bottom: 0;
        }

        .premio {
            display: flex;
            align-items: center;
            gap: 27px;
            max-width: 700px;

            @media screen and (max-width: 768px) {
                flex-direction: column;
            }

            .img {
                width: 97px;
                height: 97px;
            }

            .dircom {
                font-family: ABC Normal;
                font-weight: 300;
                font-size: 20px;
                line-height: 26px;
                letter-spacing: 0%;
                text-align: left;

                @media screen and (max-width: 768px) {
                    text-align: center;
                    font-size: 16px;
                    line-height: 20px;
                }

                .link {
                    color: black;
                    text-decoration: underline;
                }
            }
        }
    }
}

footer {
    background-color: white;

    @media screen and (max-width: 768px) {
        padding: 40px 20px;
    }

    a:hover {
        opacity: 0.6;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 20px;
        padding: 40px 60px;

        @media screen and (max-width: 768px) {
            flex-direction: column;
            gap: 20px;
            padding: 20px 20px 60px 20px;
        }
    }

    .logo-container {
        display: block;

        @media screen and (max-width: 768px) {
            display: flex;
            justify-content: space-between;
        }
    }

    .logo {
        display: block !important;
        max-width: 180px;
        height: auto;
    }

    .bcorp {
        display: block;
        box-sizing: content-box;
        max-width: 80px;

        &.mobile { display: none; }
        &.desktop { display: block; }

        @media screen and (max-width: 768px) {
            width: 60px;

            &.mobile { display: block; }
            &.desktop { display: none; }
        }
    }

    .bottom-block {
        display: flex;
        gap: 20px;
    }

    .footer-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .first-line {
        display: flex;
        justify-content: space-between;
        padding-top: 5px;

        @media screen and (max-width: 1100px) {
            flex-direction: column;
            gap: 16px;
        }
    }

    .locations {
        display: flex;
        flex-wrap: wrap;
        gap: 0 8px;
        font-family: Pv sans Book, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;

        span:not(:last-child)::after {
            content: '|';
            margin-left: 8px;
        }

        @media screen and (max-width: 768px) {
            justify-content: center;
        }
    }

    .links {
        display: flex;
        gap: 24px;
        font-family: Pv sans Book, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;

        a {
            color: #302f2f;
            text-decoration: none;
        }

        @media screen and (max-width: 768px) {
            flex-direction: column;
            gap: 16px;
        }
    }

    .contact {
        display: flex;
        gap: 20px;
        font-family: Pv sans Book, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;

        @media screen and (max-width: 768px) {
            flex-direction: column;
            gap: 16px;
        }

        a {
            color: #333;
            text-decoration: none;
        }

        .phones {
            display: flex;
            gap: 10px;

            @media screen and (max-width: 768px) {
                justify-content: center;
            }
        }
    }

    .footer-right {
        display: flex;
        align-items: flex-end;
        gap: 24px;

        @media screen and (max-width: 768px) {
            align-items: flex-start;
        }
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100%);
    }
}
