/*!
Theme Name: mmexpatsolutions
Theme URI: https://www.mmexpatsolutions.com/
Author: Refinería
Author URI: https://www.refineria.es/
Version: 1.0.0
Text Domain: mmexpatsolutions
*/

* {
    box-sizing: border-box;
}

body, input, select, textarea, button {
    font-family: 'IBM Plex Sans';
    font-size: 15px;
    color: #333333;
}

@media (min-width: 960px) {
    body, input, select, textarea, button {
        font-size: 18px;
    }
}

body {
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.center-content {
    max-width: 1739px;
    margin: auto;
    width: 90%;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.section {}

.text-title {
    font-size: 35px;
    font-weight: 300;
}

@media (min-width: 960px) {
    .text-title {
        font-size: 50px;
    }
}

.button, .wpcf7-submit {
    display: inline-block;
    padding: 20px 70px;
    color: #fff;
    background-color: #FFAD02;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.button:hover, .wpcf7-submit:hover {
    text-decoration: none;
}

body .wpcf7-spinner {
    display: none;
}

.button-submit {}

/**
 * header
 */

.header {
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
}

.header .center-content {
    padding: 33px 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__logo {}

.header .menu {
    display: flex;
    gap: 30px;
}

.header .menu>li {
    position: relative;
}

.header .menu .sub-menu {
    display: none;
    /*position: absolute;*/
}

.header .wpml-ls-item>a {
    /*display: none;*/
}

.header .wpml-ls-item {
    display: flex;
    gap: 5px;
}

.header .wpml-ls-item .sub-menu {
    display: flex;
}

.header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/**
 * banner
 */

.banner {
    padding: 60px 0;
}

@media (min-width: 960px) {
    .banner {
        padding: 140px 0;
        background-image: url(images/banner.svg);
        background-repeat: no-repeat;
        background-position: center right;
    }
}

.banner aside {
    max-width: 600px;
}

.banner__title {
    margin: 0 0 20px 0;
}

.banner__text {}

.banner__buttons {
    margin: 60px 0 0 0;
}

/**
 * servicios
 */


.services {
    padding: 60px 0;
    color: #fff;
    background: #1597bb;
}

@media (min-width: 960px) {
    .services {
        padding: 107px 0;
    }
}

.services-header {
    text-align: center;
    max-width: 834px;
    margin-bottom: 80px;
}

.services--title {}

.services--text {}

.services-list-overflow {
    overflow: auto;
    margin: 0 -20px;
}

.services-list {
    display: flex;
    gap: 60px;
    min-width: 1000px;
}

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-list>li {
    width: 100%;
    text-align: center;
    min-width: 200px;
}

.services-list>li h2 {
    margin: 0;
}

.services-list>li label {
    font-size: 24px;
    text-transform: uppercase;
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.services-list>li label:hover, .services-list>li p.selected label {
    color: #FFAD02 !important;
}

.services-list>li label:after {
    content: "";
    height: 49px;
    width: 49px;
    background-image: url(images/services-arrow.svg);
    margin: 20px 0 0 0;
}

.services-list>li label:hover:after, .services-list>li p.selected label:after {
    background-image: url(images/services-arrow-hover.svg);
}

.services-list>li>p {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 0 0;
}

.services-list>li>p:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 25px 20px;
    border-color: transparent transparent #20A5CA transparent;
    display: inline-block;
    margin: 27px 0 0 0;
    visibility: hidden;
}

.services-list>li>p.selected:after {
    visibility: visible;
}

@media (max-width: 1200px) {
    .services-list>li>p.selected:after {
        display: none;
    }
}

.services-description .service-activate {
    display: none;
}

.services-description .service-activate~ul {
    display: none;
    position: relative;
    align-items: flex-start;
}

.services-description .service-activate~ul:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 25px 20px;
    border-color: transparent transparent #20A5CA transparent;
    position: absolute;
    top: -25px;
    left: var(--position-left, 60px);
    display: none;
}

.services-description .service-activate:checked~ul {
    display: flex;
}

.services-description ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-description ul .services-section-title {
    background-color: #26B0D6;
    border-radius: 10px;
    text-transform: uppercase;
}

.services-description aside>ul {
    display: flex;
    gap: 40px;
    padding: 25px 20px;
    background-color: #20A5CA;
    border-radius: 30px;
    margin: 0 0 0 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (min-width: 960px) {
    .services-description aside>ul {
        flex-direction: row;
        padding: 63px 57px;
    }
}

.services-description aside>ul>li {
    /* width: 100%; */
    font-size: 16px;
}

.services-description aside>ul>li>ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-description aside>ul>li>ul>li {
    padding: 10px 20px;
}

/**
 * nosotros
 */


.about-us {}

.about-us__header {
    text-align: center;
    max-width: 834px;
    margin-bottom: 80px;
}

.about-us__title {}

.about-us__text {}

.team {
    display: flex;
    gap: 40px;
    max-width: 1411px;
    margin: 0 auto 107px auto;
    flex-direction: column;
}

@media (min-width: 960px) {
    .team {
        flex-direction: row;
        gap: 85px;
    }
}

.team__image {
    max-width: 360px;
    width: 100%;
}

.team__title {}

.team__title--name {
    font-size: 35px;
    color: #333333;
    font-weight: 700;
    margin: 10px 0 0 0;
    position: relative;
    margin: 0 0 20px 0;
}

.team__title--name:before {
    height: 80px;
    width: 80px;
    left: -121px;
    top: 25px;
    border: 1px solid #1597bb;
    content: "";
    position: absolute;
    border-radius: 50%;
}

.team__title--name:after {
    height: 2px;
    right: 0;
    bottom: -10px;
    left: 0;
    background-color: #1597bb;
    content: "";
    position: absolute;
}

@media (min-width: 960px) {

    .team__title--name:before {
        height: 80px;
        width: 80px;
        left: -121px;
        top: 25px;
        border: 1px solid #1597bb;
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .team__title--name:after {
        left: -40px;
    }

}

.team__title--position {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 300;
}

.team__description {
    padding-right: 0;
}

@media (min-width: 960px) {
    .team__description {
        padding-right: 60px;
    }
}

/**
 * testimonios
 */

.testimonials__header {
    text-align: center;
    max-width: 834px;
    margin-bottom: 80px;
}

.testimonials {
    background-color: #DAEBEF;
    padding: 60px 0;
}

@media (min-width: 960px) {
    .testimonials {
        padding: 120px 0;
    }
}

.testimonials__title {}

.testimonials__text {}

.testimonials-slider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.testimonials-slider li {
    padding: 20px;
    background-color: #fff;
    border-radius: 50px;
    text-align: center;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

@media (min-width: 960px) {

    .testimonials-slider li {
        padding: 50px 100px;
    }

    body .slick-slider .slick-track {
        display: flex;
        gap: 45px;
    }

    body .slick-slide {
        height: 100%;
        float: none;
    }
}


.stars {
    background-color: #E9E9E9;
    padding: 20px 40px;
    border-radius: 50px;
    margin: 0 auto 70px auto;
    max-width: 300px;
    display: flex;
    gap: 5px;
    position: relative;
}

.stars span {
    height: 34px;
    background-image: url(images/star-inactive.svg);
    min-width: 210px;
    background-repeat: repeat-x;
}

.stars:before {
    content: "";
    height: 34px;
    background-image: url(images/star-active.svg);
    position: absolute;
    left: 40px;
    top: 20px;
    display: block;
    background-color: #E9E9E9;
    background-repeat: repeat-x;
}

.stars[data-value="1"]:before {
    width: 40px;
}

.stars[data-value="2"]:before {
    width: 85px;
}

.stars[data-value="3"]:before {
    width: 130px;
}

.stars[data-value="4"]:before {
    width: 170px;
}

.stars[data-value="5"]:before {
    width: 210px;
}

.testimonials-slider__content {
    margin: 0 0 60px 0;
}

.testimonials-slider__author {
    font-style: italic;
    font-size: 21px;
    position: relative;
    margin: auto 0 0 0;
}

.testimonials-slider__author:before {
    content: "";
    top: -20px;
    width: 100px;
    margin-left: -50px;
    height: 2px;
    background-color: #1597bb;
    position: absolute;
    left: 50%;
}


/**
 * contacto
 */

.contact {
    background-color: #1597BB;
    padding: 60px 0;
    color: #fff;
}

@media (min-width: 960px) {
    .contact {
        padding: 120px 0;
    }
}

.contact__header {
    text-align: center;
    max-width: 834px;
    margin-bottom: 80px;
}

.contact__title {}

.test-title {}

.contact__text {}

.wpcf7-form {
    max-width: 837px;
    margin: auto;
}

.contact__column {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

@media (min-width: 960px) {
    .contact__column {
        flex-direction: row;
    }
}

.contact_buttons {
    display: flex;
    justify-content: flex-end;
}


.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=phone], .wpcf7-form textarea, .wpcf7-form input[type=tel] {
    background-color: transparent;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 20px 30px;
    color: #fff;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/**
 * footer
 */

.footer {
    font-size: 14px;
}

.footer .center-content {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

@media (min-width: 960px) {
    .footer .center-content {
        flex-direction: row;
    }
}

.footer .center-content {
    padding: 50px 0;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer, .footer a {
    color: #666666;
}

.footer .footer__menu label {
    cursor: pointer;
}

.footer .footer__menu label:hover {
    text-decoration: underline;
}

.footer__logo {}

.footer__address {}

.footer__menu {}

.after--footer {
    background-color: #EFEFEF;
}

.after--footer .center-content {
    padding: 10px 0;
    text-align: center;
}