/* The contact form at the end of each property page. */
.vc { padding: 24px 40px 96px; scroll-margin-top: 80px; }
.vc__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1040px; margin: 0 auto; padding-top: 56px; border-top: 1px solid var(--border); }
.vc__eyebrow { margin: 0 0 14px; color: var(--grey-light, #716d65); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.vc__copy h2 { margin: 0 0 16px; color: var(--black); font-family: var(--display); font-size: clamp(32px, 4vw, 46px); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; }
.vc__copy > p { margin: 0; color: #4f4c47; font-size: 16px; line-height: 1.7; }
.vc__home { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.vc__home img { flex: none; width: 88px; height: 66px; object-fit: cover; }
.vc__home strong { display: block; color: var(--black); font-size: 15px; font-weight: 500; }
.vc__home span { color: #716d65; font-size: 13px; }

.vc__form { padding: clamp(22px, 3vw, 36px); background: #eee9df; border: 1px solid var(--border); }
.vc__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.vc__errors { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #9c352c; background: #fff5f3; color: #7d2a23; font-size: 13px; line-height: 1.5; }
.vc__errors p { margin: 0; }
.vc__want { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 20px; padding: 0; border: 1px solid var(--black); }
.vc__want legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vc__want label { position: relative; cursor: pointer; }
.vc__want input { position: absolute; opacity: 0; }
.vc__want span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; color: var(--black); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.vc__want label + label span { border-left: 1px solid var(--black); }
.vc__want input:checked + span { background: var(--black); color: var(--white); }
.vc__want input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.vc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.vc__field { min-width: 0; }
.vc__field--wide { grid-column: 1 / -1; }
/* Day and time only matter for a visit. */
.vc__field--visit { display: none; }
.vc__form:has(input[value="visita"]:checked) .vc__field--visit { display: block; }
.vc__field label { display: block; margin: 0 0 7px; color: #625f59; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.vc__field label small { font-size: inherit; letter-spacing: inherit; text-transform: none; color: #a7a299; }
.vc__field input,
.vc__field select,
.vc__field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #cfc8bb; border-radius: 0; background: #fbfaf7; color: var(--black); font-family: var(--body); font-size: 16px; font-weight: 300; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .18s, background .18s; }
.vc__field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.vc__field select { padding-right: 38px; 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' fill='none' stroke='%23232323' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.vc__field input:focus,
.vc__field select:focus,
.vc__field textarea:focus { border-color: var(--black); background-color: #fff; }
.vc__privacy { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 18px 0 18px; color: #625f59; font-size: 12px; line-height: 1.55; }
.vc__privacy input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--black); }
.vc__privacy a { color: var(--black); }
.vc__submit { width: 100%; min-height: 52px; border: 1px solid var(--black); background: var(--black); color: var(--white); font-family: var(--body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .22s, color .22s; }
.vc__submit:hover { background: transparent; color: var(--black); }
.vc__note { margin: 12px 0 0; color: #716d65; font-size: 12px; text-align: center; }

@media (max-width: 820px) {
    .vc { padding: 8px 20px 72px; }
    .vc__inner { grid-template-columns: 1fr; padding-top: 40px; }
}
@media (max-width: 560px) {
    .vc { padding: 0 16px 64px; }
    .vc__form { margin: 0 -16px; border-left: 0; border-right: 0; }
    .vc__fields { grid-template-columns: 1fr; }
}

/* On a phone the fixed «Solicitar visita» bar steps aside while the form is on screen. */
.viv-mobile-bar { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.viv-mobile-bar.is-tucked { transform: translateY(110%); }
