:root {
    --gray: #d4d4d4;
    --red: #cc1114;
}
body {
    margin: 0;
    font-family: "Zalando Sans", sans-serif;
    background-color: #f3f2ed !important;
    padding-top: 0 !important;
}
.nav-fondo {
    display: none;
}
.primary-nav {
    position: inherit !important;
}

div#iter-content-wrapper {
    margin-top: 0;
}
#main-content{
    margin-bottom: 4rem;
}
.header-contacto {
    width: 100%;
    height: 245px;
    display: flex;
    align-items: center;
    background-image: url(https://codigomarret.online/upload/img/contacto.webp);
    background-size: cover;
    background-position: center;
    color: #fff;
    background-repeat: no-repeat;
}

.header-content {
    color: white;
}
.header-content h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}
.header-content p {
  font-size:16px;
  color:#dcdcdc;
  max-width:550px;
  line-height:1.5;
}

/* CONTACTO */
.contacto {
    background: #f3f2ed;
    padding: 50px 20px;
}
.container .title {
    position: relative;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--gray);
}
.container .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(60%);
    height: 4px;
    width: 30px;
    background: var(--red);
}
.container h2 {
    font-size: 24px;
    position: relative;
    font-weight: 600;
}
.contact-item {
    display: flex;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    align-items: flex-start;
}
.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #6e6e6c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.icon.telefono{
    background-image: url("https://codigomarret.online/upload/img/telefono.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.icon.calendario{
    background-image: url("https://codigomarret.online/upload/img/calendario.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.icon.email{
    background-image: url("https://codigomarret.online/upload/img/email.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.icon.ubicacion{
    background-image: url("https://codigomarret.online/upload/img/ubicacion.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.contact-item p {
    margin: 4px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* AREAS */
.areas {
    margin-bottom: 3rem;
}
.areas-container {
    background: white;
    padding: 75px 85px;
}
.areas-container .title {
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--gray);
}
.areas-container .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(60%);
    height: 4px;
    width: 30px;
    background: var(--red);
}
.areas-container h3 {
    font-size: 26px;
    position: relative;
    font-weight: 600;
}
.area-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    cursor: pointer;
}
.area-item:last-child {
    border-bottom: none;
}


@media (max-width: 767px) {
    .header-content h1,
    .header-content p{
        width: 62%;
    }
    .header-content h1{
        font-size: 25px;
    }
    
    .container h2 {
        font-size: 20px;
    }
    .contacto {
        padding: 50px 5px 0;
    }
    .areas-container {
        padding: 50px 15px;
    }
    .areas-container h3 {
        font-size: 20px;
    }
    .area-item {
        padding: 20px 0;
    }
    .areas {
        padding: 50px 20px 60px;
    }
    .header-contacto {
        width: 100%;
        height: 260px;
        display: flex;
        align-items: center;
        background-image:linear-gradient(to right, rgba(0,0,0,0.95) 3%, rgba(0,0,0,0.7) 16%, rgba(0,0,0,0) 30%), url("https://codigomarret.online/upload/img/contacto_mov.webp");
        color: #fff;
        background-repeat: no-repeat;
        background-size: cover;
    }

}

.faq-question{
    width:100%;
    background:none;
    border:none;
    outline:none;
    padding:25px 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:20px;
    color:#555;
    cursor:pointer;
    text-align:left;

    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    cursor: pointer;
}

.faq-question:last-child {
    border-bottom: none;
}

.arrow{
    transition:0.3s;
    font-size:18px;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
}

.faq-answer p{
    color: #666;
    line-height: 1.7;
    font-size: 14px;
    padding-top: 2rem;
    padding-bottom: 25px;
    margin: 0;
}

.faq-item.active .faq-answer{
    max-height:300px;
}

.faq-item.active .arrow{
    transform:rotate(180deg);
}

@media(max-width:768px){
    .areas {
        padding: 3.5rem 0px 10px !important;
    }
    .header-contacto{
        background-position: right;
    }
    .areas-container {
        padding: 30px 30px;
    }
    .faq-title{
        font-size:30px;
    }

    .faq-question{
        font-size:17px;
    }

    .faq-answer p{
        font-size:16px;
    }
    .container{
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
    }

}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
}
