/* Buscador de Service
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.buscador-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 40, 0.75);
  z-index: 2000;
  overflow-y: auto;
  padding: 2rem 1rem;
}
.buscador-modal.open { display: block; }

.buscador-box {
  background: #eef4f9;
  max-width: 760px;
  margin: 2rem auto;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  font-family: 'VWText', sans-serif;
  color: #002a57;
}
.buscador-box h2 {
  font-family: 'VWHead', sans-serif;
  font-size: 2.4rem;
  margin: 0 0 0.4rem;
  color: #002a57;
}
.buscador-box .brand {
  font-family: 'VWHead', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1172b8;
  font-size: 1.2rem;
}
.buscador-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2.4rem;
  cursor: pointer;
  color: #002a57;
  line-height: 1;
}
.buscador-fields {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 550px) {
  .buscador-fields { grid-template-columns: 1fr; }
}
.buscador-fields label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 1.4rem;
}
.buscador-fields select {
  padding: 0.8rem;
  border: 1px solid #8298ad;
  border-radius: 8px;
  font: inherit;
  color: #002a57;
  background: #fff;
}
.buscador-result {
  background: #e0f0ff;
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.buscador-amount {
  font-family: 'VWHead', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #003b70;
  margin: 0.4rem 0 0;
}
.buscador-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.buscador-actions button,
.buscador-actions a {
  border: 1px solid #00548d;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  min-width: 160px;
  text-align: center;
  box-sizing: border-box;
}
.buscador-actions button {
  background: #003b70;
  color: #fff;
}
.buscador-actions a {
  background: #fff;
  color: #003b70;
}
.buscador-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 1.4rem;
}
.buscador-table th,
.buscador-table td {
  text-align: left;
  padding: 0.6rem;
  border-bottom: 1px solid #d5e1ed;
}
.buscador-table td:last-child,
.buscador-table th:last-child { text-align: right; }
.buscador-table .selected { background: #e0f0ff; font-weight: 700; }
.buscador-status { margin-top: 0.6rem; font-size: 1.3rem; }
#buscador-manual {
  width: 100%;
  min-height: 60px;
  margin-top: 0.5rem;
  font: inherit;
  display: none;
}
#buscador-anchor { scroll-margin-top: 120px; }
