@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;700&display=swap');

:root {
    --color-primary: #004090;
    --color-secondary: #D10026;
    --color-secondaryHover: #9C011D;
    --color-dark: #232323;
    --color-white: #FFF;
    --color-gray: #F2F2F2;
    --color-req: #F00;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    color: var(--color-dark);
    font-size: 16px;
    min-height: 100%;
    background-color: var(--color-white);
    scroll-behavior: smooth;
    font-weight: 500;
}

* {
    font-family: 'Rajdhani', sans-serif;
    box-sizing: border-box;
    line-height: 1;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    padding-bottom: 20px;
    position: relative;
}

h2::after {
    content: '';
    background-color: var(--color-secondary);
    height: 6px;
    width: 140px;
    transform: skewX(-20deg);
    position: absolute;
    bottom: 0;
    left: 0;
}

h2.center::after {
    left: 50%;
    margin-left: -70px;
}

h3 {
    color: var(--color-primary);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

ul {
    padding-left: 0;
    margin-top: 0;
}

ul li, p {
    line-height: 1.5;
}

.paragraph ul li {
    list-style: none;
    background: url(../images/icon-list.webp) no-repeat left center;
    background-size: 15px;
    font-weight: 500;
    padding-left: 20px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 100000;
}

#loader {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    background: url(../images/loader.gif) no-repeat center 0;
    margin: -25px 0 0 -25px;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    z-index: 5;
}

header section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    margin: 10px 0;
}

header nav {
    display: none;
}

header nav a {
    padding: 0 25px;
    text-decoration: none;
    position: relative;
    color: var(--color-primary);
    display: inline-flex;
    gap: 5px;
    align-items: center;
    text-transform: uppercase;
    font-weight: 600;
    transition: .3s;
}

header nav a:hover {
    color: var(--color-dark);
}

header nav a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: .3s;
    background-color: var(--color-primary);
    z-index: -1;
    opacity: 0;
    transform: skewX(-12deg);
}

header nav a.active::after {
    opacity: 1;
}

header nav a.active {
    color: var(--color-white);
}

header nav a svg {
    width: 15px;
    transition: .3s;
}

/* Slider */
.splide__arrow {
    background: transparent;
    transition: .3s;
    width: 2.2em;
    height: 2.2em;
    transition: .3s;
    transform: translateY(-10px);
    opacity: 0;
}

.splide:hover .splide__arrow {
    opacity: 1;
    transform: translateY(0);
}

.splide__arrow:hover {
    background: rgba(0, 0, 0, .2);
}

.splide__arrow svg {
    fill: var(--color-white);
    width: 1.5em;
    height: 1.5em;
}

.slide_bottom {
    color: var(--color-white);
    font-size: 20px;
    position: relative;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    margin-top: -40px;
    width: 80%;
}

.slide_bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: var(--color-primary);
    z-index: 1;
    transform: skewX(-20deg);
}

