.hero-contacto{
    position: relative;
    background-image: url('/img/banner/banner1.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
    overflow: hidden;
}

.hero-contacto-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 23, 115, 0.68) 0%, rgba(71, 99, 231, 0.78) 100%);
}

.hero-contacto-container{
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-contacto-btn{
    min-width: 180px;
    min-height: 56px;
    padding: 12px 34px;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .4px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero-contacto-btn:hover{
    background: #ffffff;
    color: #001773;
    transform: translateY(-1px);
}

/* CONTACTO CASO */
.contacto-caso-section{
    background: #f3f3f7;
    padding: 90px 0 90px;
}

.contacto-caso-container{
    max-width: 980px;
}

.contacto-caso-copy{
    max-width: 360px;
}

.contacto-caso-title{
    margin: 0 0 18px;
    font-size: 3.1rem;
    line-height: .95;
    font-weight: 700;
    letter-spacing: -1px;
    color: #001773;
}

.contacto-caso-text{
    margin: 0 0 18px;
    font-size: 1.12rem;
    line-height: 1.45;
    color: #001773;
}

.contacto-caso-map{
    width: 100%;
    max-width: 285px;
    border-radius: 14px;
    overflow: hidden;
}

.contacto-caso-map img{
    width: 100%;
    display: block;
    border-radius: 14px;
}

/* FORM */
.contacto-caso-form{
    max-width: 430px;
    margin-left: auto;
}

.contacto-field{
    margin-bottom: 16px;
}

.contacto-field input,
.contacto-field select,
.contacto-field textarea{
    width: 100%;
    border: 1px solid rgba(0, 23, 115, 0.22);
    border-radius: 8px;
    background: transparent;
    color: #001773;
    font-size: 1rem;
    outline: none;
    box-shadow: none;
    transition: border-color .25s ease, background .25s ease;
}

.contacto-field input,
.contacto-field select{
    height: 44px;
    padding: 0 22px;
}

.contacto-field textarea{
    min-height: 148px;
    padding: 14px 22px;
    resize: none;
}

.contacto-field input::placeholder,
.contacto-field textarea::placeholder{
    color: #001773;
    opacity: 1;
}

.contacto-field input:focus,
.contacto-field select:focus,
.contacto-field textarea:focus{
    border-color: rgba(0, 23, 115, 0.45);
}

.contacto-field-select{
    position: relative;
}

.contacto-field-select select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 56px;
}

.contacto-field-select::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #001773;
    border-bottom: 2px solid #001773;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

/* BUTTON */
.contacto-caso-action{
    padding-top: 54px;
    display: flex;
    justify-content: flex-start;
}

.contacto-caso-btn{
    width: 250px;
    min-height: 56px;
    padding: 7px 8px 7px 20px;
    border: 0;
    border-radius: 999px;
    background: #dff3f2;
    color: #001773;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background .35s ease, transform .25s ease;
}

.contacto-caso-btn::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 36, 136, 0.08);
    opacity: 0;
    transition: opacity .35s ease;
}

.contacto-caso-btn:hover{
    transform: translateY(-1px);
}

.contacto-caso-btn:hover::after{
    opacity: 1;
}

.contacto-caso-btn > span:first-child{
    position: relative;
    z-index: 2;
    font-size: 1rem;
    font-weight: 500;
    transition: transform .35s ease;
}

.contacto-caso-btn-icon{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 36, 136, 0.14);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: background .35s ease, transform .35s ease;
}

.contacto-caso-btn-icon::before{
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    background-image: url('/img/icon/vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform .35s ease, background-image .35s ease;
}

.contacto-caso-btn:hover > span:first-child{
    transform: translateX(10px);
}

.contacto-caso-btn:hover .contacto-caso-btn-icon{
    background: #001773;
    transform: scale(1.04);
}

.contacto-caso-btn:hover .contacto-caso-btn-icon::before{
    transform: rotate(-45deg);
    background-image: url('/img/icon/vector-white.png');
}

/* RESPONSIVE */
@media (max-width: 991.98px){
    .contacto-caso-section{
        padding: 70px 0;
    }

    .contacto-caso-copy{
        max-width: 100%;
    }

    .contacto-caso-map{
        max-width: 360px;
    }

    .contacto-caso-form{
        max-width: 100%;
        margin-left: 0;
    }

    .contacto-caso-action{
        padding-top: 24px;
    }
}

@media (max-width: 767.98px){
    .contacto-caso-title{
        font-size: 2.35rem;
        line-height: .98;
    }

    .contacto-caso-text{
        font-size: 1rem;
    }

    .contacto-field input,
    .contacto-field select{
        height: 50px;
    }

    .contacto-caso-btn{
        width: 220px;
        min-height: 50px;
        padding-left: 18px;
    }

    .contacto-caso-btn-icon{
        width: 38px;
        height: 38px;
    }
}
