/* =============================================
   CONTACTO — BANNER
============================================= */
.gv-contacto-banner {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 100px);
    background-image: url('../images/fondos/interior_inmobiliaria_gaviria.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-start;
}

.gv-contacto-banner__overlay {
    display: none;
}

.gv-contacto-banner__content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 40px 100px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.gv-contacto-banner__title {
    font-family: var(--font-titulo);
    font-size: 32px;
    font-weight: 500;
    color: #524D4A;
    line-height: 1.2;
    text-align: left;
    margin: 0;
    transform: none;
}

.gv-contacto-banner__title--medium {
    font-weight: 500;
}

.gv-contacto-banner__title em {
    font-family: var(--font-titulo);
    font-size: 36px;
    font-weight: 300;
    font-style: italic;
}

/* =============================================
   FORMULARIO WEB — HEADER
============================================= */
.gv-form {
    background-color: var(--color-blanco);
    padding: 60px 0;
    overflow-x: hidden;
}

.gv-form__header {
    --gv-form-header-pad: 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gv-form-header-pad);
}

.gv-form__heading {
    font-family: var(--font-titulo);
    line-height: 0.95;
    white-space: nowrap;
    transform: translateY(-6px);
}

.gv-form__heading--regular {
    font-size: 28px;
    font-weight: 400;
}

.gv-form__heading--light {
    font-size: 28px;
    font-weight: 300;
    font-style: italic;
}

.gv-form__line {
    flex: 1;
    height: 2px;
    background-color: #1a1a1a;
    position: relative;
}

.gv-form__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: calc((100vw - min(100vw, 1280px)) / 2 + var(--gv-form-header-pad));
    height: 100%;
    background-color: #1a1a1a;
    pointer-events: none;
}

/* =============================================
   FORMULARIO WEB — CONTENIDO
============================================= */
.gv-form__inner {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin-top: 40px;
}

.gv-form__image {
    width: 40%;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gv-form__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.gv-form__content {
    flex: 1;
    padding: 0 60px;
}

.gv-form__notice {
    margin-bottom: 20px;
    padding: 12px 14px;
    font-family: var(--font-texto);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.35;
    color: #524D4A;
    background-color: #f2f2f2;
    border-left: 3px solid #475850;
}

.gv-form__notice--error {
    border-left-color: #C47F59;
}

.gv-form__field {
    margin-bottom: 24px;
}

.gv-form__field label {
    display: block;
    font-family: var(--font-texto);
    font-size: 24px;
    font-weight: 300;
    color: #524D4A;
    margin-bottom: 6px;
}

.gv-form__field input,
.gv-form__field select,
.gv-form__field textarea {
    width: 100%;
    font-family: var(--font-texto);
    font-size: 17px;
    font-weight: 300;
    color: #524D4A;
    background-color: #e8e8e8;
    border: none;
    padding: 12px 14px;
    outline: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.gv-form__field input::placeholder,
.gv-form__field textarea::placeholder {
    color: #524D4A;
}

.gv-form__field input:focus,
.gv-form__field select:focus,
.gv-form__field textarea:focus {
    background-color: #dcdcdc;
}

.gv-form__field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    box-shadow: none;
}

.gv-form__field select.gv-native-select {
    display: none;
}

.gv-form__field .gv-custom-select {
    position: relative;
}

.gv-form__field .gv-custom-select__trigger {
    width: 100%;
    font-family: var(--font-texto);
    font-size: 17px;
    font-weight: 300;
    color: #524D4A;
    background-color: #e8e8e8;
    border: none;
    padding: 12px 40px 12px 14px;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.gv-form__field .gv-custom-select__trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 12px 8px;
}

.gv-form__field .gv-custom-select.open .gv-custom-select__trigger {
    background-color: #dcdcdc;
    box-shadow: inset 0 0 0 2px #C47F59;
}

.gv-form__field .gv-custom-select__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #d8d8d8;
    max-height: 280px;
    overflow-y: auto;
    z-index: 30;
    display: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gv-form__field .gv-custom-select.open .gv-custom-select__menu {
    display: block;
}

.gv-form__field .gv-custom-select__option {
    font-family: var(--font-texto);
    font-size: 17px;
    font-weight: 300;
    color: #524D4A;
    padding: 12px 14px;
    cursor: pointer;
}

.gv-form__field .gv-custom-select__option:hover,
.gv-form__field .gv-custom-select__option.is-selected {
    background-color: #C47F59;
    color: var(--color-blanco);
}

.gv-form__field select:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px #C47F59;
}

.gv-form__field select:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px #C47F59;
}

.gv-form__field select option {
    background-color: #ffffff;
    color: #524D4A;
}

.gv-form__field select option:hover,
.gv-form__field select option:focus,
.gv-form__field select option:active,
.gv-form__field select option:checked {
    background-color: #C47F59 !important;
    background-image: linear-gradient(#C47F59, #C47F59);
    color: var(--color-blanco) !important;
    box-shadow: 0 0 10px 100px #C47F59 inset;
}

.gv-form__field textarea {
    resize: vertical;
    min-height: 120px;
}

.gv-form__consents {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 6px 0 24px;
}

.gv-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-texto);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.4;
    color: #524D4A;
    cursor: pointer;
}

.gv-form__consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #475850;
}

