* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purpura: #40008c;
    --violeta: #6300cf;
    --magenta: #ef1b4e;
    --naranja: #ff7a37;
    --verde: #c4f582;
    --negro: #000;
    --blanco: #fff;
    --titulos: "urbana", sans-serif;
    --parrafos: "futura-100", sans-serif;
}

html {
    scroll-snap-type: y mandatory;
    overflow-y: smooth;
}

.desplazamiento {
    scroll-snap-align: center;
}

.barranav {
    background-color: var(--violeta);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.3s ease;

    & img {
        width: 110px;
        height: auto;
        margin: 0;
    }

    & a {
        margin: 0;
    }

    & button {
        background: var(--purpura);
        color: var(--blanco);
        font-family: var(--titulos);
        font-weight: 700;
        font-size: 32px;
        padding: 3px 25px;
        border-radius: 25px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        transition: background-color 0.3s ease, transform 0.2s ease;

        &:hover {
            transform: scale(1.03);
        }

        &.open {
            background-color: var(--magenta);
        }

        & img {
            width: 20px;
            margin-left: 8px;
            padding-top: 2px;
        }
    }
}

main {
    background-image: url(../img/ilustraciones/resources_fondo_transp_inicio.svg);
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 55dvh;
    animation: fondo 15s infinite;

    & .nube {
        width: 123px;
        height: 120px;
        position: absolute;
        top: 25px;
        left: 220px;
        background-size: cover;
        animation:
            nube 15s ease-in-out infinite,
            flotar 4s ease-in-out infinite;
    }

    #Capa_1 {
        display: none;
    }

    #personaje_pantallas {
        display: none;
    }
}

@keyframes fondo {

    0%,
    17% {
        background-color: var(--violeta);
    }

    20%,
    37% {
        background-color: var(--magenta);
    }

    40%,
    57% {
        background-color: var(--naranja);
    }

    60%,
    77% {
        background-color: var(--verde);
    }

    80%,
    100% {
        background-color: var(--purpura);
    }
}

@keyframes nube {

    0%,
    19% {
        background-image: url(../img/ilustraciones/resources_Nube1.svg);
    }

    20%,
    39% {
        background-image: url(../img/ilustraciones/resources_Nube2.svg);
    }

    40%,
    59% {
        background-image: url(../img/ilustraciones/resources_Nube3.svg);
    }

    60%,
    79% {
        background-image: url(../img/ilustraciones/resources_Nube4.svg);
    }

    80%,
    100% {
        background-image: url(../img/ilustraciones/resources_Nube5.svg);
    }
}

@keyframes flotar {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

figure {
    width: 290px;
    height: auto;
    left: 27px;
    bottom: 0;
    position: absolute;
    display: block;
    z-index: 2;

}

#mainFigure {
    position: absolute;
    bottom: 0;
    margin: 0;
    width: 100%;
    display: block;

}

.CTA {
    background: linear-gradient(180deg, rgba(24, 0, 114, 1) 0%, rgba(64, 10, 140, 1) 75%);
    color: var(--blanco);
    text-align: center;
    padding: 20px;

    & h1 {
        font-family: var(--titulos);
        font-weight: 700;
        font-size: 45px;
        text-align: center;
        max-width: 280px;
        margin: 0 auto;
        line-height: 45px;
    }

    & p {
        font-family: var(--parrafos);
        font-size: 16px;
        max-width: 260px;
        margin: 0 auto;
        padding: 10px;
    }

    & h3 {
        font-family: var(--titulos);
        font-size: 24px;
        font-weight: 500;

        & a {
            text-decoration: none;
            color: var(--blanco);
        }

    }

    & .boton {
        background: transparent;
        text-decoration: none;
        padding: 0;
    }

    & img {
        width: 43px;
        height: auto;
        margin: 15px;
        animation: flecha 1s ease-in infinite;
    }
}

