html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
}

/* logo 4 gradient text */
.logo4 {
    font-size: clamp(4rem, 9vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(160deg, #00BCD4 0%, #E8287A 38%, #FF8C00 65%, #25CE7B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* title gradient */
.gradient-title {
    background: linear-gradient(210deg, #F4022B 40%, #514FF6 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media(max-width:1024px) {
    .gradient-title {
        background: linear-gradient(192deg, #F4022B 40%, #514FF6 94%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.gradient-title-vincularse {
    background: linear-gradient(167deg, #A6FF57 0% 0%, #028B6C 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-title-postulacion {
    background: linear-gradient(to left, #01DDEE 0%, #514FF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* highlight blobs */
.hl-pink {
    position: relative;
    display: inline;
}

.hl-pink::before {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    bottom: -2px;
    background: rgba(232, 40, 122, .18);
    border-radius: 5px;
    z-index: 0;
    transform: rotate(-.3deg);
}

.hl-pink>span {
    position: relative;
    z-index: 1;
}

.hl-cyan {
    position: relative;
    display: inline;
}

.hl-cyan::before {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    top: 50%;
    bottom: -2px;
    background: rgba(0, 184, 212, .18);
    border-radius: 5px;
    z-index: 0;
    transform: rotate(.3deg);
}

.hl-cyan>span {
    position: relative;
    z-index: 1;
}

/* waveform animation */
.wf span {
    display: inline-block;
    width: 3px;
    border-radius: 99px;
    background: #5C2D9A;
    animation: wfA 1.1s ease-in-out infinite alternate;
}

@keyframes wfA {
    from {
        height: 4px
    }

    to {
        height: var(--h, 16px)
    }
}

.wf span:nth-child(1) {
    --h: 7px
}

.wf span:nth-child(2) {
    --h: 20px;
    animation-delay: .04s
}

.wf span:nth-child(3) {
    --h: 28px;
    animation-delay: .08s
}

.wf span:nth-child(4) {
    --h: 14px;
    animation-delay: .12s
}

.wf span:nth-child(5) {
    --h: 24px;
    animation-delay: .16s
}

.wf span:nth-child(6) {
    --h: 32px;
    animation-delay: .20s
}

.wf span:nth-child(7) {
    --h: 18px;
    animation-delay: .24s
}

.wf span:nth-child(8) {
    --h: 26px;
    animation-delay: .20s
}

.wf span:nth-child(9) {
    --h: 16px;
    animation-delay: .16s
}

.wf span:nth-child(10) {
    --h: 24px;
    animation-delay: .12s
}

.wf span:nth-child(11) {
    --h: 12px;
    animation-delay: .08s
}

.wf span:nth-child(12) {
    --h: 20px;
    animation-delay: .04s
}

.wf span:nth-child(13) {
    --h: 8px
}

.wf span:nth-child(14) {
    --h: 18px;
    animation-delay: .08s
}

.wf span:nth-child(15) {
    --h: 22px;
    animation-delay: .12s
}

/* mobile menu slide */
.mobile-menu {
    /* transform:translateY(-110%); 
      transition:transform .3s cubic-bezier(.4,0,.2,1); 
      pointer-events:none;  */
    height: 100%;
    right: 0;
    transform: translateX(100%);
    gap: 0 !important;
    transition: all .3s;
    top: 0px;
    background: #fff;
    box-shadow: rgba(0, 0, 0, .24) 0px 3px 8px;
    padding-top: 100px;
    overflow: hidden;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: baseline !important;
}

.mobile-menu.open {
    transform: translateX(0%);
    pointer-events: auto;
}

/* hamburger */
.hamburger span {
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* sec3 stage: card1 is the full base */
.sec3-stage {
    position: relative;
    width: 100%;
    height: clamp(300px, 42vw, 480px);
}

/* @media(max-width:768px){
      .sec3-stage { height:auto; display:flex; flex-direction:column; gap:16px; }
      .sec3-card1,.sec3-card2,.sec3-card3 { position:relative!important; inset:auto!important; left:auto!important; top:auto!important; width:100%!important; height:260px!important; }
    } */

.container {
    margin: auto;
}

@media(min-width:1200px) {
    #mobileMenu {
        display: none;
    }

    #hamburger {
        display: none;
    }
}

@media(max-width:1199px) {
    #navLinks {
        display: none;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 900px !important;
    }
}

@media (max-width: 1230px) {
    .container {

        padding: 0 15px;
    }

}

@media (max-width: 1300px) {
    .container {
        max-width: 1200px !important;
    }
}




@media (max-width: 1200px) {
    .sec3-stage {
        display: flex;
        flex-direction: row;
        height: auto;
        gap: 12px;
        align-items: stretch;
    }

    .sec3-card1,
    .sec3-card2,
    .sec3-card3 {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        width: calc(33.333% - 8px) !important;
        height: 360px !important;
        flex: 1 1 0;
        border-radius: 1rem;
        overflow: hidden;
    }

    .sec3-card1 .absolute.z-10 {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
    }

    .sec3-card1 h2 {
        font-size: 22px !important;
    }

    .sec3-card1 p {
        font-size: 13px !important;
    }

    .sec3-card2 p,
    .sec3-card3 p {
        font-size: 13px !important;
    }
}

/* ── MOBILE ≤ 600px ── */
@media (max-width: 600px) {
    #gala {
        padding: 0 !important;
    }

    #gala .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .sec3-stage {
        display: block !important;
        /* volvemos a block para usar posicionamiento relativo */
        position: relative !important;
        height: auto !important;
        padding-bottom: 40px;
    }

    /* Card 1: fondo completo, más alta para dar espacio al overlap */
    .sec3-card1 {
        position: relative !important;
        inset: auto !important;
        width: 95% !important;
        height: 360px !important;
        border-radius: 1.25rem !important;
        margin-bottom: -145px;
        margin-left: auto;
        margin-right: auto;
        /* crea el espacio para que card2 se monte encima */
    }

    .sec3-card1 .absolute.z-10 {
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 28px 24px 20px !important;
        text-align: center;
    }

    .sec3-card1 h2 {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }

    .sec3-card1 p {
        font-size: 15px !important;
    }

    /* Card 2: se superpone sobre el bottom de card 1 */
    .sec3-card2 {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        width: 85% !important;
        height: 320px !important;
        border-radius: 1.25rem !important;
        margin: 0 auto !important;
        /* centrada horizontalmente */
        margin-bottom: 12px !important;
        z-index: 10 !important;
        display: block;
    }

    /* Card 3: debajo normal */
    .sec3-card3 {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        width: 85% !important;
        height: 320px !important;
        border-radius: 1.25rem !important;
        margin: 0 auto !important;
        z-index: 9 !important;
        display: block;
    }

    .sec3-card2 p,
    .sec3-card3 p {
        font-size: 15px !important;
    }

    .sec3-card2 .bg-orange-500 {
        display: none !important;
    }
}

section#inicio::after {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-verde.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 40%;
    height: 30%;
    right: 0;
    z-index: 30;
    bottom: -6%;
}

@media(min-width:578px) and (max-width:639px) {
    section#inicio .img-silueta{
        width: 15%;
    }
}

@media(max-width:577px) {
    section#inicio::after {
        background-image: none;
        /* width: 100%; */
        /* height: 20%; */
    }
}

@media(min-width:1280px) {
    section#gala::after {
        content: "";
        position: absolute;
        background-image: url('../../images/vector-amarillo-porque-gala.svg');
        background-size: 100%;
        background-repeat: no-repeat;
        width: 40%;
        height: 30%;
        right: 0;
        z-index: 19;
        top: 45%;
    }

    section#gala::before {
        content: "";
        position: absolute;
        background-image: url('../../images/circulo-verde-porque-gala.svg');
        background-size: 100%;
        background-repeat: no-repeat;
        width: 30%;
        height: 100%;
        right: -10%;
        z-index: 0;
        top: 0%;
    }
}

