.marquee {
    width: 100%;
    overflow: hidden;
}

#texto {
    display: flex;
    width: max-content;
}

#texto span {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 40px;
}

/* MAIN */

.main {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 100vh;
    max-width: 1400px;      /* centrado, sin barras laterales */
    margin: 0 auto;
    padding: 15px 60px 40px;
    background: #13001c;
}


/* TARJETAS */

.card {
    margin-top: 30px;
    padding: 30px;
    border-radius: 12px;
    background: #1d051d;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
}

.separador {
    border: none;
    height: 1px;
    background: #ff0095;
    margin: 40px 0;
}


/* PORTADA */

#principal-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 50px;
}

#tittle-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    width: 42%;
}

#upper-caption {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff6fc8;
}

#tittle-btn h1 {
    font-family: "Abril Fatface", serif;
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 1.05;
}

#hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    min-height: 56px;
    padding: 8px 28px;
    border: 2px solid transparent;
    border-radius: 40px;
    background:
        linear-gradient(105deg, rgba(29, 5, 29, 0.97), rgba(56, 19, 33, 0.94) 56%, rgba(29, 5, 29, 0.97)) padding-box,
        linear-gradient(163deg, #ff00ff 0%, #3700ff 100%) border-box;
    color: #fff;
    font-family: "Abril Fatface", serif;
    font-size: 24px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 18px 1px rgba(204, 0, 255, 0.3);
    transform: scale(0.98);
    transition: box-shadow 0.2s, transform 0.12s ease;
}

#hero-btn .package2 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
}

#hero-btn:hover {
    box-shadow: 0 0 24px 2px rgba(204, 0, 255, 0.45);
}

#hero-btn:active {
    transform: scale(0.93);
}

#hero-btn .text {
    display: block;
    color: white;
    font-family: "Abril Fatface", serif;
    font-size: 24px;
}

#hero-btn:focus-visible {
    outline: 3px solid #ff00ff;
    outline-offset: 4px;
}

#img-container {
    width: 58%;
    max-width: 680px;
}

#main-gif {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 14px -3px rgb(255, 165, 240);
}

#main-subtittle-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 34px;
    border-color: rgba(255, 209, 236, 0.72);
    background: linear-gradient(110deg, rgba(56, 19, 33, 0.92), rgba(29, 5, 29, 0.98) 50%, rgba(56, 19, 33, 0.86));
    box-shadow: 0 0 16px -4px rgba(255, 111, 200, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-align: center;
}

#main-subtittle-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    width: 64%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6fc8, #852bff, transparent);
    opacity: 0.9;
}

#main-subtittle-label {
    color: #ff9fe9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#main-subtittle {
    font-family: "Abril Fatface", serif;
    font-size: 22px;
    line-height: 1.4;
    text-wrap: balance;
}


/* SECCIONES */

.section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

#first-left,
#second-left {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.low-main-content-tittles {
    font-family: "Abril Fatface", serif;
    font-size: clamp(34px, 3.2vw, 45px);
    color: #ffc0e7;
}

.low-main-content-p {
    font-size: 18px;
}

#first-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mini-card-first-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 18px;
    border-radius: 14px;
    background: #1d051d;
    border: 0.5px solid #ffd1ec;
    box-shadow: 0 0 10px -3px rgb(255, 165, 240);
    text-align: center;
}

.mini-card-first-section h3 {
    font-family: "Abril Fatface", serif;
    font-size: 22px;
}

.mini-card-first-section p {
    font-size: 15px;
    opacity: 0.9;
}

.icon-step {
    height: 56px;
    width: 56px;
}

#second-right {
    flex: 1;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.second-section-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.second-section-step-upper-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.paso-numero {
    font-family: "Abril Fatface", serif;
    font-size: 48px;
    line-height: 1;
    color: #ffa8db;
}

.second-section-step-lower-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.second-section-step-lower-content h3 {
    font-family: "Abril Fatface", serif;
    font-size: 21px;
}

.second-section-step-lower-content p {
    font-size: 15px;
    opacity: 0.8;
}


/* PANTALLAS CHICAS */

@media (max-width: 1100px) {
    #principal-card {
        padding: 30px;
    }

    .section {
        flex-direction: column;
        align-items: stretch;
    }

    #first-left,
    #second-left {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero-btn {
        transition: none;
    }
}

@media (max-width: 800px) {
    #principal-card {
        flex-direction: column;
        gap: 25px;
        padding: 22px;
    }

    #tittle-btn {
        order: 2;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    #img-container {
        order: 1;
        width: 100%;
    }

    #hero-btn {
        display: flex;
        width: 100%;
        text-align: center;
    }

    #hero-btn .package2 {
        width: 100%;
    }

    #hero-btn .text {
        font-size: 21px;
    }

    #main-subtittle {
        font-size: 18px;
    }

    #first-right,
    #second-right {
        grid-template-columns: 1fr;
    }

    .mini-card-first-section {
        flex-direction: row;
        flex-wrap: wrap;
        text-align: left;
        align-items: center;
    }

    .mini-card-first-section .icon-step {
        height: 44px;
        width: 44px;
    }

    .mini-card-first-section h3 {
        flex: 1;
    }

    .mini-card-first-section p {
        flex-basis: 100%;
    }
}