@keyframes flecha {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cards_proyectos {
    padding: 40px 20px;


    & h2 {
        color: var(--magenta);
        font-family: var(--titulos);
        font-weight: 700;
        font-size: 36px;
        line-height: 1.15;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
        text-transform: uppercase;
    }

    & p {
        font-family: var(--parrafos);
        font-size: 16px;
        color: var(--negro);
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
        padding: 15px 0 25px 0;
    }
}

.muestras {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
}

.anterior,
.siguiente {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;

    &:hover {
        transform: scale(1.12);
    }

    &:active {
        transform: scale(0.95);
    }

    & img {
        width: 42px;
        height: 42px;
        display: block;
    }
}

.slider {
    width: 100%;
    max-width: 310px;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.card {
    min-width: 100%;
    box-sizing: border-box;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.card-img {
    background-color: var(--card-bg, #c84b31);
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 15px 15px 0 15px;*/
    position: relative;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
        transition: transform 0.3s ease;
    }
}

.card:hover .card-img img {
    transform: scale(1.04);
}

.card-info {
    background: #ffffff;
    padding: 22px 20px 25px 20px;
    text-align: left;

    & h3 {
        font-family: var(--titulos);
        font-weight: 700;
        font-size: 24px;
        color: var(--negro);
        margin-bottom: 13px;
        line-height: 24px;
    }

    & p {
        font-family: var(--titulos);
        font-weight: 515;
        font-size: 18px;
        color: var(--negro);
        padding: 0;
        margin: 0;
    }
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--violeta);
    opacity: 0.8;
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.slider-dots .dot.active {
    width: 36px;
    height: 12px;
    border-radius: 8px;
    background-color: var(--violeta);
    opacity: 1;
}

.cta_areas {
    position: relative;
    background: var(--magenta);
    overflow: hidden;
}

.textoani {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

    & .linea {
        font-family: var(--titulos);
        color: var(--blanco);
        font-size: 50px;
        font-weight: 700;
        line-height: .9;
        text-align: center;
        opacity: 0;
        transform: translateY(40px) scale(.9);
        animation: entrada .7s ease forwards;
    }

    & .boton {
        background: var(--purpura);
        color: var(--blanco);
        text-align: center;
        font-family: var(--titulos);
        font-weight: 515;
        font-size: 24px;
        border-radius: 25px;
        padding: 10px 50px;
        margin: 30px;
        text-decoration: none;
    }

    & .boton:hover {
        background-color: var(--violeta);
        transform: scale(1.05);
    }

}

.textoani2 {
    display: none;
}

/* Retrasos */
.linea:nth-of-type(1) {
    animation-delay: .1s;
}

.linea:nth-of-type(2) {
    animation-delay: .2s;
}

.linea:nth-of-type(3) {
    animation-delay: .3s;
}

.linea:nth-of-type(4) {
    animation-delay: .4s;
}

.linea:nth-of-type(5) {
    animation-delay: .5s;
}

.linea:nth-of-type(6) {
    animation-delay: .6s;
}

.linea:nth-of-type(7) {
    animation-delay: .7s;
}

.linea:nth-of-type(8) {
    animation-delay: .8s;
}

@keyframes entrada {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(.9);
    }

    70% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Decoraciones */
.iconob1,
.iconob2,
.iconob3,
.iconob4 {
    position: absolute;
}

.iconob1 {
    top: 10px;
    right: 20px;

    & img {
        height: 50px;
        width: auto;
    }
}

.iconob2 {
    top: 167px;
    left: 0px;

    & img {
        height: 55px;
        width: auto;
    }
}

.iconob3 {
    top: 320px;
    right: 0px;

    & img {
        height: 65px;
        width: auto;
    }
}

.iconob4 {
    bottom: 10px;
    left: 20px;

    & img {
        height: 60px;
        width: auto;
    }
}

#cabeza {
    position: relative;
    bottom: -5px;
}

.formulario {
    background-color: var(--verde);
    margin: 0;
    bottom: 0;
    padding-bottom: 45px;

    & img {
        padding: 30px 30px 0 30px;
        margin: 0;
    }

    & form {
        background: var(--blanco);
        margin: 0 30px;
        padding: 8px 20px 30px 20px;
        border-radius: 0 0 25px 25px;
        display: flex;
        flex-direction: column;

    }

    & h2 {
        color: var(--purpura);
        font-family: var(--titulos);
        font-weight: 700;
        font-size: 32px;
        text-align: center;
        margin-bottom: 20px;
    }

    & p {
        font-family: var(--parrafos);
        font-size: 16px;

    }

    & label {
        font-family: var(--titulos);
        color: var(--purpura);
        font-size: 24px;
        font-weight: 500;
        padding: 10px;
    }

    & input {
        background: #e9dbfc;
        border-radius: 8px;
        border: none;
        padding: 10px
    }

    & textarea {
        background: #e9dbfc;
        border-radius: 8px;
        border: none;
        padding: 10px;
        min-height: 100px;
        resize: vertical;
        font-family: var(--parrafos);
    }

    & .form-status {
        display: none;
        margin: 15px 0 5px 0;
        padding: 12px 15px;
        border-radius: 8px;
        font-family: var(--parrafos);
        font-size: 15px;
        font-weight: 500;
        text-align: center;

        &.success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        &.error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
    }

    & button {
        background: var(--purpura);
        color: var(--blanco);
        font-family: var(--titulos);
        font-weight: 550;
        font-size: 22px;
        border-radius: 25px;
        padding: 10px;
        border: none;
        margin: 15px auto;
        min-width: 130px;
        transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;

        &:hover:not(:disabled) {
            background-color: var(--violeta);
            transform: scale(1.05);
            cursor: pointer;
        }

        &:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
        }
    }
}

/* ==========================================
   ESTILOS MENÚ LATERAL DESPLEGABLE (DRAWER)
   ========================================== */

header {
    position: sticky;
    top: 0;
    z-index: 1002;
    width: 100%;
}

header.menu-open .barranav {
    background-color: var(--purpura);
}

/* Telón / Fondo oscuro semi-transparente */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Menú lateral - Se abre de izquierda a derecha (translateX(-100%) a translateX(0)) */
.menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 390px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--purpura);
    z-index: 1001;
    padding: 85px 25px 40px 25px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
}

