/*
==========
CONTACT SECTION
==========
*/

.container__contact{
    width: 100%;
    padding: 80px 2em;
    box-sizing: border-box;
}

/*
==========
SEDE
==========
*/

/*
==========
Styles for about section
==========
*/

.sede{
    width:100%;
    display:flex;
    justify-content:center;
}

/*
==========
Block styles
==========
*/

.sede__block{
    max-width:1200px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
    padding-left:2em;
    padding-right:2em;
}

/* Column map */
.sede__column--map iframe{
    width:100%;
    height: 400px;
    border-radius:5px;
    object-fit:cover;
    box-shadow: 0 0 20px var(--black-color-transparent);
}

/* Text styles */
.sede__title{
    margin-bottom:20px;
}

.title__orange{
    color: var(--orange-color);
}

.title__blue{
    color: var(--blue-color);
}

.sede__text{
    color:var(--black-color);
    line-height:1.6;
    margin-bottom:15px;
}

.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}

.sede__block--left {
    transform: translateX(-120px);
}

.sede__block .sede__title,
.sede__block .sede__text,
.sede__block .sede__column--map iframe {
    opacity: 0;
    transform: translateX(-60px);
}

.sede__block.active .sede__title {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.sede__block.active .sede__text {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.4s;
}

.sede__block.active .sede__column--map iframe {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.6s;
}

/*
==========
Responsive
==========
*/

@media(max-width:900px){
    .sede__block{
        grid-template-columns:1fr;
        gap:40px;
    }
}

/* Scroll animation */
.reveal{
    opacity:0;
    transform:translateX(-120px);
    transition:all 0.8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateX(0);
}

/*
==========
Reveal animation
==========
*/

.reveal-left{
    opacity:0;
    transform:translateX(-80px);
    transition:all .8s ease;
}

.reveal-left.active{
    opacity:1;
    transform:translateX(0);
}

/*
==========
CONTACT CARDS
==========
*/

.contact__items{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.item__contact{
    width: 250px;
    min-height: 180px;
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--black-color-transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    padding: 2em 1em;
    text-align: center;
    text-decoration: none;

    /* Animación base */
    opacity: 0;
    transform: translateX(-60px);
}

/* Icon */
.item__contact .icon{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item__contact .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--orange-color);
}

/* Text */
.item__contact .data{
    color: var(--blue-color);
}

/*
==========
CASCADE ANIMATION
==========
*/

.container__contact.animate .item__contact:nth-child(1){
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.container__contact.animate .item__contact:nth-child(2){
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.4s;
}

.container__contact.animate .item__contact:nth-child(3){
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.6s;
}

.container__contact.animate .item__contact:nth-child(4){
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.8s;
}

/*
==========
RESPONSIVE
==========
*/

@media(max-width: 600px){
    .item__contact{
        width: 100%;
        max-width: 350px;
    }
}

/*
==========
Styles for description.
==========
*/

.container__description{
    width: 100%;
    height: auto;
    margin-bottom: 3em;
}

.container__description .title__three,
.container__description .title__two,
.container__description .normal{
    opacity: 0;
    transform: translateX(-60px);
}

.container__description.animate .title__three{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.container__description.animate .title__two{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.4s;
}

.container__description.animate .normal{
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
    transition-delay: 0.6s;
}

.container__description .title__three{
    color: var(--orange-color);
    text-align: center;
    margin-top: 2em;
}

.container__description .title__two{
    color: var(--blue-color);
    text-align: center;
    padding-bottom: 1em;
}

.container__description .normal{
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 1em;
}

/*
==========
Styles in mobile 900px.
==========
*/

@media screen and (max-width: 900px){
    .container__description{
        width: 100%;
        height: auto;
    }
}

/*
==========
Styles in mobile 700px.
==========
*/

@media screen and (max-width: 700px){
    .container__description{
        width: 100%;
        height: auto;
    }

    .container__description .title__two{
        color: var(--blue-color);
        text-align: center;
        font-size: 2em;
    }
}

/*
==========
Styles in mobile 400px.
==========
*/

@media screen and (max-width: 400px){
    .container__description{
        width: 100%;
        height: auto;
    }
}