/* Buscador de casas (widget homes.search). Usa los tokens de marca de la agencia. */
.hs-form {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr .9fr auto;
    align-items: end;
    gap: 10px;
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .12);
    border: 1px solid rgba(16, 24, 40, .06);
    max-width: 1100px;
    margin: 0 auto;
}
.hs-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; }
.hs-label {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5d6878;
    margin: 0 0 0 4px;
}
.hs-input {
    width: 100%;
    height: 52px;
    border: 1px solid #e3e7ee;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-ink, #16213e);
    background-color: #f7f8fa;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s ease, background-color .15s ease;
}
select.hs-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6878' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}
.hs-input.js-daterange { cursor: pointer; }
.hs-input:focus { outline: none; border-color: var(--brand-accent, #c0336d); background-color: #fff; }
.hs-input.is-invalid { border-color: #d92d20; background-color: #fff5f4; }
.hs-error { position: absolute; left: 4px; top: 100%; margin-top: 4px; font-size: .8rem; font-weight: 600; color: #d92d20; }
.hs-submit {
    height: 52px;
    padding: 0 30px;
    border: 0;
    border-radius: 14px;
    background: var(--brand-btn-bg, var(--brand-accent, #c0336d));
    color: var(--brand-btn-text, #fff);
    font-weight: 800;
    font-size: 1.02rem;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
    transition: transform .15s ease, filter .15s ease;
}
.hs-submit:hover { transform: translateY(-1px); filter: brightness(1.05); }

@media (max-width: 991.98px) {
    .hs-form { grid-template-columns: 1fr 1fr; padding: 16px; gap: 14px 10px; }
    .hs-field--dst, .hs-field--dates { grid-column: 1 / -1; }
    .hs-submit { grid-column: 1 / -1; }
    .hs-field--rooms { grid-column: 1 / -1; }
    .hs-error { position: static; }
}
