/* Buscador del inicio de /scholarship-universe (29-oct-2026). Va sobre el fondo azul del hero. */
.sb { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.sb-form { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; background: #fff; border-radius: 100px;
  box-shadow: 0 22px 46px -20px rgba(0, 10, 60, .7), 0 0 0 1px rgba(255, 255, 255, .5); transition: box-shadow .25s; }
.sb-form:focus-within { box-shadow: 0 22px 46px -20px rgba(0, 10, 60, .7), 0 0 0 4px rgba(255, 255, 255, .35); }
.sb-form > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #5C687F; stroke-width: 2; stroke-linecap: round; }
.sb-campo { flex: 1; min-width: 0; height: 48px; border: 0; background: none; outline: none; color: #0A1130; font: 600 16px "Inter", sans-serif; }
.sb-campo::placeholder { color: #8A97B5; font-weight: 500; }
.sb-campo::-webkit-search-cancel-button { display: none; }
.sb-ir { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 100px; background: #0A1A4A; color: #fff; cursor: pointer;
  font: 800 15px var(--font-heading, "Plus Jakarta Sans", sans-serif); transition: background .2s, transform .2s; }
.sb-ir:hover { background: #06122F; transform: translateY(-1px); }
.sb-ir:focus-visible { outline: 3px solid #9FC2FF; outline-offset: 2px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sb-chips span { font-size: 13px; color: rgba(255, 255, 255, .78); align-self: center; margin-right: 2px; }
.sb-chips button { border: 0; border-radius: 100px; padding: 7px 13px; cursor: pointer; background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; font: 600 13px "Inter", sans-serif; transition: background .2s; }
.sb-chips button:hover { background: rgba(255, 255, 255, .28); }
.sb-chips button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sb-directo { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .85); }
.sb-directo a { color: #fff; font-weight: 700; }

/* el resultado: una tarjeta blanca que aparece bajo el buscador */
.sb-res { background: #fff; color: #0A1130; border-radius: 22px; padding: 16px 18px 18px; box-shadow: 0 24px 50px -24px rgba(0, 10, 60, .75);
  animation: sb-llega .45s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes sb-llega { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.sb-entendi { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 12.5px; color: #5C687F; }
.sb-entendi i { font-style: normal; font-weight: 700; color: #0059FF; background: #EEF4FF; border-radius: 100px; padding: 4px 10px; }
.sb-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb-cifras div { background: #F6F8FF; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.sb-cifras b { font: 800 clamp(20px, 2.6vw, 26px)/1.1 var(--font-heading, "Plus Jakarta Sans", sans-serif); color: #0059FF; letter-spacing: -.02em; }
.sb-cifras span { font-size: 12px; line-height: 1.35; color: #5C687F; }
.sb-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.sb-acciones .su-cta { padding: 13px 22px; font-size: 15px; }
.sb-afinar { color: #0059FF; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.sb-afinar:hover { text-decoration: underline; }
.sb-nota { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: #5C687F; }
.sb-aviso { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3D4B6E; }
.sb-aviso b { color: #0A1130; }
@media (max-width: 560px) {
  .sb-form { padding-left: 14px; }
  .sb-ir { padding: 0 16px; }
  .sb-cifras { grid-template-columns: 1fr; }
  .sb-cifras div { flex-direction: row; align-items: baseline; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sb-res { animation: none; } }
.sb-cifras + .sb-acciones + .sb-aviso, .sb-acciones + .sb-aviso { margin-top: 12px; font-size: 13.5px; }