section#empresas::before {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-azul-vincularse.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 25%;
    height: 70%;
    left: 0%;
    z-index: 0;
    top: -35%;
}

@media(max-width:575px) {
    section#empresas::before {
        content: "";
        position: absolute;
        background-image: url('../../images/vector-azul-vincularse-derecha.svg');
        background-size: 100%;
        background-repeat: no-repeat;
        left: auto;
        right: 0;
        width: 40%;
        height: 55%;
    }
}

section#empresas .content-image::before {
    content: "";
    position: absolute;
    background-image: url('../../images/circulo-naranja-empresa.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    left: -7%;
    width: 10%;
    height: 22%;
    bottom: 30%;
}

@media(max-width:575px) {
    section#empresas .content-image::before {
        bottom: auto;
        left: auto;
        top: -7%;
        right: 10%;
    }
}



section#empresas .content-image::after {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-s-empresa.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 11%;
    height: 30%;
    right: 0%;
    bottom: -11%;
}

@media(max-width:575px) {
    section#empresas .content-image::after {
        right: auto;
        bottom: -20%;
        left: 5%;
    }

}

@media(min-width:1580px) {
    section#empresas .content-image::after {
        right: -3%;
        height: 24%;

    }
}

section#relato::before {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-honas-audio.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    opacity: 0.2;
}