/* Honeypot — invisible para humanos, visible para bots */
.gv-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.gv-form__submit {
    display: inline-block;
    background-color: #C47F59;
    color: var(--color-blanco);
    font-family: var(--font-titulo);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.gv-form__submit:hover {
    background-color: var(--color-verde);
}

/* =============================================
   LAPTOP (1025px - 1599px)
============================================= */
@media (min-width: 1025px) and (max-width: 1599px) {
    .gv-contacto-banner__content {
        padding: 56px 40px 92px;
    }

    .gv-contacto-banner__title {
        font-size: 30px;
        transform: none;
    }

    .gv-form__heading--regular,
    .gv-form__heading--light {
        font-size: 24px;
    }

    .gv-form__content {
        padding: 0 48px;
    }

    .gv-form__field label {
        font-size: 21px;
    }

    .gv-form__field input,
    .gv-form__field select,
    .gv-form__field textarea,
    .gv-form__field .gv-custom-select__trigger,
    .gv-form__field .gv-custom-select__option {
        font-size: 16px;
    }

    .gv-form__submit {
        font-size: 12px;
    }
}

/* =============================================
   LAPTOP PEQUEÑO (1025px - 1366px)
============================================= */
@media (min-width: 1025px) and (max-width: 1366px) {
    .gv-contacto-banner__content {
        padding: 44px 40px 72px;
    }

    .gv-contacto-banner__title {
        font-size: 24px;
    }

    .gv-contacto-banner__title em {
        font-size: 27px;
    }

    .gv-form__heading--regular,
    .gv-form__heading--light {
        font-size: 20px;
    }

    .gv-form__content {
        padding: 0 36px;
    }

    .gv-form__field label {
        font-size: 18px; /* Cormorant – mín. 18px */
    }
}

/* =============================================
   RESPONSIVE — TABLET (1024px)
============================================= */
@media (max-width: 1024px) {
    .gv-contacto-banner {
        min-height: 440px;
        align-items: flex-start;
    }

    .gv-contacto-banner__content {
        padding: 60px 24px;
        display: block;
    }

    .gv-contacto-banner__title {
        font-size: 30px;
        transform: none;
    }

    .gv-form__header {
        --gv-form-header-pad: 24px;
    }

    .gv-form__content {
        padding: 0 40px;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (768px)
============================================= */
@media (max-width: 768px) {
    .gv-contacto-banner {
        min-height: 380px;
    }

    .gv-contacto-banner__content {
        padding: 48px 24px;
    }

    .gv-contacto-banner__title {
        font-size: 20px;
    }

    .gv-contacto-banner__title em {
        font-size: 20px;
    }

    .gv-form {
        padding: 48px 0;
    }

    .gv-form__header {
        --gv-form-header-pad: 24px;
        gap: 16px;
    }

    .gv-form__heading--regular,
    .gv-form__heading--light {
        font-size: 21px;
    }

    .gv-form__heading {
        transform: translateY(-3px);
    }

    .gv-form__inner {
        flex-direction: column;
        align-items: stretch;
        margin-top: 32px;
    }

    .gv-form__image {
        width: 100%;
        height: 300px;
    }

    .gv-form__content {
        padding: 36px 24px;
    }

    .gv-form__field label {
        font-size: 21px;
    }

    .gv-form__notice {
        font-size: 17px;
    }

    .gv-form__consent {
        font-size: 16px;
    }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (480px)
============================================= */
@media (max-width: 480px) {
    .gv-contacto-banner {
        min-height: 320px;
    }

    .gv-contacto-banner__content {
        padding: 36px 16px;
    }

    .gv-contacto-banner__title {
        font-size: 17px;
    }

    .gv-contacto-banner__title em {
        font-size: 17px;
    }

    .gv-form {
        padding: 36px 0;
    }

    .gv-form__header {
        --gv-form-header-pad: 16px;
    }

    .gv-form__heading--regular,
    .gv-form__heading--light {
        font-size: 18px;
    }

    .gv-form__heading {
        transform: translateY(-1px);
    }

    .gv-form__inner {
        margin-top: 24px;
    }

    .gv-form__image {
        height: 240px;
    }

    .gv-form__content {
        padding: 28px 16px;
    }

    .gv-form__field label {
        font-size: 19px;
    }

    .gv-form__notice {
        font-size: 16px;
        padding: 10px 12px;
    }

    .gv-form__field input,
    .gv-form__field select,
    .gv-form__field textarea {
        font-size: 16px;
        padding: 10px 12px;
    }

    .gv-form__field .gv-custom-select__trigger,
    .gv-form__field .gv-custom-select__option {
        font-size: 16px;
    }

    .gv-form__field .gv-custom-select__trigger {
        padding: 10px 40px 10px 12px;
    }

    .gv-form__field .gv-custom-select__option {
        padding: 10px 12px;
    }

    .gv-form__consents {
        gap: 8px;
    }

    .gv-form__consent {
        font-size: 15px;
    }
}

/* =============================================
   CUSTOM — Gutter 1280x631–1280x800
============================================= */
@media (min-width: 1200px) and (max-width: 1366px) and (max-height: 900px) {
    :root { --gv-side-gutter: 105px; }

    .gv-contacto-banner__content {
        padding-left: var(--gv-side-gutter);
        padding-right: var(--gv-side-gutter);
    }

    .gv-form__header {
        padding-left: var(--gv-side-gutter);
        padding-right: var(--gv-side-gutter);
    }
}