.section-bg {
    width: 100%;
    opacity: .4;
}
.section-bg > div {
    z-index: 2;
    background-image: url(../images/dots.png);
    background-position: 0 0;
    background-size: auto;
    background-attachment: scroll;
    width: 100%;
    position: absolute;
    inset: 15px 0% 0%;
}

/* Hero */
#hero {
    background-color: #f8f8f8;
    position: relative;
}
#hero > svg {
    position: absolute;
    bottom: -210px;
    z-index: -1;
}
#hero > .container{
    display: flex;
    margin: 0 auto;
    padding: 6rem 0 0;
}
#hero > .container > div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
}
#hero .title h4, #hero .title h1{
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 54px;
}
#hero .title h4.first{
    color: #333333;
}
#hero .title h1.second{
    color: #00296b;
}
#hero .subtitle {
    color: #00296b;
    font-size: 13px;
    font-weight: 600;
}
#hero .dinamic-text, #hero .dinamic-text > b {
    margin: 24px 0px;
    color: #444;
}
#hero img {
    width: 50%;
}

/* Módulos */
#modules {
    position: relative;
}
#modules > .container{
    z-index: 1;
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin: 4rem auto 0;
}
.module {
    display: flex;
    justify-content: start;
    flex-direction: column;
    gap: 4px;

    flex: 0 0 calc(25% - 12px);
    box-sizing: border-box;
    text-align: center;
    margin: 24px 0px;
}
.modules-container{
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}
.module > i {
    font-size: 40px;
    color: #00296b;
}
.module > h4 {
    margin-top: 4px;
    font-size: 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #282828;
}
.module > a {
    font-size: 14px;
    color: #00296b;
    opacity: 0.8;
}
.module > p {
    color: #6c757d;
    margin: 4px 0px;
}
.module > a > i {
    font-size: 13px;
    color: #00296b;
    margin-left: 4px;
}
.module > a:hover {
    text-decoration: underline;
}
.modules-title h4 {
    text-align: center;
    font-size: 32px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #00296b;
}
.modules-title span {
    display: block;
    text-align: center;
    font-size: 20px;
    color: #6c757d;
}


/* Section */
.section {
    margin: 2rem auto;
    display: flex;
    gap: 36px;
    align-items: center;
}
.section > div {
    width: 50%;
}
.section-img {
    height: 400px;
    text-align: end;
    overflow: hidden;
    border-radius: 30px;
}
.section-img > img {
    height: 100%;
    transform: scale(1);
    transition: all ease-in-out 300ms;
}
.section:hover img {
    transform: scale(1.1);
}
.section-info > h4 {
    font-size: 36px;
    margin: 4px 0px 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #2f2f2f;
    font-weight: 500;
}
.section-info > .subtitle {
    color: #00296b;
    font-size: 14px;
    font-weight: 500;
}
.section-info > p {
    color: #55555e;
}
.section.reverse {
    margin-top: 56px;
    flex-direction: row-reverse;
}
.section.reverse .section-img {
    text-align: start;
}


