/* Investors and partners on the investment map (assets/js/investors-panel.js). */

/* Entry card at the bottom of the right column, under the summary. */
.investors-entry{
  display:flex;align-items:center;gap:12px;width:100%;flex:none;padding:13px 18px;
  border:0;border-top:1px solid rgba(0,63,87,.1);background:#fff;color:var(--navy,#003f57);
  font:inherit;text-align:left;cursor:pointer;transition:background .18s;
}
.investors-entry:hover,.investors-entry:focus-visible{background:#fffbe9;outline:none}
.investors-entry[aria-expanded="true"]{background:#fff6d6}
.investors-entry__icon{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fdda72;color:#002b3c}
.investors-entry__icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.investors-entry__text{flex:1;min-width:0}
.investors-entry__text b{display:block;font-size:.82rem;font-weight:600}
.investors-entry__text small{display:block;margin-top:2px;color:rgba(0,63,87,.6);font-size:.66rem}
.investors-entry__arrow{flex:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(0,63,87,.25);border-radius:50%;font-size:.8rem}
.investors-entry:hover .investors-entry__arrow{background:#fdda72;border-color:#fdda72}

/* Panel over the right part of the map. */
.investors-panel{
  position:absolute;z-index:12;top:9px;right:18px;bottom:9px;width:min(440px,calc(100% - 36px));
  display:flex;flex-direction:column;background:#f6f3ec;color:#003f57;
  box-shadow:0 18px 50px rgba(0,30,43,.28);font-family:"Manrope",system-ui,sans-serif;
  animation:investorsIn .28s cubic-bezier(.22,1,.36,1);
}
.investors-panel[hidden]{display:none}
@keyframes investorsIn{from{opacity:0;transform:translateX(18px)}}
body.investors-open .map-info-stack{visibility:hidden}
.investors-handle{display:none}
.investors-head{position:relative;padding:18px 20px 12px;background:#002b3c;color:#fff}
.investors-kicker{display:flex;align-items:center;gap:10px;margin:0 0 6px;color:#fdda72;font-size:.6rem;letter-spacing:.14em;text-transform:uppercase}
.investors-kicker::before{content:"";width:16px;height:1px;background:currentColor}
.investors-head h2{margin:0;font-size:1.25rem;font-weight:400;line-height:1.2}
.investors-page-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:#fdda72;font-size:.68rem;text-decoration:none;border-bottom:1px solid rgba(253,218,114,.4);padding-bottom:1px}
.investors-page-link:hover{border-bottom-color:#fdda72}
.investors-close{
  position:absolute;top:16px;right:16px;width:32px;height:32px;border:1px solid rgba(255,255,255,.35);border-radius:50%;
  background:transparent;color:#fff;font-size:18px;line-height:1;cursor:pointer;
}
.investors-close:hover{border-color:#fdda72;color:#fdda72}
.investors-controls{display:grid;gap:10px;padding:14px 20px 10px;border-bottom:1px solid rgba(0,63,87,.1)}
.investors-tabs{display:grid;grid-template-columns:.8fr 1.2fr 1.1fr;gap:6px}
.investors-tab{
  display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 8px;
  border:1px solid rgba(0,63,87,.18);background:#fff;color:#003f57;font:inherit;font-size:.72rem;cursor:pointer;white-space:nowrap;
}
.investors-tab b{font-weight:600;color:#007d78}
.investors-tab[aria-selected="true"]{background:#002b3c;border-color:#002b3c;color:#fff}
.investors-tab[aria-selected="true"] b{color:#fdda72}
.investors-search{
  width:100%;height:38px;padding:0 12px 0 34px;border:1px solid rgba(0,63,87,.18);border-radius:0;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237e9ba7' stroke-width='2'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath d='m9.5 9.5 3 3'/%3E%3C/svg%3E") no-repeat 12px 50%;
  color:#003f57;font:inherit;font-size:.76rem;
}
.investors-search:focus{outline:none;border-color:#003f57;box-shadow:inset 0 0 0 1px #003f57}
.investors-regions{display:flex;flex-wrap:wrap;gap:6px}
.investors-chip{
  flex:none;display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid rgba(0,63,87,.16);
  border-radius:999px;background:#fff;color:#003f57;font:inherit;font-size:.66rem;cursor:pointer;white-space:nowrap;
}
.investors-chip b{color:rgba(0,63,87,.5);font-weight:600}
.investors-chip[aria-pressed="true"]{background:#fdda72;border-color:#fdda72;color:#001e2b}
.investors-chip[aria-pressed="true"] b{color:#001e2b}
.investors-found{margin:0;color:rgba(0,63,87,.55);font-size:.62rem}
.investors-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:6px 20px 18px}
.investors-section{margin-top:14px}
.investors-section__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:6px;border-bottom:1px solid rgba(0,63,87,.14)}
.investors-section__head h3{margin:0;color:#007d78;font-size:.62rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.investors-section__head span{color:rgba(0,63,87,.5);font-size:.64rem}
.investors-section__note{margin:6px 0 0;color:rgba(0,63,87,.55);font-size:.64rem}
.investors-list{margin:0;padding:0;list-style:none}
.investors-item{padding:11px 0;border-bottom:1px solid rgba(0,63,87,.08)}
.investors-item.is-international{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}
.investors-flag{
  display:grid;place-items:center;width:38px;height:26px;margin-top:2px;border:1px solid rgba(0,63,87,.18);
  background:#fff;color:#003f57;font-size:.62rem;font-weight:700;letter-spacing:.06em;
}
.investors-item__head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}
.investors-item__name{font-size:.8rem;font-weight:600;line-height:1.3}
.investors-item__form{padding:1px 6px;border:1px solid rgba(0,63,87,.16);color:rgba(0,63,87,.6);font-size:.58rem}
.investors-item__meta{margin:3px 0 0;color:rgba(0,63,87,.68);font-size:.68rem;line-height:1.4}
.investors-item__country{margin:2px 0 0;color:rgba(0,63,87,.45);font-size:.62rem}
.investors-item__plots{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin-top:7px;font-size:.66rem;color:#007d78}
.investors-item__map{
  min-height:28px;padding:0 10px;border:1px solid #007d78;background:transparent;color:#007d78;font:inherit;font-size:.64rem;cursor:pointer;
}
.investors-item__map:hover,.investors-item__map:focus-visible{background:#007d78;color:#fff;outline:none}
.investors-empty{margin:24px 0;color:rgba(0,63,87,.6);font-size:.74rem;text-align:center}

@media (max-width:820px){
  .investors-entry{padding:10px 12px}
  .investors-entry__icon{width:30px;height:30px}
  .map-info-stack.has-selection .investors-entry{display:none}
  .investors-panel{
    position:fixed;z-index:200;top:auto;left:0;right:0;bottom:0;width:100%;height:88dvh;
    border-radius:14px 14px 0 0;animation:investorsUp .28s cubic-bezier(.22,1,.36,1);
  }
  @keyframes investorsUp{from{opacity:0;transform:translateY(30px)}}
  .investors-handle{display:block;position:absolute;z-index:1;top:7px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:4px;background:rgba(255,255,255,.35)}
  .investors-head{border-radius:14px 14px 0 0;padding-top:20px}
  .investors-controls,.investors-body{padding-left:14px;padding-right:14px}
  .investors-search{font-size:16px}
  body.investors-open::after{content:"";position:fixed;inset:0;z-index:150;background:rgba(0,18,28,.5)}
}
@media (prefers-reduced-motion:reduce){.investors-panel{animation:none}}

/* Inline on a page (partners): same catalog, page flow, no drawer. */
.investors-inline{color:#003f57}
.investors-inline .investors-controls{padding:0 0 14px;border-bottom:1px solid rgba(0,63,87,.14)}
.investors-inline .investors-tabs{max-width:560px}
.investors-inline .investors-search{max-width:560px}
.investors-inline .investors-body{overflow:visible;padding:0}
.investors-inline .investors-section{margin-top:28px}
.investors-inline .investors-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));column-gap:28px}
.investors-inline .investors-item__name{font-size:.86rem}
.investors-inline a.investors-item__map{display:inline-flex;align-items:center;text-decoration:none}
.investors-page-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 48px;align-items:end;margin-bottom:28px}
.investors-page-head .eyebrow{grid-column:1 / -1;margin:0}
.investors-page-head h2{margin:0;font-size:clamp(2rem,4vw,3.2rem);font-weight:300;line-height:1.05;letter-spacing:-.02em}
.investors-page-lead{margin:0;color:rgba(0,63,87,.68);font-size:.86rem;line-height:1.6}
.partners-investors{padding:clamp(48px,6vw,80px) 0 clamp(64px,7vw,96px);border-top:1px solid rgba(0,63,87,.12)}
.investors-home-link{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:11px 20px;border:1px solid currentColor;border-radius:999px;font-size:.78rem;text-decoration:none}
.investors-home-link:hover{background:#fdda72;border-color:#fdda72;color:#001e2b}
@media (max-width:820px){
  .investors-page-head{grid-template-columns:1fr}
  .investors-inline .investors-list{grid-template-columns:1fr}
}
