@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6, p, span, label, a, input, button {
    font-family: 'Poppins' !important;
}


body {
    font-family: 'Poppins' !important;
    margin: 0;
}
* {
    box-sizing: border-box;
}

/* Main Section */
.section-main {
    min-height: 300px;
    padding: 40px 0;
    position: relative;
}
.section-main:after {
    content: "";
    display: block;
    width: 100%;
    height: 80%;
    background: url(./assets/images/bg-banner.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}
.main-content {
    margin-top: 130px;
}
.section-main .pex-logo {
    display: flex;
    justify-content: center;
    background: white;
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0px 2px 50px rgba(0, 0, 0, 0.1);
    z-index: 999;
}
.section-main .pex-logo img{
    max-height: 105px;
    width: fit-content;
    margin: 0 auto;
}
.section-main h2 {
    color: white;
    text-align: center;
    font-weight: 400;
    font-size: 27px;
    line-height: 37px;
    margin-bottom: 40px;
}
.section-main h2 strong {
    display: block;
}
.list-promo {
    display: flex;
    gap: 30px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.list-promo .item  {
    width: 25%;
}
.list-promo .item img {
    width: 100%;
}

/* Form Section */
.section-form {
    margin: 30px 0;
}
.section-form .form {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 50px;
    padding: 40px 55px;
}
.section-form .form .row-group {
    display: flex;
    width: 100%;
    gap: 30px;
    margin-bottom: 20px;
    
}
.section-form .form .row-group .input-container {
    display: flex;
    flex-direction: column;
    width: 50%;
}
.section-form .form .row-group.full .input-container {
    width: 100%;
}
.section-form .form .row-group .input-container label {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #414040;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-form .form .row-group .input-container input, .section-form .form .row-group .input-container select {
    background: #FFFFFF;
    border-radius: 6px !important;
    border: 1px solid #CECECE !important;
    font-style: normal;
    font-weight: 500;
    font-size: 14px !important;
    line-height: 14px !important;
    color: #414040;
    height: 36px;
    padding: 0 10px;
}
.section-form .form .row-group .input-container select {
    appearance: none;
    background-image: url(./assets/icons/select-icon.png);
    background-position: center right;
    background-repeat: no-repeat;
    text-indent: 0;
    min-height: 30px;
    background-position: 96%;
}
.section-form .form .row-group .input-container input::placeholder {
    color: #414040;
    opacity: 0.4;
    font-weight: 500;
}
.section-form .form .row-group .input-container input:focus, .section-form .form .row-group .input-container select:focus {
    outline: none;
}
.section-form .checkbox-container {
    margin: 10px 0;
}
.section-form .checkbox-container label {
    display: flex;
    gap: 10px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #949397;
}
.section-form .checkbox-container label p {
    margin: 0;
}
.section-form .error-message {
    margin: 2.5px 0;
    font-weight: 300;
    font-size: 13px;
    line-height: 18px;
    color: #E20025 !important;
}
/* 
.section-form .checkbox-container label input {
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #007E6B;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    padding: 0 !important;
    border-radius: 5px;
}
.section-form .checkbox-container label input:checked {
    background: url(/assets/icons/check.svg);
    border: none;
    background-repeat: no-repeat;
    background-size: 100%;
}
*/
.section-form .checkbox-container label input:hover {
    cursor: pointer;
}
.section-form .column-group {
    margin-top: 20px;
    margin-bottom: 20px;
}
.section-form .checkbox-container label {
    color: #C5C5C5 !important;
    font-size: 14px !important;
    line-height: 19px;
    font-weight: 300 !important;
}
.section-form .checkbox-container label a {
    text-decoration: none;
    color: #004489  ;
}
.section-form .form button {
    background-color: #E20025 !important;
    padding: 6px 20px !important;
    width: 100% !important;
    max-width: 230px;
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    height: 36px;
    margin: 0;
}
.section-form .form button:hover {
    cursor: pointer;
}
.section-form.success .form .row-group, .section-form.success .form .column-group, .section-form.success .form button {
    display: none;
}
.section-form .thanks-text {
    display: none;
}
.section-form.success .thanks-text {
    display: inherit;
}
.section-form .thanks-text p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #18191F;
    text-align: center;
}

/* Section Preguntas */
.section-questions {
    margin: 60px auto;
    max-width: 970px;
    width: 100%;
}
.section-questions h2, .section-form h2 {
    color: #004489;
    text-align: center;
    font-weight: 700;
    font-size: 27px;
    line-height: 32px;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-bottom: 45px;
    margin-top: 25px;
    text-transform: uppercase;
}
.section-questions h2:before, .section-form h2:before {
    content: '';
    position: relative;
    display: block;
    left: 0;
    width: 55px;
    height: 14px;
    background-image: url(https://www.limaexpresa.pe/wp-content/uploads/2022/06/trama_titulos.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.section-questions .item {
    border-bottom: 1px solid #CFD0D4;
    position: relative;
}
.section-questions .item .title {
    position: relative;
    padding: 25px 0;
}
.section-questions .item .title::after {
    content: "";
    display: block;
    width: 33px;
    height: 33px;
    background: url(./assets/icons/open-question.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    transition: all .4s ease;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0;
    margin: auto;
}
.section-questions .item .title:hover {
    cursor: pointer;
}
.section-questions .item h3 {
    font-family: 'Exo';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    color: #213368;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 45px;
}
.section-questions .item * {
    transition:  all .4s ease;
}
.section-questions .item h3::before {
    content: "";
    display: block;
    width: 25px;
    height: 20px;
    background: url(./assets/icons/question.svg);
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-size: 100%;
}
.section-questions .content {
    padding: 0px 55px 0px 55px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-20px); /* Inicia desplazado para el efecto de apertura */
}

.section-questions .content p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #18191F;
    margin: 0;
    margin-bottom: 25px;
}

.section-questions .item.active .content {
    opacity: 1;
    max-height: 500px; 
    transform: translateY(0); 
}

.section-questions .item.active .title:after {
    transform: rotate(180deg); 
}

.section-questions .content table {
    width: fit-content;
    border-collapse: collapse; 
    margin: 20px 0;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #18191F;
}

.section-questions .content th, td {
    border: 1px solid #18191F;
    padding: 10px;
    text-align: left;
}

/* Footer */
footer  div{
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 60px;
    padding: 5px 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    border-top: 1px solid #CFD0D4;
}
footer  div p, footer  div a {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #949397;
    text-decoration: none;
    margin: 10px 0;
}

/* Gracias */
.gracias-body .gracias{
    min-height: calc(100vh - 50px);
}
.gracias-body .logo {
    background:transparent;
}
.gracias-body .text:after {
    content: "";
    width: 100%;
    height: 340px;
    background: url(./assets/icons/gracias-bg.svg);
    background-position: bottom center;
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    top: 0;
    bottom: 0;
    z-index: -1;
}
.gracias-body .text p {
    margin: 5px 0;
}
.gracias-body .content {
    max-width: 860px;
    margin: 20px auto;
    margin-top: 40px;
}
.gracias-body .text p {
    color: #213368;
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}
.gracias-body .text p:last-child {
    margin-top: 0 !important;
}
.gracias-body .text {
    margin-top: 20px;
}
.gracias-body .image img {
    max-width: 550px;
    margin: 190px auto 80px auto;
    width: 100%;
}
.gracias-body .image  {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gracias-body .logo img {
    margin: 10px 0;
    max-width: 140px;
}
.gracias-body .logo a {
    display: flex;
    justify-content: center;
}
/*
.gracias-body footer {
    background: rgba(33, 51, 104, 1);
    margin-bottom: 0;
    padding: 0 10px;
}
.gracias-body footer div {
    border: none;
}
.gracias-body footer div a, .gracias-body footer div p {
    color: #FFF;
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
}
.gracias-body footer div {
    display: flex;
    max-width: 1170px;
    margin: 0px auto;
    justify-content: space-between;
    align-items: center;
}
    
*/
.gracias-body footer div {
    margin-top: 0;
}


/* Responsive */
@media(max-width: 1120px) {
    .list-promo {
        max-width: 95%;
        margin: 0 auto;
    }
}
@media(max-width: 1170px) {
    .section-form .form {
        max-width: 95%;
        margin: 0 auto
    }
    .section-questions {
        max-width: 95%;
        margin: 60px auto;
    }
    footer div {
        max-width: 95%;
        margin: 0 auto;
    }
}
@media(max-width: 768px) {
    .gracias-body .content {
        max-width: 95%;
    }
    .section-main {
        min-height: auto;
        margin-bottom: 40px;
    }
    .list-promo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }
    .list-promo .item {
        width: 100%;
    }
    .section-form .form {
        padding: 30px 25px;
    }
    .section-form .form .row-group {
        flex-direction: column;
        gap: 20px;
    }
    .section-form .form .row-group .input-container {
        width: 100%;
    }
    .section-questions .item h3 {
        font-size: 14px;
        line-height: 19px;
        padding-right: 40px;
    }
    .section-questions .item .title::after {
        width: 30px;
        height: 30px;
        background-size: 100%;
    }
    .section-questions h2, .section-form h2 {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 30px;
        margin-top: 30px;
    }
    .section-questions .content {
        padding: 0 20px;
    }
    .section-main .pex-logo img {
        height: 70px;
    }
    .section-main h2 {
        font-size: 25px;
        line-height: 30px;
    }
    footer div {
        flex-direction: column;
        align-items: center;
        gap: 0;
        justify-content: center;
        margin-top: 60px;
    }
    footer div p, footer div a {
        text-align: center;
    }
    .section-main:after {
        height: 85%;
    }
}
@media(max-width: 570px) {
    .gracias-body .image img {
        max-width: 95%;
    }
    .section-questions h2:before, .section-form h2:before {
        content: none;
    }
}

