.contact {
    background: transparent;
    position: relative;
    min-height: 100vh; 
}

@media (min-width: 1919px) {
    .contact {
        min-height: 78.5vh; 
    }
}


.contact-container {
    padding: 0rem;
    padding-left: 1rem;
    padding-right: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.contact-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    z-index:0;
}

.form-container {
    border: 0.5px solid #9e9e9e79;
    background: #000000;
    position: relative;
    width: 90%;
    margin-top: 5rem;
    padding: 2rem 2rem;
    text-align: center;
}

@media (min-width:768px) and (max-width:1918px) {
    .form-container {
        width: 50%;
    }
}

@media (min-width:1919px) {
    .form-container {
        margin-top: 9rem;
        width: 40%;
    }
}

.form-container::before,
.form-container::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: #c9a84c;
    border-style: solid;
}

.form-container::before {
    top: 0; left: 0;
    border-width: 1px 0 0 1px;
}

.form-container::after {
    bottom: 0; right: 0;
    border-width: 0 1px 1px 0;
}

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.6rem;
}

.contact-eyebrow::before,
.contact-eyebrow::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: linear-gradient(to right, transparent, #b8922a44, transparent);
}

.contact-eyebrow span {
    font-size: 9px;
    letter-spacing: 0.28em;
    color: #c9a84c;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

.contact-title {
    font-size: 42px;
    font-weight: 300;
    color: #ede2c8;
    margin: 0 0 0.4rem;
    line-height: 1.05;
}

.contact-title em {
    font-style: italic;
    color: #c9a84c;
}

.contact-subtitle {
    font-size: 11px;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin: 0 0 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.contact-field {
    margin-bottom: 1.5rem;
}

.contact-label {
    display: block;
    font-size: 9px;
    letter-spacing: 0.22em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border: 0.5px solid #53420a;
    color: #ffffff;

    font-size: 13px;
    font-weight: 300;
    padding: 10px 0;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.25s;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #ffffff;
}

.contact-input:focus,
.contact-textarea:focus {
    border-bottom-color: #c9a84c;
}

.contact-textarea {
    resize: none;
    height: 90px;
}

.contact-footer::before {
    content: '';
    display: block;
    height: 0.5px;
    background: linear-gradient(to right, transparent, #c9a84c22, transparent);
    margin-bottom: 2.2rem;
}

.contact-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.2rem;
}

.contact-button {
    background: transparent;
    border: 0.5px solid #c9a84c;
    color: #c9a84c;

    font-size: 9px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding: 13px 32px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.22s, color 0.22s;
}

.contact-button:hover {
    background: #c9a84c;
    color: #0a0a0a;
}

.error-border { border: 2px solid red !important; }


.modal_exito_contenedor,
.modal_error_contenedor{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.7);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

.modal_exito_contenido,
.modal_error_contenido{
    background:#111;
    border:1px solid #c9a84c;
    color:white;
    padding:25px;
    max-width:400px;
    width:90%;
    position:relative;
    text-align:center;
}

.modal_exito_cerrar,
.modal_error_cerrar{
    position:absolute;
    top:8px;
    right:12px;
    font-size:24px;
    color:#c9a84c;
    cursor:pointer;
}

.error-border{
    border:2px solid red !important;
}