/* Main Inicio */
/* Banner Inicio */
#banner{
    width: 100dvw;
    height: 24em;
    background: var(--color5);
    position: relative;
    margin: 7em 0 0 0;
    display: flex;
    align-items: end;
}
#banner picture{
    width: 100dvw;
    height: 10em;
    position: absolute;
    top: -7em;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1;
}
#banner picture img{
    min-width: 17em;
    width: 90%;
    height: auto;
    margin: auto;
}
h1{
    width: 100dvw;
    height: auto;
    font-family: frei;
    font-weight: 600;
    font-size: var(--title);
    line-height: .75em;
    color: var(--color4);
    text-shadow: 0 .1em .05em rgba(35, 31, 32, 0.25);
    text-align: center;
    position: absolute;
    top: 3.5em;
    left: 0;
    right: 0;
    z-index: 2;
}
#banner p{
    width: 100dvw;
    height: auto;
    font-family: Mont;
    font-size: var(--parrafos);
    color: var(--color1);
    text-align: center;
    line-height: 1.2em;
    margin: 0 0 1em 0;
}
/* Banner Fin */
/* Nosotros Inicio */
#nosotros::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url(../img/isotipo-SkinPro.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-size: 100%;
    opacity: 0.05; /* controla la opacidad */
    z-index: -1;
}
#nosotros{
    width: 100dvw;
    height: 20em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: mont;
    font-weight: 400;
    font-size: var(--subtitle);
    line-height: 1.2em;
    color: var(--color1);
    text-align: center;

}
/* Nosotros Fin */
/* Mision Inicio */
#mision{
    width: 100dvw;
    height: auto;
    display: flex;
    flex-direction: column;
}
#imgMision {
    width: 100%;
    height: 20em;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 0.1s ease;
    overflow: hidden;
}
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}
.grid-cell {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1) translateZ(0);
    opacity: 1;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-origin: center center;
    object-fit: cover;
}
.grid-cell.bezier-exit {
    animation: bezierExit 1.2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}
@keyframes bezierExit {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) translate(var(--random-x, 20px), calc(var(--random-y, 30px) * 0.3)) rotate(calc(var(--random-rotation, 5deg) * 0.3));
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1) translate(calc(var(--random-x, 20px) * 1.5), calc(var(--random-y, 30px) * 0.8)) rotate(calc(var(--random-rotation, 5deg) * 0.7));
        opacity: 0.6;
    }
    75% {
        transform: scale(0.8) translate(calc(var(--random-x, 20px) * 2), var(--random-y, 30px)) rotate(var(--random-rotation, 5deg));
        opacity: 0.3;
    }
    100% {
        transform: scale(0) translate(calc(var(--random-x, 20px) * 2.5), calc(var(--random-y, 30px) * 1.2)) rotate(calc(var(--random-rotation, 5deg) * 1.5));
        opacity: 0;
    }
}
.grid-cell.bezier-enter {
    animation: bezierEnter 1.2s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}
@keyframes bezierEnter {
    0% {
        transform: scale(0) translate(calc(var(--random-x, -20px) * -2.5), calc(var(--random-y, -30px) * -1.2)) rotate(calc(var(--random-rotation, -5deg) * -1.5));
        opacity: 0;
    }
    25% {
        transform: scale(0.8) translate(calc(var(--random-x, -20px) * -2), calc(var(--random-y, -30px) * -1)) rotate(calc(var(--random-rotation, -5deg) * -1));
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) translate(calc(var(--random-x, -20px) * -1.5), calc(var(--random-y, -30px) * -0.8)) rotate(calc(var(--random-rotation, -5deg) * -0.7));
        opacity: 0.6;
    }
    75% {
        transform: scale(1.05) translate(calc(var(--random-x, -20px) * -1), calc(var(--random-y, -30px) * -0.3)) rotate(calc(var(--random-rotation, -5deg) * -0.3));
        opacity: 0.9;
    }
    100% {
        transform: scale(1) translate(0, 0) rotate(0deg);
        opacity: 1;
    }
}
.grid-cell::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    filter: blur(1px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}
.grid-cell.bezier-exit::before,
.grid-cell.bezier-enter::before {
    opacity: 0.3;
}
.grid-cell:nth-child(2n).bezier-exit {
    animation-duration: 1.1s;
}
.grid-cell:nth-child(3n).bezier-exit {
    animation-duration: 1.3s;
}
.grid-cell:nth-child(5n).bezier-exit {
    animation-duration: 1.0s;
}
.grid-cell:nth-child(2n).bezier-enter {
    animation-duration: 1.1s;
}
.grid-cell:nth-child(3n).bezier-enter {
    animation-duration: 1.3s;
}
.grid-cell:nth-child(5n).bezier-enter {
    animation-duration: 1.0s;
}
#imgMision.transitioning::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#textMision{
    width: 100%;
    height: 20em;
    background: var(--color5);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}