.slide_bottom div {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

.slide_bottom span {
    font-size: 35px;
    font-weight: 700;
}

.paragraph .column {
    padding: 0 10px;
}


/* nuestras empresas */
.companies_cont {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.companies_cont .group {
    flex-grow: 1;
}

.companies_cont .line {
    display: flex;
    flex-wrap: wrap;
}

.companies_cont .company {
    display: flex;
    align-items: center;
    padding: 40px 10px;
    flex-grow: 1;
    min-height: 370px;
    justify-content: flex-end;
    transition: .3s;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.company.jomar {
    background: url(../images/bg-jomar.webp) no-repeat center;
    background-size: cover;
}

.company.hm9 {
    background: url(../images/bg-hm9.webp) no-repeat center;
    background-size: cover;
}

.company.soluciones {
    background: url(../images/bg-soluciones.webp) no-repeat center;
    background-size: cover;
}

.company.instituto {
    background: url(../images/bg-instituto.webp) no-repeat center;
    background-size: cover;
}

.company.fundacion {
    background: url(../images/bg-fundacion.webp) no-repeat center;
    background-size: cover;
}


.company .info {
    color: var(--color-white);
    overflow: hidden;
    text-align: center;
    max-width: 350px;
    transition: .3s;
    height: 0;
    position: relative;
}

.company .info .btn {
    box-shadow: 2px 2px 5px var(--color-dark);
    gap: 10px;
}

.company:hover .info {
    height: 170px;
}

.contact_actions {
    margin-top: 50px;
}

.contact_actions .column {
    padding: 30px 10px;
}

.contact_info {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.contact_info h3 {
    color: var(--color-white);
}

.contact_info .line {
    display: flex;
    font-size: 22px;
    gap: 15px;
    padding: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.contact_info .line img {
    flex-grow: 0;
    flex-shrink: 0;
}

.contact_info .line div {
    flex-grow: 1;
    text-align: center;
}

.contact_info .line strong {
    font-size: 20px;
    display: block;
}

.contact_form {
    background-color: #FCFCFC;
}

.contact_form .column.equal {
    padding: 15px 10px;
}

.form_cont {
    position: relative;
    flex-grow: 1;
}

.form_control {
    padding: 12px 10px;
    background-color: var(--color-white);
    border: 1px solid #C3C3C3;
    border-radius: 5px;
    width: 100%;
    outline: none;
}

.form_cont .label {
    padding: 5px;
}

.form_cont .label span {
    font-weight: 700;
    color: var(--color-req);
}

.form_control.req {
    border-color: var(--color-req);
}

.requiredText {
    color: var(--color-req);
    font-size: 12px;
    padding: 5px 0;
}


footer {
    margin-top: 50px;
    background-color: var(--color-primary);
    padding: 30px 10px;
    color: var(--color-white);
    position: relative;
    text-align: center;
    display: block;
}

footer nav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 35px 0;
    gap: 10px;
    flex-wrap: wrap;
}

footer nav a {
    color: var(--color-white);
    text-decoration: none;
    transition: .2s;
    text-transform: uppercase;
    font-weight: 600;
}

footer nav a:hover {
    text-decoration: underline;
}

footer p {
    margin: 0;
}

footer .button_up {
    position: absolute;
    top: -25px;
    right: 10px;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    border-radius: 50%;
}

footer .button_up svg {
    width: 20px;
    fill: var(--color-white);
    transition: .3s;
}

footer .button_up:hover svg {
    transform: translateY(-5px);
}

.btn-burger {
    height: 56px;
    overflow: hidden;
    position: relative;
    text-indent: 100%;
    white-space: nowrap;
    width: 44px;
    padding: 0;
    z-index: 8;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-burger span {
    background-color: var(--color-secondary);
    bottom: auto;
    display: inline-block;
    height: 4px;
    left: 50%;
    position: absolute;
    right: auto;
    top: 50%;
    width: 25px;
    z-index: 10;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 5px;
}

.btn-burger span:before,
.btn-burger span:after {
    width: 100%;
    border-radius: 5px;
}

.btn-burger span:before, .btn-burger span:after {
    background-color: var(--color-secondary);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.3s;
}

.btn-burger span:before {
    transform: translateY(-8px) rotate(0deg);
}

.btn-burger span:after {
    transform: translateY(8px) rotate(0deg);
}

.menu-responsive {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    margin: 0;
    width: 100%;
    padding: 100px 50px;
    z-index: 7;
    overflow-y: auto;
    display: none;
}

.menu-responsive a {
    display: block;
    color: var(--color-white);
    padding: 0 20px;
    margin: 30px 0;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
}

.menu-responsive a svg {
    width: 20px;
    transition: .3s;
    transition: .3s;
}

.menu-responsive a svg path {
    fill: var(--color-white);
}

.menu-responsive .close-button {
    width: 30px;
    position: fixed;
    z-index: 8;
    top: 25px;
    right: 25px;
}

.menu-responsive .close-button path {
    fill: var(--color-white);
}

/* boton whatsapp */
.whats-btn {
    position: fixed;
    top: 60%;
    right: 0;
    border-radius: 10px 0 0 10px;
    background-color: #15732e;
    display: flex;
    align-items: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    transition: .3s;
    z-index: 5;
    margin-right: -140px;
    text-decoration: none;
}

.whats-btn svg {
    width: 35px;
    margin: 0 20px;
}

.whats-btn svg path {
    fill: #fff;
    transition: .3s;
}

.whats-btn .text {
    font-weight: 700;
    font-size: 20px;
    padding: 20px 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 140px;
}


/* comun styles */
.container::before {
    content: '';
    height: 100px;
    position: relative;
    display: block;
    width: 100%;
}

section {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    padding: 0 10px;
}

.container.nospace::before {
    display: none;
}


.flex {
    display: flex;
    flex-wrap: wrap;
}

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

.separate {
    justify-content: space-between;
}

.vcenter {
    align-items: center;
}

.hcenter {
    justify-content: center;
}

.gap-10 {
    gap: 10px;
}

.column {
    padding: 10px;
    flex-grow: 1;
    flex-shrink: 1;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.btn {
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-align: center;
    text-decoration: none;
    transition: .3s;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 17px;
    border-radius: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--color-secondaryHover);
}

.btn.primary {
    background-color: var(--color-primary);
}

.btn.primary:hover {
    background-color: #05326a;
}

.btn.white {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

.btn.white:hover {
    background-color: var(--color-gray);
}

.btn.outline {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    background-color: transparent;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, .1);
}

.btn.big {
    width: 100%;
}

.btn.full {
    width: 100%;
}

.btn svg {
    fill: var(--color-white);
    width: 15px;
    flex-shrink: 0;
}

.btn.white svg {
    fill: var(--color-secondary);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

#vue-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.vue-form-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.vue-form-row-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.vue-form-field {
    flex-grow: unset;
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#select-separator {
    height: 100%;
    width: 1px;
    background-color: #c2c9d6;
    margin-right: 8px;
}

.label span {
    color: var(--color-req);
    font-weight: 700;
    font-size: 15px;
}

#vue-form-button-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    justify-items: flex-end;
    align-content: flex-end;
}

.missing-interes-snackbar{
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: 1.2rem;
}

@media screen and (min-width: 768px) {

    .slide_bottom {
        font-size: 25px;
        width: 90%;
        padding: 20px;
    }

    .slide_bottom span {
        font-size: 45px;
    }

    .companies_cont .line {
        flex-wrap: nowrap;
    }

    .companies_cont .company {
        padding: 30px 20px;
    }

    .contact_actions .column {
        padding: 30px 40px;
    }

    .column.equal {
        flex-basis: 0;
    }

    .contact_info .line div {
        text-align: left;
    }

    .btn.big {
        width: 300px;
    }

    .video {
        padding-left: 60px;
    }

}

@media screen and (min-width: 1024px) {

    .btn-burger {
        display: none;
    }

    header nav {
        display: flex;
    }

    header section {
        align-items: unset;
    }

    .slide_bottom {
        font-size: 35px;
    }

    .slide_bottom span {
        font-size: 55px;
    }

    .companies_cont {
        flex-wrap: nowrap;
    }

    .company.jomar {
        max-width: 600px;
    }

    .companies_cont .line:first-child .company:nth-child(2) {
        max-width: 500px;
    }

    .companies_cont .line:nth-child(2) .company:first-child {
        max-width: 500px;
    }

    .contact_info {
        max-width: 480px;
    }

    .flex {
        flex-wrap: nowrap;
    }

    .whats-btn {
        top: 70%;
    }

    .whats-btn:hover {
        margin-right: 0;
    }
}


@media screen and (min-width: 1200px) {

    .slide_bottom {
        font-size: 45px;
    }

    .slide_bottom span {
        font-size: 65px;
    }

    .vue-form-row {
        flex-wrap: nowrap;
    }

    .vue-form-field {
        flex-grow: 1;
    }

    .vue-form-row-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

}