/* GLOBAL --------------------------------------------------------------- */
footer{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 9;
    transition: opacity 300ms;
}
footer .trigger{
    height: 36px;
    padding: 10px 20px;
    background-color: #470000;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -100%);
    cursor: pointer;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    transition: height 300ms;
}
footer .trigger:hover{
    height: 56px;
}
footer .trigger p{
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
}
footer .footer-content{
    width: 100%;
    height: fit-content;
    background-color: #470000;
    position: absolute;
    bottom: 0px;
    left: 0px;
}
footer .container{
    display: flex;
    flex-direction: column;
    gap: 100px;
    padding-top: 250px;
    padding-bottom: 30px;
}
footer .contact-card{
    width: 750px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 100%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 250px);
    /* box-shadow: 0px 0px 20px rgba(255, 252, 245, 0.3); */
}
footer .contact-card .subtitle{
    color: var(--black);
    padding: 15px 45px;
    font-family: "Lemon";
}
/* ---------------------------------------------------------------------- */

/* FORM ----------------------------------------------------------------- */
footer form{
    display: flex;
    flex-direction: row;
}
footer form .left-column{
    display: flex;
    flex-direction: column;
    width: 275px;
    border-right: 1px solid var(--red-base);
}
footer form .right-column{
    display: flex;
    flex-direction: column;
    width: 475px;
    position: relative;
}
footer form .input-wrapper{
    width: 100%;
    height: fit-content;
    position: relative;
    padding: 0px 15px;
}
footer form .input-wrapper.area{
    height: 100%;
}
footer form .siding-ribbon{
    background-color: var(--red-base);
    width: 3px;
    height: 25px;
    position: absolute;
    top: 15px;
    left: 27px;
    transition: width 300ms, left 300ms;
}
footer form .input-wrapper.active .siding-ribbon{
    width: 30px;
    left: 0px;
}
footer form label{
    position: absolute;
    pointer-events: none;
    top: 15px;
    left: 45px;
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    line-height: 1;
    transform-origin: 0%;
    transition: transform 300ms, top 300ms;
}
footer form .input-wrapper.active label, footer form .input-wrapper.filled label{
    transform: scale(0.6);
    top: 0px;
}
footer form input, footer form textarea{
    border-top: 1px solid var(--red-base);
    width: 100%;
    height: fit-content;
    padding: 15px 30px;
}
footer form textarea{
    height: 100%;
    resize: none;
}
footer form .input-wrapper:first-child input{
    border: unset;
}
footer .footer-button{
    position: absolute;
    bottom: 0px;
    right: 15px;
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    text-decoration: none;
    padding: 15px 30px;
    overflow: hidden;
    border: 1px solid var(--red-base);
}
footer .footer-button .footer-button-ribbon{
    background-color: var(--red-base);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}
footer .footer-button p{
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}
footer form .submit-btn{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
/* ---------------------------------------------------------------------- */

/* SOCIALS -------------------------------------------------------------- */
footer .contact-card .socials{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 15px;
}
footer .contact-card .socials > *{
    width: 64%;
    border-top: 2px solid var(--red-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
footer .contact-card .socials .linkedin{
    width: 36%;
}
footer .contact-card .socials > *::after{
    content: "";
    background-color: var(--red-base);
    width: 1px;
    height: calc(100% - 30px);
    position: absolute;
    top: 15px;
    right: 0px;
}
footer .contact-card .socials .linkedin::after{
    right: unset;
    left: 0px;
}
footer .contact-card .socials > *::before{
    content: "";
    background-color: var(--red-base);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateX(-100%);
    z-index: -1;
    transition: transform 300ms;
}
footer .contact-card .socials .linkedin::before{
    transform: translateX(100%);
}
footer .contact-card .socials > *:hover::before{
    transform: translateX(0%);
}
footer .contact-card .socials .subtitle{
    padding: 15px;
    transition: color 300ms;
}
footer .contact-card .socials > *:hover .subtitle{
    color: var(--white);
}
/* ---------------------------------------------------------------------- */

/* DOWNLOAD ------------------------------------------------------------- */
footer .download-section{
    width: 100%;
    height: fit-content;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    z-index: 1;
}
footer .download-section a{
    text-decoration: none;
}
footer .download-section .first-title{
    margin: auto;
    line-height: 1.3;
}
footer .download-section .second-title{
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 100%);
    line-height: 1.3;
}
/* ---------------------------------------------------------------------- */

/* INFORMATION ---------------------------------------------------------- */
footer .info{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}
footer .copyright{
    opacity: 0;
    transform: translateX(-30px);
}
footer .sitemap{
    display: flex;
    flex-direction: row;
    gap: 15px;
}
footer .sitemap .map-item{
    text-decoration: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    opacity: 0;
    transform: translateX(30px);
    cursor: default;
}
footer .sitemap .footer-link{
    position: relative;
    cursor: pointer;
}
footer .sitemap .footer-link::after{
    content: "";
    background-color: var(--red-base);
    width: calc(100% + 30px);
    height: calc(100% + 14px);
    position: absolute;
    top: -7px;
    left: -15px;
    z-index: -1;
    transform-origin: bottom;
    transform: scaleY(0%);
    transition: transform 300ms;
}
footer .sitemap .footer-link:hover::after{
    transform: scaleY(100%);
}
/* ---------------------------------------------------------------------- */

/* CLOSE ---------------------------------------------------------------- */
footer .close{
    padding: 10px 20px;
    height: 0px;
    background-color: var(--red-base);
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    opacity: 0;
    cursor: pointer;
}
footer .close p{
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 1px;
    bottom: 0px;
}
/* ---------------------------------------------------------------------- */