body {
    margin: 0;
    font-family: "Inter", sans-serif;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.information-contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
}

.information-contacto h1 {
    font-size: 4.2em;
    margin-bottom: 40px;
    color: #3E9984;
    font-weight: 500;
    line-height: 1.2;
}

.information-contacto p {
    font-size: 1.2em;
    color: #000000;
    max-width: 800px;
    margin-bottom: 30px;
    font-weight: 540;
    line-height: 1.6;
}

.information-descripcion-contacto {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-bottom: 70px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.left-contact-info {
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.left-contact-info h3 {
    color: #3E9984;
    font-size: 1.5em;
    margin-top: 10px;
    margin-bottom: 0px;
    font-weight: 600;
}

.left-contact-info h3:first-of-type {
    margin-top: 0;
}

.left-contact-info p {
    color: #195043;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.8;
}

.map-placeholder {
    background-color: #e0e0e0;
    width: 430px;
    height: 363px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 1.5em;
    border-radius: 10px;
}

.right-form-section {
    flex: 0 0 610px;
    max-width: 610px;
    min-width: 380px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    padding-top: 80px;
    margin-top: -15px;
}

.right-form-section h2 {
    color: #195043;
    font-size: 1.8em;
    margin-bottom: 5px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    position: static;
    top: auto;
}

.right-form-section p {
    color: #555;
    font-size: 1em;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    position: static;
    top: auto;
}

#lugar{
    text-decoration: underline;
}
.right-contact-form {
    background-color: #E1E8E7;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    border: #337a6b 0.3px solid;
    height: 505px;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label,
.form-group-full-width label {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group-full-width textarea {
    padding: 10px;
    border: 1px solid #195043;
    border-radius: 10px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    color: #333;
    margin-top: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group-full-width textarea:focus {
    outline: none;
    border-color: #3E9984;
    box-shadow: 0 0 0 3px rgba(62, 153, 132, 0.3);
}

.form-group #custom-select {
    cursor: pointer;
}

.form-group #asunto {
    --ul-line-height: 35px;
    /* --- */
    width: 100%;
    height: 0px;
    position: absolute;
    top: calc(100% + 8px);
    list-style-type: none;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: height .2s ease;
    /*
    Requires a delay for the selected option;
    otherwise, the value is not selected.
    */
    transition-delay: .05s;
}

.form-group #custom-select:focus ~ #asunto {
    height: calc(var(--ul-line-height) * 4);
}

.form-group #asunto li label {
    height: var(--ul-line-height);
    display: block;
    padding-left: 10px;
    margin-bottom: 0;
    line-height: var(--ul-line-height);
    border-bottom: 1.5px solid transparent;
    cursor: pointer;
}

.form-group #asunto li label:hover {
    border-color: #31955b;
}

.form-group input::placeholder,
.form-group select option[disabled],
.form-group-full-width textarea::placeholder {
    color: #aaa;
}

.form-group-full-width {
    margin-bottom: 35px;
}

.form-group-full-width textarea {
    min-height: 97px;
    resize: vertical;
    overflow: auto;
}

.right-contact-form button {
    background-color: #195043;
    color: white;
    padding: 12px 55px;
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    float: right;
    margin-top: -10px;
    transition: background-color 0.3s ease;
}

.right-contact-form button:hover {
    background-color: #000000;
}

@media (max-width: 992px) {
    .information-contacto h1 {
        font-size: 3.5em;
    }
    .information-contacto p {
        font-size: 1.1em;
    }
    .information-descripcion-contacto {
        padding-bottom: 50px;
        gap: 30px;
    }
    .left-contact-info,
    .right-form-section {
        min-width: unset;
        width: 100%;
        flex-basis: auto;
        max-width: 100%;
        align-items: center;
        padding-left: 0;
    }
    .left-contact-info h3,
    .left-contact-info p {
        text-align: center;
    }
    .right-form-section h2,
    .right-form-section p {
        text-align: center;
    }
    .map-placeholder {
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
    .right-contact-form {
        height: auto;
    }
}

@media (max-width: 768px) {
    main {
        padding: 0 15px;
    }
    .information-contacto {
        padding-top: 50px;
        padding-bottom: 30px;
    }
    .information-contacto h1 {
        font-size: 3em;
        margin-bottom: 20px;
    }
    .information-contacto p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .information-descripcion-contacto {
        flex-direction: column;
        padding-bottom: 40px;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .right-contact-form button {
        width: 100%;
        float: none;
        margin-top: 20px;
        align-self: center;
    }

    .map-placeholder {
        height: 200px;
        aspect-ratio: unset;
    }
}

@media (max-width: 480px) {
    .information-contacto h1 {
        font-size: 2.5em;
    }
    .information-contacto p {
        font-size: 0.9em;
    }
    .right-contact-form {
        padding: 20px;
    }
    .right-form-section h2 {
        font-size: 1.5em;
    }
    .right-form-section p {
        font-size: 0.9em;
    }

    .map-placeholder{
        margin-top: 92px;
        margin-bottom: 93px;
     }

     .contenedor_banner{
        min-height: 286px;
     }
}