.menu-drawer.open {
    transform: translateX(0);
}

/* Lista del menú */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.menu-item {
    font-family: var(--titulos);
    font-size: 32px;
    font-weight: 700;
    color: var(--blanco);
    text-transform: uppercase;
    padding: 14px 0;
}

.menu-item a {
    color: var(--blanco);
    text-decoration: none;
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu-item a:hover {
    color: var(--verde);
    transform: translateX(4px);
}

/* Líneas divisorias del menú */
.menu-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    margin: 4px 0;
}

/* Wrapper de Áreas Creativas con Botón desplegable */
.menu-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.btn-dropdown {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--magenta);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
    padding: 0;
}

.btn-dropdown img {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.menu-title-wrapper.active .btn-dropdown img {
    transform: rotate(180deg);
}

/* Submenú de Áreas Creativas */
.submenu-container {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 1;
}

.submenu-container.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.submenu-list {
    list-style: none;
    padding: 10px 0 10px 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.submenu-list li a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--blanco);
    font-family: var(--titulos);
    font-size: 24px;
    font-weight: 700;
    padding: 12px 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.submenu-list li a:hover {
    transform: translateX(6px);
    color: var(--verde);
}

/* Badges / Círculos de color */
.badge-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.badge-purple {
    background-color: var(--violeta);
}

.badge-orange {
    background-color: var(--naranja);
}

.badge-magenta {
    background-color: var(--magenta);
}

.badge-green {
    background-color: var(--verde);
}

.badge-beige {
    background-color: #f8f6e8;
}

/* Opción 'Ver todo' */
.ver-todo-li {
    text-align: center;
    padding: 10px 0;
}

.ver-todo-link {
    font-family: var(--titulos) !important;
    font-size: 24px;
    font-weight: 700 !important;
    color: var(--blanco) !important;
    text-align: center;
    justify-content: center !important;
    text-decoration: none;
    display: block !important;
    width: 100%;
}

.ver-todo-link:hover {
    color: var(--verde) !important;
}

/*Footer*/
.principal_footer {
    background-color: var(--verde);
    position: relative;
    margin-bottom: 0;
    height: auto;
    width: 100%;

    & img {
        position: relative;
        bottom: -10px;
    }
}

footer {
    background-color: var(--violeta);
    color: var(--blanco);
    padding: 15px 30px 30px 30px;

    & h2 {
        font-size: 50px;
        font-family: var(--titulos);
        font-weight: 700;
        line-height: 45px;
        max-width: 300px;
        padding-bottom: 15px;
    }

    & p {
        font-size: 16px;
        font-family: var(--parrafos);
        max-width: 250px;
    }

    & a {
        text-decoration: none;
        color: var(--blanco);
        font-size: 16px;
        font-family: var(--parrafos);
        display: inline-block;
        margin: 15px 0;
    }
}

.redes_sociales {
    display: flex;
    justify-content: space-between;
    align-self: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;

    & a {
        margin-bottom: 15px;
    }
}

/* ==========================================
   ANIMACIONES DE CARGA INTERACTIVA EN SCROLL
   ========================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible,
.scroll-reveal-left.is-visible,
.scroll-reveal-right.is-visible,
.scroll-reveal-scale.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delay para elementos hijos en grillas o listas */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.is-visible>*:nth-child(1) {
    transition-delay: 0.08s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(2) {
    transition-delay: 0.16s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(3) {
    transition-delay: 0.24s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(4) {
    transition-delay: 0.32s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(5) {
    transition-delay: 0.40s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(6) {
    transition-delay: 0.48s;
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.is-visible>*:nth-child(n+7) {
    transition-delay: 0.55s;
    opacity: 1;
    transform: translateY(0);
}

/*  --- Responsive mobile---*/

@media (min-width: 390px) {}

/*  --- Responsive tablet---*/

@media (min-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    main {
        background-color: var(--blanco);
        animation: none;
        background-image: none;
        height: 30dvh;
        position: relative;
        margin-bottom: 155px;
        padding-top: 10px;

        & figure {
            display: none;
        }

        & #mainFigure {
            display: none;
        }

        & #Capa_1 {
            display: block;
            max-width: 550px;
            margin-top: 13px;
            position: absolute;
            right: 0;
        }

        & .nube {
            z-index: 5;
            width: 93px;
            height: 90px;
            top: 60px;
            left: revert-layer;
            right: 35px;
        }

        & #personaje_pantallas {
            display: block;
            position: absolute;
            right: 0;
            top: 23px;
            max-width: 550px;
        }

    }

    .CTA {
        background: none;
        color: #6300cf;
        position: absolute;
        top: 100px;
        text-align: left;

        & h1 {
            font-size: 56px;
            line-height: 50px;
            text-align: left;
            color: var(--purpura);
            margin: 0;
            padding: 0 20px;
            max-width: 300px;

            & span {
                color: var(--violeta);
            }
        }

        & p {
            font-size: 17px;
            max-width: 350px;
            color: var(--negro);
            padding: 0 20px;

        }

        & h3 {
            padding: 18px;

            & a {
                font-size: 20px;
                background: var(--violeta);
                padding: 10px 20px;
                text-align: center;
                text-decoration: none;
                color: var(--blanco);
                border-radius: 25px;
            }

            & a:hover {
                background-color: var(--magenta);
                transform: scale(1.05);
            }
        }
    }

    /* Estilos responsive tablet para la sección de proyectos (cards_proyectos) */
    .cards_proyectos {
        padding: 40px;
        max-width: 1050px;
        margin: 0 auto;

        & article {
            text-align: center;
        }

        & h2 {
            font-size: 36px;
            line-height: 36px;
            max-width: 300px;
            text-align: center;
            margin: 0 auto;
            color: var(--magenta);
            font-family: var(--titulos);
            font-weight: 700;
        }

        & p {
            font-size: 16px;
            max-width: 420px;
            text-align: center;
            margin: 15px auto 15px auto;
            padding: 0;
        }
    }

    .muestras {
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        position: relative;
    }

    .anterior,
    .siguiente {
        width: 45px;
        height: 45px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, opacity 0.2s ease;
        z-index: 10;

        & img {
            width: 50px;
            height: 50px;
            display: block;
        }

        &:hover {
            transform: scale(1.1);
        }

        &:active {
            transform: scale(0.95);
        }
    }

    .slider {
        flex: 1;
        max-width: 820px;
        width: 100%;
        overflow: hidden;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .slider-track {
        display: flex;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        width: 100%;
    }

    .card {
        min-width: 100%;
        width: 100%;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        padding: 10px 5px;
    }

    .card-link {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        gap: clamp(20px, 4vw, 40px);
        width: 100%;
        text-decoration: none;
    }

    .card-info {
        flex: 1;
        max-width: 360px;
        background: transparent;
        padding: 0;
        text-align: left;

        & h3 {
            font-family: var(--titulos);
            font-weight: 700;
            font-size: 36px;
            line-height: 36px;
            color: var(--negro);
            margin-bottom: 20px;
            text-transform: capitalize;
            max-width: 200px;
            margin-left: 20px;
        }

        & p {
            font-family: var(--titulos);
            font-weight: 550;
            font-size: 25px;
            color: var(--negro);
            padding: 0;
            margin: 0;
            text-align: left;
            margin-left: 20px;
        }
    }

    .card-img {
        flex: 1.1;
        max-width: 440px;
        height: 280px;
        border-radius: 35px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 35px;
            filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
            transition: transform 0.4s ease;
        }
    }

    .slider-dots {
        margin-top: 35px;
    }

    .textoani {
        display: none;
    }

    .textoani2 {
        padding: 45px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;

        & .linea {
            font-family: var(--titulos);
            color: var(--blanco);
            font-size: 50px;
            font-weight: 700;
            line-height: .9;
            text-align: center;
            opacity: 0;
            transform: translateY(40px) scale(.9);
            animation: entrada .7s ease forwards;
        }

        & .boton {
            background: var(--purpura);
            color: var(--blanco);
            text-align: center;
            font-family: var(--titulos);
            font-weight: 515;
            font-size: 24px;
            border-radius: 25px;
            padding: 10px 50px;
            margin: 30px;
            text-decoration: none;
        }

        & .boton:hover {
            background-color: var(--violeta);
            transform: scale(1.05);
        }
    }

    .iconob1 {
        top: 20px;
        right: 20px;

        & img {
            height: 60px;
            width: auto;
        }
    }

    .iconob2 {
        top: 120px;
        left: 0px;

        & img {
            height: 105px;
            width: auto;
        }
    }

    .iconob3 {
        top: 200px;
        right: 0px;

        & img {
            height: 120px;
            width: auto;
        }
    }

    .iconob4 {
        bottom: 30px;
        left: 20px;

        & img {
            height: 70px;
            width: auto;
        }
    }

    #cabeza {
        max-width: 650px;
        margin: 0 auto;
        bottom: -10px;
    }

    .formulario {
        & form {
            max-width: 590px;
            margin: 0 auto;
            padding: 0 70px 40px 70px;
            border-radius: 0 0 30px 30px;
        }

        & h2 {
            font-size: 36px;
        }

        & p {
            font-size: 18px;
        }

        & label {
            font-size: 26px;
            padding: 12px;
        }

        & input {
            padding: 13px;
        }

        & textarea {
            padding: 30px;
        }

        & button {
            font-size: 24px;
            padding: 15px 30px;
        }
    }

    .menu-drawer {
        max-width: 500px;
    }

    .menu-item {
        font-size: 36px;
    }

    .submenu-list li a {
        font-size: 25px;
    }

    footer {
        padding: 15px 50px 30px 50px;

        & .informacion_footer {
            display: flex;
            justify-content: space-between;

            & h2 {
                font-size: 65px;
                max-width: 290px;
                line-height: 60px;
            }

            & p {
                font-size: 18px;
                max-width: 240px;
            }

            & a {
                font-size: 18px;
                margin-bottom: 5px;
            }
        }

    }

    .redes_sociales {
        border-bottom: none;
        margin-top: 15px;
    }

    .final_footer {
        border-top: 1px solid #fff;
        display: flex;
        justify-content: space-between;

        & .elemento1 {
            order: 2;
        }

        & .elemento2 {
            order: 1;
        }

        & p {
            font-size: 16px;
            margin-top: 15px;
        }
    }
}

/*  --- Responsive desktop---*/

@media (min-width: 1200px) {
    html {
        scroll-snap-type: none;
    }

    .barranav {
        padding: 15px 40px;

        & img {
            width: 130px;
        }

        & button {
            font-size: 44px;
            border-radius: 30px;
            padding: 3px 30px;
        }
    }

    main {
        background-color: var(--blanco);
        animation: none;
        background-image: none;
        height: 50dvh;
        position: relative;
        padding-top: 10px;

        & figure {
            display: none;
        }

        & #mainFigure {
            display: none;
        }

        & #Capa_1 {
            display: block;
            max-width: 900px;
            margin-top: 13px;
            position: absolute;
            right: 0;
        }

        & .nube {
            z-index: 5;
            top: 75px;
            width: 150px;
            height: 147px;
            right: 60px;
        }

        & #personaje_pantallas {
            display: block;
            position: absolute;
            right: 0;
            top: 23px;
            max-width: 900px;
        }
    }

    .CTA {
        background: none;
        color: #6300cf;
        position: absolute;
        top: 170px;
        text-align: left;
        padding-left: 30px;

        & h1 {
            font-size: 85px;
            line-height: 63px;
            text-align: left;
            color: var(--purpura);
            margin: 0;
            padding: 0 20px;
            max-width: 500px;

            & span {
                color: var(--violeta);
            }
        }

        & p {
            font-size: 20px;
            font-weight: 500;
            max-width: 430px;
            color: var(--negro);
            padding: 15px 25px;
            margin: 0;

        }

        & h3 {
            padding: 18px;

            & a {
                font-size: 30px;
                background: var(--violeta);
                padding: 10px 20px;
                text-align: center;
                text-decoration: none;
                color: var(--blanco);
                border-radius: 25px;
            }

            & a:hover {
                background-color: var(--magenta);
                transform: scale(1.05);
            }
        }
    }

    .cards_proyectos {
        padding-top: 80px;
        max-width: 1200px;
        margin: 0 auto;

        & article {
            text-align: center;
        }

        & h2 {
            font-size: 48px;
            line-height: 55px;
            max-width: 500px;
            text-align: center;
            margin: 0 auto;
            color: var(--magenta);
            font-family: var(--titulos);
            font-weight: 700;
        }

        & p {
            font-size: 20px;
            max-width: 1000px;
            text-align: center;
            margin: 15px auto 25px auto;
            padding: 0;
        }
    }

    .muestras {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        position: relative;
    }

    .anterior,
    .siguiente {
        width: 55px;
        height: 55px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, opacity 0.2s ease;
        z-index: 10;

        & img {
            width: 55px;
            height: 55px;
            display: block;
        }

        &:hover {
            transform: scale(1.1);
        }

        &:active {
            transform: scale(0.95);
        }
    }

    .slider {
        flex: 1;
        max-width: 820px;
        width: 100%;
        overflow: hidden;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .slider-track {
        display: flex;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        width: 100%;
    }

    .card {
        min-width: 100%;
        width: 100%;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        padding: 10px 5px;
    }

    .card-link {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        gap: clamp(20px, 4vw, 40px);
        width: 100%;
        text-decoration: none;
    }

    .card-info {
        flex: 1;
        max-width: 360px;
        background: transparent;
        padding: 0;
        text-align: left;

        & h3 {
            font-family: var(--titulos);
            font-weight: 700;
            font-size: 48px;
            line-height: 36px;
            color: var(--negro);
            margin-bottom: 20px;
            text-transform: capitalize;
            max-width: 200px;
            margin-left: 20px;
        }

        & p {
            font-family: var(--titulos);
            font-weight: 550;
            font-size: 32px;
            color: var(--negro);
            padding: 0;
            margin: 0;
            text-align: left;
            margin-left: 20px;
        }
    }

    .card-img {
        flex: 1.1;
        max-width: 440px;
        height: 420px;
        border-radius: 35px;
        overflow: hidden;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 35px;
            filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
            transition: transform 0.4s ease;
        }
    }

    .slider-dots {
        margin-top: 35px;
        margin-bottom: 30px;
    }

    .slider-dots .dot {
        height: 20px;
        width: 20px;
    }

    .textoani {
        display: none;
    }

    .textoani2 {
        padding: 80px 20px 15px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;

        & .linea {
            font-family: var(--titulos);
            color: var(--blanco);
            font-size: 110px;
            font-weight: 700;
            line-height: .9;
            text-align: center;
            opacity: 0;
            transform: translateY(40px) scale(.9);
            animation: entrada .7s ease forwards;
        }

        & .boton {
            background: var(--purpura);
            color: var(--blanco);
            text-align: center;
            font-family: var(--titulos);
            font-weight: 515;
            font-size: 40px;
            border-radius: 25px;
            padding: 10px 50px;
            margin: 30px;
            text-decoration: none;
        }

        & .boton:hover {
            background-color: var(--violeta);
            transform: scale(1.05);
        }
    }

    .iconob1 {
        top: 25px;
        right: 20px;

        & img {
            height: 60px;
            width: auto;
        }
    }

    .iconob2 {
        top: 205px;
        left: 0px;

        & img {
            height: 130px;
            width: auto;
        }
    }

    .iconob3 {
        top: 250px;
        right: 0px;

        & img {
            height: 180px;
            width: auto;
        }
    }

    .iconob4 {
        bottom: 30px;
        left: 30px;

        & img {
            height: 90px;
            width: auto;
        }
    }

    #cabeza {
        max-width: 650px;
        margin: 0 auto;
        bottom: -10px;
    }

    .formulario {
        margin: 0;
        width: 100%;

        & form {
            max-width: 590px;
            width: 100%;
            margin: 0 auto;
            padding: 0 70px 40px 70px;
            border-radius: 0 0 30px 30px;
        }

        & h2 {
            font-size: 48px;
        }

        & p {
            font-size: 20px;
        }

        & label {
            font-size: 30px;
            padding: 12px;
        }

        & input {
            padding: 13px;
        }

        & textarea {
            padding: 30px;
        }

        & button {
            font-size: 35px;
            padding: 15px 30px;
            width: auto;
            margin: 15px auto;
        }
    }

    .menu-drawer {
        max-width: 800px;
    }

    .menu-item {
        font-size: 45px;
    }

    .submenu-list li a {
        font-size: 36px;
    }

    a .ver-todo-link {
        font-size: 45px;
    }

    footer {
        padding: 15px 70px 30px 65px;

        & .informacion_footer {
            display: flex;
            justify-content: space-between;

            & h2 {
                font-size: 115px;
                max-width: 510px;
                line-height: 90px;
            }

            & p {
                font-size: 20px;
                max-width: 300px;
                margin-top: 20px;
            }

            & a {
                font-size: 20px;
                padding: 10px 0;

            }
        }

    }

    .redes_sociales {
        border-bottom: none;

    }

    .final_footer {
        border-top: 1px solid #fff;
        display: flex;
        justify-content: space-between;

        & .elemento1 {
            order: 2;
            max-width: 280px;
        }

        & .elemento2 {
            order: 1;
        }

        & p {
            font-size: 20px;
            margin-top: 15px;
        }
    }
}