/* Hero Contacto Styles */

/* Container Full Width Reset (Like HeroInicio) */
.hero-contacto-container-wrap {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Open Sans', sans-serif; /* Fallback */
}

/* Row & Layout */
.hero-contacto-row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 550px;
}

/* Column Inner Positioning */
.hero-contacto-row .col-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    width: 100%;
}

.hero-contacto-left-col .col-inner {
    padding: 100px 0 100px 14%;
    align-items: flex-start;
    text-align: left;
}

.hero-contacto-right-col .col-inner {
    padding: 100px 25% 100px 5%; /* More padding on right (outer) to push content left (inner) */
    align-items: flex-start;
}

/* Map Grayscale */
.map-tiles-greyscale {
    filter: grayscale(100%);
}

/* Left Column Specifics */
.hero-contacto-left-col {
    width: 50%;
    flex: 0 0 50%;
    position: relative;
    background-color: #f1ad3e; /* Orange background */
    background-image: url('../img/fondo-asanec-scaled.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-right: 0;
}

/* Form Elements */
.contact-form label {
    font-weight: 700;
    color: #1e266d;
    margin-bottom: 5px;
    display: block;
}

.contact-form .form-control {
    background-color: #ebf3fa;
    border: none;
    border-radius: 0;
    padding: 10px 15px;
    margin-bottom: 20px;
    width: 100%;
}

.contact-form .btn-submit {
    background-color: #0c1c46;
    color: #fff;
    padding: 10px 30px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* Right Column Specifics */
.hero-contacto-right-col {
    width: 50%;
    flex: 0 0 50%;
    position: relative;
    background-color: #f7f9fc; /* Very light blue background */
    padding-left: 0;
    padding-right: 0;
}

/* Form Wrapper Alignment */
.form-wrapper {
    max-width: 550px;
    padding: 0;
    width: 100%;
    margin: 0;
    text-align: left; /* Ensure form content is left aligned */
}

.hero-contacto-row {
    margin-bottom: 0 !important; /* Remove gap between hero and map */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-contacto-left-col,
    .hero-contacto-right-col {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .hero-contacto-left-col .col-inner,
    .hero-contacto-right-col .col-inner {
        padding: 50px 30px;
        align-items: center; /* Center on mobile */
        text-align: center;
    }
    
    .text-content,
    .form-wrapper {
        margin: 0 auto;
        max-width: 100%;
    }
}

/* Content Styling */
.text-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    margin: 0 0 0 auto; /* Push to right in left column */
}

.hero-contacto-container-wrap h1 {
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-contacto-container-wrap h1 .dark-blue {
    color: var(--main-color);
}

.hero-contacto-container-wrap h1 .white {
    color: #fff;
}

.hero-contacto-container-wrap .description {
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 40px;
    color: var(--main-color);
    font-weight: 700;
    max-width: 90%;
}

.hero-contacto-container-wrap .description a {
    color: var(--main-color);
    text-decoration: underline;
    font-weight: 800;
}

.hero-contacto-container-wrap .contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-contacto-container-wrap .info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    color: #555;
    font-weight: 400;
}

.hero-contacto-container-wrap .icon-circle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: block;
    padding-top: 14px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 999px) {
    .hero-contacto-container-wrap .icon-circle i {

        align-items: center;
        margin-left: -13px;
    }
}


.hero-contacto-container-wrap .icon-circle i {
    color: var(--main-color);
    font-size: 24px;
}

/* Form Styling */
.form-wrapper {
    max-width: 100%;
    width: 100%;
}

.hero-contacto-container-wrap .form-group {
    margin-bottom: 25px;
}

.hero-contacto-container-wrap label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--main-color);
    font-size: 15px;
}

.hero-contacto-container-wrap .form-control {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    background-color: #dce6f0;
    font-size: 15px;
    color: #333;
    transition: all 0.3s;
}

.hero-contacto-container-wrap .form-control:focus {
    outline: none;
    background-color: #fff;
    box-shadow: 0 0 0 2px var(--main-color);
}

.hero-contacto-container-wrap textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.hero-contacto-container-wrap .form-check {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hero-contacto-container-wrap .form-check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    border: 1px solid #aaa;
    border-radius: 3px;
    background-color: #fff;
}

.hero-contacto-container-wrap .form-check-label {
    font-size: 13px;
    line-height: 1.4;
    color: #000;
    font-weight: 700;
}

.hero-contacto-container-wrap .form-check-label a {
    color: #000;
    text-decoration: underline;
    font-weight: 800;
}

.hero-contacto-container-wrap .btn-submit {
    background-color: var(--main-color);
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
    display: inline-block;
}

.hero-contacto-container-wrap .btn-submit:hover {
    background-color: #0a235c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 47, 119, 0.3);
}