#textMision h2{
    font-family: frei;
    font-weight: 600;
    font-size: var(--subtitle);
    line-height: .75em;
    color: var(--color1);
    display: flex;
    justify-content: center;
    align-items: center;
}
#textMision > p{
    width: 90%;
    font-family: mont;
    font-weight: 400;
    font-size: var(--parrafos);
    line-height: 1.2em;
    color: var(--color1);
    text-align: center;
    margin: auto;
}
.cifrasMision{
    width: 95%;
    height: auto;
    display: flex;
    margin: auto;
}
.cifra{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: mont;
    font-weight: 400;
    font-size: var(--parrafos);
    line-height: 1em;
    color: var(--color1);
    text-align: center;
}
.numberMision{
    font-family: frei;
    font-weight: 600;
    font-size: 2.5em;
    line-height: .75em;
    color: var(--color1);
    margin: 0 0 .5em 0;
}
/* Mision Fin */
/* Pasos Inicio */
#pasos{
    width: 100dvw;
    height: auto;
    overflow: hidden;
}
#pasos h2{
    font-family: frei;
    font-weight: 600;
    font-size: var(--subtitle);
    line-height: .75em;
    color: var(--color1);
    margin: 1em 0 .5em 0;
    text-align: center;
}
.contPasos{
    width: 100%;
    height: auto;
    transition: height 1s ease-out;
    overflow: hidden;
}
.paso{
    width: 90%;
    height: auto;
    position: relative;
    margin: auto;
    padding: 1em 0 0 0;
    margin: 1em auto 0 auto;
    display: flex;
    flex-direction: column;
}
.paso > span{
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: -.1em;
    font-family: frei;
    font-weight: 600;
    font-size: 15em;
    letter-spacing: -.1em;
    color: var(--color2);
    text-shadow: 0 0 10px var(--color5);
    z-index: -1;
}
.lineCircle{
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    margin: auto;
}
.lineCircle hr{
    width: 1px;
    height: 3em;
    background: var(--color3);
    border: 0;
    margin: 0 auto 0 auto;
}
.circlePaso{
    width: .3em;
    height: .3em;
    background: var(--color3);
    border-radius: .5em;
}
.paso h3{
    font-family: frei;
    font-weight: 600;
    font-size: var(--subtitle);
    line-height: .75em;
    color: var(--color1);
    margin: 2em 0 1em 0;
    text-align: center;
}
.paso > button{
    width: 3em;
    height: 3em;
    background: var(--color3);
    border-radius: 2em;
    border: none;
    margin: 0 auto 1em auto;
    cursor: pointer;
}
.play{
    width: 100%;
    height: 100%;
    border-radius: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.play img{
    width: 1.5em;
    height: auto;
    margin: 0 0 0 .2em;
}
#modalPersonalizar::backdrop,
#modalPedido::backdrop,
#modalDiseño::backdrop,
#modalImpresion::backdrop,
#modalSublimacion::backdrop,
#modalCorte::backdrop,
#modalConfeccion::backdrop,
#modalAcabados::backdrop,
#modalCalidad::backdrop,
#modalEnvio::backdrop{
    background: rgba(0, 0, 0, .55);
}
.modal{
    width: 80%;
    min-height: 32em;
    border: 0;
    border-radius: 1em;
    overflow-x: hidden;
    position: relative;
}
.contClose{
    width: 2.3em;
    height: 2.3em;
    background: var(--color3);
    border-radius: 2em;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.contClose:hover{
    background: var(--color1);
    border: none;
}
.close{
    width: 100%;
    height: 100%;
    position: relative;
}
.px-line {
    border-radius: 5px;
    background: var(--color4);
    display: block;
    width: 70%;
    height: 3px;
    transform: rotate(45deg); 
    margin: auto;
    position: absolute;
    top: 50%; 
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(45deg);
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

.sx-line {
    border-radius: 5px;
    background: var(--color4);
    display: block;
    width: 70%;
    height: 3px;
    transform: rotate(-45deg); 
    margin: auto;
    position: absolute;
    top: 50%; 
    left: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
.videoHorizontal,
.videoVertical {
    display: none;
    max-width: 100%;
    height: auto;
}
@media (min-aspect-ratio: 1/1) {
    .videoHorizontal {
        display: block;
    }
}
@media (max-aspect-ratio: 1/1) {
    .videoVertical {
        display: block;
    }
}
.paso p{
    width: 100%;
    height: auto;
    font-family: mont;
    font-weight: 400;
    font-size: var(--parrafos);
    line-height: 1.2em;
    color: var(--color1);
    text-align: center;
    margin: auto;
}
#btnPasos[type="checkbox"]{
    width: 90%;
    height: 25px;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    opacity: 0;
    margin: 0;
}
#btnPasos[type="checkbox"]:checked ~ .btnOpenPasos .p-line{
    opacity: 1;
}
.btnOpenPasos{
    width: 5em;
    height: 3em;
    background: var(--color1);
    border-radius: .5em;
    margin: auto;
    display: block;
    position: relative;
}
.p-line{
    border-radius: 5px;
    background: var(--color4);
    display: block;
    width: 40%;
    height: 3px;
    transform: rotate(90deg);
    margin: auto;
    position: absolute;
    top: calc(55% - 3px);
    left: calc(35% - 3px);
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
.s-line{
    border-radius: 5px;
    background: var(--color4);
    display: block;
    width: 40%;
    height: 3px;
    transform: translateY(-3px);
    margin: auto;
    position: absolute;
    top: calc(60% - 3px);
    left: calc(35% - 3px);
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
/* Pasos Fin */
/* Prendas Inicio */
#prendas{
    width: 100dvw;
    height: auto;
    margin: 5em 0 0 0;
}
.mens1{
    width: 90%;
    height: auto;
    margin: auto;
    font-family: mont;
    font-weight: 400;
    font-size: var(--parrafos);
    line-height: 1.2em;
    color: var(--color1);
    text-align: center;
}
.mens2{
    width: 90%;
    height: auto;
    margin:  .5em auto 2em auto;
    font-family: frei;
    font-weight: 600;
    font-size: var(--title);
    line-height: .75em;
    color: var(--color1);
    text-align: center;
}
.contPrendas{
    width: 100%;
    height: auto;
    background: var(--color1);
    color: var(--color4);
}
/* Prendas Fin */
/* Main Fin */
@media only screen and (min-width:481px) and (max-width:768px){
    :root {
        --subtitle: 1.5rem;
    }
    /* Main Inicio */
    /* Banner Inicio */
    #banner {
        height: 14em;
        margin: 4em 0 0 0;
        flex-direction: column;
    }
    #banner picture {
        height: 17em;
        top: -4.5em;
    }
    #banner picture img {
        min-width: 15em;
        width: 15em;
        margin: 0 0 0 5dvw;
    }
    h1 {
        width: 60dvw;
        position: unset;
        margin: 1em 0 .5em 0;
    }
    #banner p{
        width: 60dvw;
    }
    /* Banner Fin */
    /* Nosotros Inicio */
    #nosotros{
        height: 15em;
    }
    #nosotros::before {
        background-size: 40%;
    }
    #nosotros p{
        width: 90dvw;
        margin: auto;
    }
    /* Nosotros Fin */
    /* Mision Inicio */
    #mision {
        flex-direction: row;
    }
    .cifrasMision {
        display: grid;
        margin: auto;
        grid-template-columns: repeat(3, 1fr);
    }
    /* Mision Fin */
    /* Pasos Inicio */
    .contPasos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .paso {
        width: 100%;
        padding: 0;
        margin: 0 auto 0 auto;
    }
    .paso h3 {
        margin: 1em 0;
    }
    .paso p {
        width: 70%;
        margin: 0 auto;
    }
    #pasoIzq{
        min-height: 18em;
        height: auto;
        border-right: 1px solid var(--color3);
    }
    #pasoIzq > span {
        left: inherit;
        right: 0.1em;
    }
    #pasoIzq .lineCircle {
        top: 30%;
        left: inherit;
        right: 1.5em;
        transform: rotate(90deg);
    }
    #pasoDer{
        transform: translateY(10em);
    }
    #pasoDer > span{
        left: 0.1em;
    }
    #pasoDer .lineCircle {
        top: 30%;
        left: 1.5em;
        transform: rotate(270deg);
    }
    /* Pasos Fin */
    /* Main Fin */
}
@media only screen and (min-width: 769px) and (max-width: 1279px) and (orientation: portrait){
    :root {
        --title: 3.5rem;
        --subtitle: 1.5rem;
    }
    /* Main Inicio */
    /* Banner Inicio */
    #banner picture img {
        width: 20em;
    }
    h1 {
        top: 2.5em;
    }
    #banner p{
        width: 80dvw;
        margin: 0 auto 3em auto;
    }
    /* Banner Fin */
    /* Nosotros Inicio */
    #nosotros{
        height: 15em;
    }
    #nosotros::before {
        background-size: 35%;
    }
    #nosotros p{
        width: 20em;
        margin: auto;
    }
    /* Nosotros Fin */
    /* Mision Inicio */
    #mision {
        flex-direction: row;
    }
    .cifrasMision {
        display: grid;
        margin: auto;
        grid-template-columns: repeat(3, 1fr);
    }
    /* Mision Fin */
     /* Pasos Inicio */
    .contPasos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .paso {
        width: 100%;
        padding: 0;
        margin: 0 auto 0 auto;
    }
    .paso h3 {
        margin: 1em 0;
    }
    .paso p {
        width: 70%;
        margin: 0 auto;
    }
    #pasoIzq{
        min-height: 18em;
        height: auto;
        border-right: 1px solid var(--color3);
    }
    #pasoIzq > span {
        left: inherit;
        right: 0.1em;
    }
    #pasoIzq .lineCircle {
        top: 30%;
        left: inherit;
        right: 1.5em;
        transform: rotate(90deg);
    }
    #pasoDer{
        transform: translateY(10em);
    }
    #pasoDer > span{
        left: 0.1em;
    }
    #pasoDer .lineCircle {
        top: 30%;
        left: 1.5em;
        transform: rotate(270deg);
    }
    /* Pasos Fin */
    /* Main Fin */
}
@media only screen and (min-width: 769px) and (max-width: 1279px) and (orientation: landscape){
    :root {
        --title: 3.5rem;
    }
    /* Main Inicio */
    /* Banner Inicio */
    #banner picture img {
        width: 20em;
    }
    h1 {
        top: 2.5em;
    }
    #banner p{
        width: 80dvw;
        margin: 0 auto 3em auto;
    }
    /* Banner Fin */
    /* Nosotros Inicio */
    #nosotros{
        height: 15em;
    }
    #nosotros::before {
        background-size: 30%;
    }
    #nosotros p{
        width: 20em;
        margin: auto;
    }
    /* Nosotros Fin */
    /* Mision Inicio */
    #mision {
        flex-direction: row;
    }
    #imgMision,
    #textMision{
        height: 25em;
    }
    .cifrasMision {
        display: grid;
        margin: auto;
        grid-template-columns: repeat(3, 1fr);
    }
    /* Mision Fin */
     /* Pasos Inicio */
    .contPasos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .paso {
        width: 100%;
        padding: 0;
        margin: 0 auto 0 auto;
    }
    .paso h3 {
        margin: 1em 0;
    }
    .paso p {
        width: 70%;
        margin: 0 auto;
    }
    #pasoIzq{
        min-height: 18em;
        height: auto;
        border-right: 1px solid var(--color3);
    }
    #pasoIzq > span {
        left: inherit;
        right: 0.1em;
    }
    #pasoIzq .lineCircle {
        top: 30%;
        left: inherit;
        right: 1.5em;
        transform: rotate(90deg);
    }
    #pasoDer{
        transform: translateY(10em);
    }
    #pasoDer > span{
        left: 0.1em;
    }
    #pasoDer .lineCircle {
        top: 30%;
        left: 1.5em;
        transform: rotate(270deg);
    }
    /* Pasos Fin */
    /* Main Fin */
}
@media only screen and (min-width:1280px){
    :root {
        --title: 4rem;
    }
    /* Main Inicio */
    /* Banner Inicio */
    #banner {
        height: 26em;
    }
    #banner picture {
        width: 100dvw;
        height: 10em;
        position: absolute;
        top: -9em;
        left: 0;
        right: 0;
        display: flex;
        z-index: 1;
    }
    #banner picture img {
        width: 24em;
    }
    h1 {
        width: 16em;
        margin: auto;
        top: 2.5em;
    }
    #banner p{
        width: 80dvw;
        max-width: 60em;
        margin: 0 auto 3em auto;
    }
    /* Banner Fin */
    /* Nosotros Inicio */
    #nosotros{
        height: calc(100dvw / 3);
    }
    #nosotros::before {
        background-size: 25%;
    }
    #nosotros p{
        width: 24em;
        margin: auto;
    }
    /* Nosotros Fin */
    /* Mision Inicio */
    #mision {
        flex-direction: row;
    }
    #imgMision,
    #textMision{
        min-height: 25em;
        height: 70dvh;
    }
    #textMision > p {
        max-width: 33em;
    }
    .cifrasMision {
        max-width: 44em;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    /* Mision Fin */
     /* Pasos Inicio */
    .contPasos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .paso {
        width: 100%;
        padding: 0;
        margin: 0 auto 0 auto;
    }
    .paso h3 {
        margin: 1em 0;
    }
    .paso p {
        width: 70%;
        margin: 0 auto;
    }
    #pasoIzq{
        min-height: 18em;
        height: auto;
        border-right: 1px solid var(--color3);
    }
    #pasoIzq > span {
        top: -.3em;
        left: inherit;
        right: 0.1em;
        font-size: 18em;
    }
    #pasoIzq .lineCircle {
        top: 30%;
        left: inherit;
        right: 1.5em;
        transform: rotate(90deg);
    }
    #pasoDer{
        transform: translateY(10em);
    }
    #pasoDer > span{
        left: 0.1em;
    }
    #pasoDer .lineCircle {
        top: 30%;
        left: 1.5em;
        transform: rotate(270deg);
    }
    /* Pasos Fin */
    /* Main Fin */
}