section#relato::after {
    content: "";
    position: absolute;
    background-image: url('../../images/vactor-amarillo-audio.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 10%;
    height: 7%;
    bottom: 10%;

}

@media(max-width:700px) {
    section#relato::after {
        width: 25%;
        height: 7%;
        bottom: 5%;
    }
}

section#cta::after {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-espiral.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 50%;
    height: 130%;
    top: -30%;
    right: 0;
}

#linea::before{

}

#linea .content-image-linea-salvavida::before {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-doble-azul.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 5%;
    height: 11%;
    right: 10%;
    top: -5%;
}

@media(max-width:575px) {
    #linea .content-image-linea-salvavida::before {
        width: 10%;
        height: 15%;
    }
}

#linea .content-image-linea-salvavida::after {
    content: "";
    position: absolute;
    background-image: url('../../images/vector-rosado-suicidio.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 5%;
    height: 13%;
    top: 45%;
    left: -2%;
}

@media(max-width:575px) {
    #linea .content-image-linea-salvavida::after {
        width: 10%;
        height: 20%;
    }
}


@media(max-width:1023px) {
    .content-image-left {
        width: 100% !important;
    }

    .content-image-left img {
        height: 600px !important;
    }

    section#cta::after {
        width: 50%;
        height: 50%;
        top: 0%;
        right: 0;
    }

}

@media(max-width:900px) {
    section#cta::after {
        width: 100%;
        height: 100%;
        top: 0%;
        right: 0;
    }
}

@media(max-width:700px) {
    section#cta::after {
        width: 100%;
        height: 100%;
        top: 0%;
        right: -20%;
    }
}


@media(max-width:575px) {

    section#cta::after {
        width: 90%;
        height: 55%;
        right: -11%;
        top: 37%;
    }

    .content-image-linea-salvavidas {
        display: none;
    }

    .content-image-linea-salvavidas-mobil {
        display: block !important;
    }

    .content-image-left {
        margin-left: 25px;
        margin-top: -45px;
        z-index: 10;
        width: 314px !important;
    }

    .content-image-left img {
        height: 242px !important;
    }

}

section#entrada::after{
    content: "";
    position: absolute;
    background-image: url('../../images/caracol-rosado.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 22%;
    height: 70%;
    bottom: -38%;
    z-index: 1;
    left: -4%;
}

section#entrada .card-2::after{
    content: "";
    position: absolute;
    background-image: url('../../images/vector-amarillo-entrada.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 40%;
    height: 8%;
    bottom: 5%;
    left: -20%;
}

section#entrada .content-texto-entrada::before{
    content: "";
    position: absolute;
    background-image: url('../../images/vector-entrada.svg');
    background-size: 100%;
    background-repeat: no-repeat;
    width: 22%;
    height: 12%;
    top: 0;
}
@media(max-width:639px){
section#entrada .content-texto-entrada::before{
    width: 50%;
    height: 17%;
}
}
@media(max-width:430px){
section#entrada .content-texto-entrada::before{
    width: 65%;
    height: 17%;
}
}


@media(max-width:1023px){
section#entrada img{
/* height: auto !important; */
}
section#entrada::after{
    content: none;
}
section#entrada .card-2::after{
        width: 15%;
    height: 11%;
    bottom: 5%;
    left: 22%;
}
}

@media(max-width:600px){
section#entrada img{
/* height: 325px !important; */
}
}

@media (min-width: 1680px) {
    .-ml-70{
        margin-left: -70px;
    }
    .-mr-70{
        margin-right: -70px;
    }
}