/* Portal de empleos. Usa tokens y componentes de styles.css. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.portal { background: #F6F9FD; }
.p-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

/* cabecera */
.p-top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.p-top__row { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); max-width: 1320px; margin: 0 auto; padding: 10px clamp(16px, 3vw, 32px); }
.p-top .brand { flex: none; }
.p-top .brand img { width: 112px; }
.p-top__nav { display: flex; gap: 4px; }
.p-top__nav a { white-space: nowrap; padding: 8px 12px; border-radius: 8px; font-weight: 600; color: var(--navy); text-decoration: none; }
.p-top__nav a[aria-current="page"] { color: var(--blue-700); background: var(--sky); }
.p-top__nav a:hover { background: var(--sky); }
.p-top__muted { color: var(--ink-2) !important; }
.p-top__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.p-top__actions .btn { white-space: nowrap; }
.p-top__login { padding: 8px 14px; font-weight: 650; color: var(--navy); text-decoration: none; border-radius: 999px; }
.p-top__login:hover { background: var(--sky); color: var(--blue-700); }

/* búsqueda */
.p-hero { position: relative; z-index: 5; isolation: isolate; padding: clamp(36px, 6vw, 72px) 0 28px; background: #fff; border-bottom: 1px solid var(--line); }
.p-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(50% 80% at 90% 0%, rgba(0,104,232,.14), transparent 70%),
  radial-gradient(40% 60% at 0% 100%, rgba(120,190,255,.16), transparent 70%),
  linear-gradient(180deg, #fff, var(--sky)); }
.p-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 10px; }
.p-hero__lead { font-size: 1.1rem; max-width: 620px; margin-bottom: 26px; }
.search { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 8px; padding: 8px; max-width: 980px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lift); }
.search__field { position: relative; display: flex; align-items: center; }
.search__field svg { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.search__field input, .search__field select { width: 100%; min-height: 52px; padding: 12px 14px 12px 44px; font: inherit; font-size: 1.02rem; color: var(--navy); background: transparent; border: 0; border-radius: 12px; }
.search__field--loc { border-left: 1px solid var(--line); }
.search__field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23435570' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.search__field input:focus, .search__field select:focus { outline: none; background-color: #F5F9FF; box-shadow: inset 0 0 0 2px var(--blue); }
.search .btn { min-height: 52px; border-radius: 12px; padding: 0 26px; }

.states { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.state { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; font: inherit; font-size: .93rem; font-weight: 650; color: var(--navy);
  background: rgba(255,255,255,.8); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .18s var(--ease); }
.state b { font-weight: 700; color: var(--ink-3); font-size: .85rem; }
.state i { width: 8px; height: 8px; border-radius: 50%; }
.state--ppc i { background: var(--green); } .state--pg i { background: var(--amber); } .state--bt i { background: var(--blue); }
.state:hover { border-color: var(--blue); }
.state[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.state[aria-pressed="true"] b { color: #B9C8E4; }
.states__help { position: relative; margin-left: 4px; font-size: .9rem; }
.states__help summary { cursor: pointer; color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.states__help summary::-webkit-details-marker { display: none; }
.states__help dl { position: absolute; z-index: 30; top: calc(100% + 10px); left: 0; width: min(360px, 86vw); margin: 0; padding: 14px 16px; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); }
.states__help dt { font-weight: 700; color: var(--navy); }
.states__help dd { margin: 0; color: var(--ink-2); }

/* barra de filtros */
.p-results { padding: 20px 0 64px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.sort select { width: auto; max-width: 190px; }
.fpop { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; font: inherit; font-size: .93rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.pill:hover { border-color: var(--blue); }
.pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill .chev { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.pill[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pill.has-value { background: var(--sky); border-color: var(--blue); color: var(--blue-700); }
.pill b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .75rem; }
.pill--saved b { background: #EEF2F7; color: var(--ink-2); }
.pill--saved[aria-pressed="true"] { background: #FDECEF; border-color: #E0485C; color: #B0102A; }
.pill--saved[aria-pressed="true"] svg { fill: currentColor; }
.fpanel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 300px; max-height: 380px; overflow-y: auto; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lift); animation: stage-in .2s var(--ease) both; }
.fpanel label { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .93rem; color: var(--navy); }
.fpanel label:hover { background: var(--sky); }
.fpanel input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.fpanel span { flex: 1; line-height: 1.35; }
.fpanel em { font-style: normal; color: var(--ink-3); font-size: .85rem; }
.fpanel__foot { display: flex; justify-content: space-between; padding: 8px 6px 2px; margin-top: 6px; border-top: 1px solid var(--line); }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.sort select { min-height: 40px; padding: 6px 30px 6px 12px; font: inherit; font-size: .93rem; font-weight: 600; color: var(--navy); border: 1.5px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23435570' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 11px no-repeat; appearance: none; -webkit-appearance: none; cursor: pointer; }
.chips-active { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.chips-active:empty { display: none; }
.achip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; font: inherit; font-size: .85rem; font-weight: 600; color: var(--blue-700); background: var(--sky); border: 1px solid var(--sky-2); border-radius: 999px; cursor: pointer; }
.achip svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.achip:hover { background: var(--sky-2); }
.achip--clear { background: none; border-color: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* lista + detalle */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 18px; align-items: start; }
.list:focus { outline: none; }
.list__meta { margin: 0 0 10px; font-size: .92rem; color: var(--ink-2); }
.list__meta strong { color: var(--navy); }
.jobs { list-style: none; display: grid; gap: 10px; }
.jobcard { position: relative; display: grid; grid-template-columns: 52px 1fr auto; grid-template-areas: "logo title badge" "logo main main"; gap: 0 14px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease); }
.jobcard:hover { border-color: #B9CCE6; box-shadow: 0 10px 24px -18px rgba(7,27,72,.5); transform: translateY(-1px); }
.jobcard.is-selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,104,232,.14); }
.jobcard.is-selected::before { content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--blue); }
.jobcard__open { all: unset; position: absolute; inset: 0; border-radius: 16px; cursor: pointer; }
.jobcard__open:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.logo--mono { background: var(--sky); color: var(--blue-700); font-weight: 800; font-size: 1.05rem; border-color: var(--sky-2); }
.logo--conf { background: #F1F4F9; }
.logo--conf svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jobcard > .logo { grid-area: logo; }
.jobcard__title { grid-area: title; min-width: 0; }
.jobcard > .badge { grid-area: badge; margin-top: 1px; }
.jobcard__main { grid-area: main; min-width: 0; }
.jobcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.jobcard__foot .save { flex: none; margin: -6px -6px -6px 0; }
.list, .detail { min-width: 0; }
.jobcard h3 { margin: 0 0 2px; font-size: 1.02rem; line-height: 1.3; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jobcard__co { margin: 2px 0 6px; font-size: .9rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: .84rem; color: var(--ink-3); }
.meta li { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--PPC { background: #E5F6EC; color: var(--green-ink); }
.badge--PG { background: #FFF3D6; color: var(--amber-ink); }
.badge--BT { background: var(--sky); color: var(--blue-700); }
.save { position: relative; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); cursor: pointer; transition: background-color .15s, color .15s, transform .2s var(--ease); }
.save:hover { background: #FDECEF; color: #C0283E; }
.save svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.save[aria-pressed="true"] { color: #D7263D; }
.save[aria-pressed="true"] svg { fill: currentColor; }
.save.pop { animation: save-pop .35s var(--ease); }
@keyframes save-pop { 50% { transform: scale(1.25); } }
.list__more { display: flex; justify-content: center; margin-top: 16px; }
.list__source { margin: 18px 0 0; font-size: .8rem; color: var(--ink-3); text-align: center; }
.empty { padding: 40px 20px; text-align: center; background: #fff; border: 1px dashed #C9D6E6; border-radius: 16px; }
.empty h3 { margin-bottom: 6px; }
.skel { height: 112px; border-radius: 16px; background: linear-gradient(90deg, #EEF3F9 25%, #F7FAFD 37%, #EEF3F9 63%); background-size: 400% 100%; animation: skel 1.3s ease infinite; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* detalle */
.detail { position: sticky; top: 76px; max-height: calc(100vh - 92px); max-height: calc(100dvh - 92px); overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -32px rgba(7,27,72,.5); overscroll-behavior: contain; }
.detail:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.detail__empty { display: grid; justify-items: center; gap: 10px; padding: 80px 24px; color: var(--ink-3); text-align: center; }
.detail__empty svg { width: 40px; height: 40px; fill: none; stroke: #A9B8CE; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.job { animation: stage-in .3s var(--ease) both; }
.job__head { position: sticky; top: 0; z-index: 2; padding: 22px 24px 16px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.job__close { display: none; }
.job__top { display: flex; gap: 14px; align-items: flex-start; }
.job__top .logo { width: 60px; height: 60px; flex: none; }
.job h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; margin: 2px 0 4px; }
.job__co { margin: 0; color: var(--ink-2); font-weight: 600; }
.job__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-soft { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #F1F5FB; color: var(--ink-2); font-size: .78rem; font-weight: 650; }
.job__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.job__actions .btn { min-height: 44px; }
.job__actions .save, .job__share { width: 44px; height: 44px; border: 1.5px solid var(--line); }
.job__share { display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink-2); cursor: pointer; }
.job__share:hover { border-color: var(--blue); color: var(--blue-700); }
.job__share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.job__toast { margin: 8px 0 0; font-size: .85rem; color: var(--green-ink); }
.job__toast:empty { display: none; }
.job__body { padding: 8px 24px 28px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 16px 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts div { padding: 12px 14px; background: #fff; }
.facts dt { font-size: .76rem; font-weight: 650; color: var(--ink-3); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: .93rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.jsec { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.jsec:first-of-type { border-top: 0; margin-top: 4px; }
.jsec h3 { font-size: 1.05rem; margin-bottom: 10px; }
.jsec p, .jsec li { font-size: .97rem; color: var(--ink-2); }
.jsec ul, .jsec ol { padding-left: 1.2em; display: grid; gap: 6px; }
.jsec h4, .jsec h5 { font-size: .98rem; margin: 12px 0 6px; }
.comps { display: grid; gap: 8px; }
.comp { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #F7FAFE; border: 1px solid var(--line); }
.comp span { font-size: .93rem; color: var(--navy); }
.lvl { flex: none; display: inline-flex; gap: 3px; align-items: center; font-size: .72rem; font-weight: 700; color: var(--ink-3); }
.lvl i { width: 8px; height: 8px; border-radius: 2px; background: var(--sky-2); }
.lvl i.on { background: var(--blue); }
.reqs { list-style: none; padding: 0 !important; }
.reqs li { padding: 10px 12px; border-radius: 10px; background: #F7FAFE; border: 1px solid var(--line); }
.reqs strong { color: var(--navy); }
.about { white-space: pre-line; }
.job__foot { margin-top: 22px; padding: 16px; border-radius: 14px; background: var(--sky); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.job__foot p { margin: 0; font-weight: 650; color: var(--navy); }

/* cierre y pie */
.p-cta { background: linear-gradient(120deg, #0068E8, #0052BA); color: #fff; }
.p-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.p-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.p-cta p { margin: 0; color: #DCE9FF; max-width: 620px; }
.p-foot { background: #fff; border-top: 1px solid var(--line); font-size: .88rem; }
.p-foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.p-foot p { margin: 0; }
.p-foot nav { display: flex; gap: 16px; }
.p-foot a { color: var(--ink-2); }

/* responsive */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .detail { position: fixed; inset: 0; z-index: 60; top: 0; max-height: none; border-radius: 0; border: 0; transform: translateY(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .detail.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .detail__empty { display: none; }
  .job__close { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px -6px; padding: 6px 10px 6px 4px; font: inherit; font-weight: 650; color: var(--ink-2); background: none; border: 0; border-radius: 8px; cursor: pointer; }
  .job__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .job__close:hover { background: var(--sky); color: var(--blue-700); }
  body.detail-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .p-top__nav { display: none; }
  .p-top__login { padding: 8px 10px; }
  .p-top__row { gap: 12px; }
  .p-top .brand img { width: 96px; }
  .p-top__actions { gap: 2px; }
  .p-top__actions .btn { padding: 8px 14px; font-size: .88rem; }
  .search { grid-template-columns: 1fr; padding: 6px; }
  .search__field--loc { border-left: 0; border-top: 1px solid var(--line); }
  .states { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .states::-webkit-scrollbar { display: none; }
  .state { flex: none; }
  .states__help { flex: none; }
  .states__help dl { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filters, .toolbar__right { min-width: 0; max-width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .fpop { flex: none; position: static; }
  .fpanel { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; max-height: 70vh; }
  .toolbar__right { justify-content: space-between; }
  .jobcard { grid-template-columns: 44px 1fr; padding: 14px; }
  .logo { width: 44px; height: 44px; }
  .jobcard { grid-template-areas: "logo title" "logo badge" "main main"; }
  .jobcard > .badge { justify-self: start; margin: 4px 0 8px; }
  .facts { grid-template-columns: 1fr; }
  .job__head, .job__body { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .skel { animation: none; }
  .detail, .detail.is-open { transition: none; }
}

/* sumilla de la empresa en la tarjeta */
.jobcard__su { margin: 0 0 10px; font-size: .87rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* web y redes de la empresa, al pie de «Sobre…» */
.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.red { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--c, var(--navy)); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.red svg { width: 20px; height: 20px; fill: currentColor; }
.red svg.ln { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.red:hover { border-color: var(--c, var(--blue)); transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(7,27,72,.5); }
.red:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.red--website { --c: #0052BA; } .red--linkLinkedin { --c: #0A66C2; } .red--linkFacebook { --c: #1877F2; } .red--linkYoutube { --c: #E00000; } .red--linkInstagram { --c: #C13584; }
@media (prefers-reduced-motion: reduce) { .red { transition: none; } .red:hover { transform: none; } }

/* celular: el logo no se achica; fila 1 logo + idioma, fila 2 Ingresar y Crear mi perfil */
@media (max-width: 600px) {
  .p-top .brand { flex: none; }
  .p-top .brand img { width: 96px; }
  /* portal: fila 1 logo + idioma; fila 2 Ingresar y Crear mi perfil */
  .p-top__row { flex-wrap: wrap; row-gap: 10px; }
  .p-top__actions { display: contents; }
  .p-top__actions .lang { order: 2; margin-left: auto; }
  .p-top__login, .p-top__actions .btn { order: 3; flex: 1 1 calc(50% - 6px); justify-content: center; text-align: center; min-height: 42px; display: inline-flex; align-items: center; }
  .p-top__login { border: 1px solid var(--line); }
}
@media (max-width: 860px) { .p-top__nav a { padding: 8px 8px; } .p-top__nav { gap: 0; } }

/* ---------- país (FLOW para toda Latinoamérica) ---------- */
.search { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.05fr) auto; max-width: 1120px; }
.geo-note { max-width: 1120px; }
.search__field--pais { border-left: 1px solid var(--line); }
.geo-note { display: flex; align-items: center; gap: 12px; max-width: 980px; margin: 12px 0 0; padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--sky); border: 1px solid #CFE3FA; color: var(--navy); font-size: .95rem; }
.geo-note[hidden] { display: none; }
.geo-note span { flex: 1; }
.geo-note__x { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer; }
.geo-note__x:hover { background: #fff; color: var(--navy); }
.geo-note__x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 1080px) {
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .search__field--q { grid-column: 1 / -1; }
  .search__field--pais { border-left: 0; border-top: 1px solid var(--line); }
  .search__field--loc { border-top: 1px solid var(--line); }
  .search .btn { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr; }
  .search__field--loc { border-left: 0; }
}