/* Princing */
#pricing {
    padding: 6rem 0;
    margin: 0rem auto;
}
.pricing-title h4 {
    text-align: center;
    font-size: 32px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #00296b;
}
.pricing-title span {
    display: block;
    text-align: center;
    font-size: 20px;
    color: #6c757d;
}
.pricing-container {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: start;
}
.pricing {
    width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 6px solid #00296b;
    border-bottom-width: 16px;
    padding: 16px;
    border-radius: 16px 16px 24px 24px;
}
.pricing.secondary{
    background-color: #00296b;
}
.pricing.secondary *{
    color: #fff !important;
}
.pricing > h4 {
    color: #333;
    font-size: 32px;
    width: 100%;
    line-height: 36px;
}
.pricing > .subtitle {
    color: #4b5563;
    font-size: 16px;
    width: 100%;
    margin-top: 6px;
}
.price {
    margin: 12px 0px 4px;
}
.price > h4 {
    display: inline;
    color: #00296b;
    font-size: 48px;
    font-weight: 600;
}
.pricing-list {
    width: 100%;
}
.pricing-list > div{
    margin: 12px 0px;
}
.pricing-item > i{
    color: #00296b;
    margin-right: 4px;
}
.pricing > .line {
    height: 1px;
    background-color: #42424240;
    width: 100%;
    margin: 20px 0px;
}
.pricing.secondary > .line {
    background-color: #ffffff;
}
.pricing > .obs {
    color: #4b5563;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 4px;
}
.pricing-buttons {
    display: flex;
    justify-content: center;
    background-color: #f8f8f8;
    width: 320px;
    height: 64px;
    margin: 1rem auto;
    padding: 5px;
    border-radius: 48px;
}
.pricing-buttons > button {
    cursor: pointer;
    background: none;
    outline: none;
    border: none;
    width: 50%;
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
}
.pricing-buttons > button.active {
    background-color: #fff;
    border-radius: 48px;
    color: #262d36;
}

/* soluciones */
#soluciones {
    margin: 6rem auto 0px;
}
.soluciones-title h4 {
    text-align: center;
    font-size: 32px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #00296b;
}
.soluciones-title span {
    display: block;
    text-align: center;
    font-size: 20px;
    color: #6c757d;
}
.soluciones-container > .row{
    display: flex;
    gap: 24px;
    margin-top: 24px;
}
.soluciones-container > .row img{
    max-height: 300px;
}
.solucion-item {
    border: 1px solid #edeff3;
    border-radius: 24px;
    background-color: #f6f7f9;
    flex: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.solucion-item h4{
    padding: 32px 32px 16px;
    color: #333;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
}
.solucion-item p{
    padding: 0px 32px 32px;
    color: #525f75;
    line-height: 24px;
}
.solucion-item img {
    max-width: 90%;
    margin: 12px 0;
}
.solucion-item > .img-container {
    display: flex;
    align-items: end;
    justify-content: center;
}

/* Módulo Page */
#modules {
    margin: 2rem auto 2rem;
}
#modules > .main-title > h1, #modules > .main-title > h1 > span{
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 52px;
    font-weight: 600;
    color: #2f2f2f;
    text-align: center;
}
#modules > .main-title > span {
    display: block;
    text-align: center;
    font-size: 15px;
    color: #2d57d1;
    font-weight: 600;
}
.module-title {
    margin-top: 48px;
}
.module-title h1 {
    text-align: start;
    font-size: 32px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    color: #2f2f2f;
}
.module-body li {
    list-style-type: none;
    color: #525f75;
    margin: 12px 0px;
    font-size: 18px;
}
.module-body li i {
    font-size: 16px;
    margin-right: 4px;
    color: #2d57d1;
}

/* --- CSS RESPONSIVE --- */
@media (max-width: 768px) {
    #hero > .container {
        flex-direction: column;
        align-items: center;
    }
    #hero > .container > div, #hero img {
        width: 100%;
    }
    #hero .title h4, #hero .title h1 {
        text-align: center;
    }
    #hero .subtitle {
        font-size: 15px;
    }
    #hero > .container {
        padding: 3rem 0 0;
    }
    .module {
        flex: 0 0 calc(50% - 5px);
        margin: 12px 0px;
    }
    .modules-container {
        gap: 9px;
    }
    .section, .section.reverse {
        flex-direction: column;
    }
    .section > div {
        width: 100%;
    }
    .soluciones-container > .row {
        flex-direction: column;
    }
    #modules > .container, #soluciones {
        margin: 2rem auto 0;
    }
    #hero h4.first {
        font-size: 40px;
    }
    .pricing-container {
        flex-direction: column;
    }
    .price {
        width: 100%;
    }
    .pricing{
        width: calc(100% - 24px);
        margin: 12px;
    }
}