/* HEADER */
.ssb-topbar{
  position:relative;
  top:0;
  left:0;
  right:0;
  min-height:var(--header-h);
  z-index:4000;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:linear-gradient(90deg, #1a5dbd 0%, #2f7fe3 52%, #5aa7ff 100%);
  box-shadow:0 12px 28px rgba(18,50,99,.20);
  overflow:visible;
}

.ssb-topbar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)),
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.08), transparent 20%),
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.06), transparent 18%);
}

.topbar-inner{
  position:relative;
  z-index:1;
  width:min(var(--max), calc(100% - 26px));
  min-height:var(--header-h);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(240px, 1.2fr) minmax(300px, 1.5fr) auto;
  grid-template-areas:"brand search actions";
  align-items:center;
  gap:16px;
}

.brand-wrap{
  grid-area:brand;
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-logo{
  width:58px;
  height:58px;
  flex:0 0 58px;
  border-radius:18px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 0 18px rgba(255,255,255,.08);
}

.brand-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-line-1{
  font-size:23px;
  line-height:1.02;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing:.1px;
}

.brand-line-2{
  font-size:14px;
  line-height:1.1;
  font-weight:800;
  color:#eef8ff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing:.2px;
}

.brand-site{
  font-size:12px;
  line-height:1.1;
  font-weight:700;
  color:rgba(255,255,255,.94);
}

.brand-site a{
  color:inherit;
  text-decoration:none;
}

.header-search-wrap{
  grid-area:search;
  position:relative;
  min-width:0;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  z-index:20;
}

.header-search{
  position:relative;
  width:min(100%, 560px);
  height:54px;
  margin:0 auto;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10), 0 10px 22px rgba(0,0,0,.12);
  display:flex;
  align-items:center;
  padding:0 14px 0 18px;
  gap:12px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:background .22s ease, border-color .22s ease, box-shadow .22s ease;
  z-index:21;
}

body.light-mode .header-search{
  background:rgba(255,255,255,.86);
  border-color:rgba(20,55,100,.10);
  box-shadow:0 10px 22px rgba(31,74,140,.10);
}

.header-search:focus-within{
  border-color:rgba(165,230,255,.40);
  box-shadow:0 0 0 3px rgba(102,187,255,.16), 0 16px 28px rgba(0,0,0,.16);
  background:rgba(255,255,255,.14);
}

body.light-mode .header-search:focus-within{
  border-color:rgba(79,124,255,.26);
  box-shadow:0 0 0 3px rgba(79,124,255,.10), 0 14px 28px rgba(31,74,140,.12);
  background:#fff;
}

.header-search-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  color:#fff;
  opacity:.9;
}

body.light-mode .header-search-icon{
  color:#27507f;
  opacity:.92;
}

.header-search-input{
  flex:1;
  min-width:0;
  height:100%;
  border:none;
  outline:none;
  background:transparent;
  color:#fff;
  font-size:15px;
  font-weight:600;
  font-family:'Prompt',sans-serif;
}

body.light-mode .header-search-input{ color:#153865; }

.header-search-input::placeholder{
  color:rgba(255,255,255,.78);
  font-weight:500;
}

body.light-mode .header-search-input::placeholder{ color:#6b84a3; }

.header-search-btn{
  height:38px;
  padding:0 16px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
  white-space:nowrap;
  font-family:'Prompt',sans-serif;
}

body.light-mode .header-search-btn{
  background:linear-gradient(135deg,#2e78df,#5aa7ff);
  color:#fff;
  box-shadow:0 8px 18px rgba(47,127,227,.18);
}

.header-search-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.22);
}

body.light-mode .header-search-btn:hover{
  background:linear-gradient(135deg,#1e69d0,#4d9cf8);
}

.agent-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  left:50%;
  transform:translateX(-50%) translateY(-6px);
  width:min(100%, 560px);
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  transition:.18s ease;
  z-index:4500;
}

.agent-dropdown.open{
  opacity:1;
  pointer-events:auto;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

.agent-dropdown-card{
  border-radius:24px;
  border:1px solid rgba(173,233,255,.18);
  background:linear-gradient(180deg, rgba(9,30,70,.98), rgba(5,18,48,.98));
  box-shadow:0 22px 48px rgba(0,0,0,.28);
  overflow:hidden;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

body.light-mode .agent-dropdown-card{
  background:linear-gradient(180deg, #ffffff, #f7faff);
  border-color:rgba(20,55,100,.10);
  box-shadow:0 18px 36px rgba(31,74,140,.14);
}

.agent-dropdown-head{
  padding:15px 18px 11px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#eefaff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
}

body.light-mode .agent-dropdown-head{
  color:#1c4374;
  border-bottom-color:rgba(20,55,100,.08);
}

.agent-results{
  max-height:340px;
  overflow:auto;
  display:grid;
  gap:0;
}

.agent-item{
  width:100%;
  border:none;
  background:transparent;
  text-align:left;
  padding:15px 18px;
  cursor:pointer;
  color:#eaf7ff;
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:.16s ease;
  font-family:'Prompt',sans-serif;
}

body.light-mode .agent-item{
  color:#1b426f;
  border-bottom-color:rgba(20,55,100,.06);
}

.agent-item:last-child{ border-bottom:none; }

.agent-item:hover{ background:rgba(255,255,255,.05); }
body.light-mode .agent-item:hover{ background:#f4f8ff; }

.agent-name{
  font-size:15px;
  font-weight:800;
  line-height:1.35;
  margin-bottom:3px;
}

.agent-meta{
  font-size:12px;
  line-height:1.55;
  color:rgba(226,246,255,.76);
  font-weight:600;
}

body.light-mode .agent-meta{ color:#6b84a3; }

.agent-empty{
  padding:18px 16px;
  color:rgba(226,246,255,.78);
  font-size:14px;
  font-weight:700;
}

body.light-mode .agent-empty{ color:#6b84a3; }

.topbar-actions{
  grid-area:actions;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  min-width:0;
}

.theme-switch-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.mode-label{
  font-size:13px;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  user-select:none;
}

.theme-switch{
  width:62px;
  height:32px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.16);
  cursor:pointer;
  position:relative;
  transition:.22s ease;
  box-shadow:0 6px 14px rgba(0,0,0,.16);
  padding:0;
}

.switch-knob{
  position:absolute;
  top:3px;
  left:3px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.20);
  transition:left .24s ease;
}

body.light-mode .switch-knob{ left:33px; }

.lang-bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.lang-btn{
  width:40px;
  height:40px;
  border:none;
  border-radius:50%;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition:.18s ease;
  overflow:hidden;
  position:relative;
}

.lang-btn img{
  width:24px;
  height:24px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(255,255,255,.14);
}

.lang-btn:hover{
  transform:translateY(-1px) scale(1.04);
  background:rgba(255,255,255,.12);
}

.lang-btn.active{
  background:rgba(255,255,255,.16);
  box-shadow:0 0 0 2px rgba(255,255,255,.08), 0 0 18px rgba(114,215,255,.28);
}

#google_translate_element{
  position:fixed;
  right:0;
  bottom:0;
  width:1px;
  height:1px;
  opacity:.001;
  overflow:hidden;
  pointer-events:none;
  z-index:-1;
}

.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate{ display:none !important; }

.goog-logo-link,
.goog-te-gadget span{ display:none !important; }

.goog-te-gadget{ font-size:0 !important; }

/* MAIN */
.main-content{
  flex:1;
  width:min(var(--max), calc(100% - 26px));
  margin:4px auto 0;
  padding:6px 0 20px;
}

.hero-stage{
  min-height:auto !important;
  display:flex;
  align-items:flex-start !important;
  justify-content:center;
  padding:0 !important;
}

.hero-center{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

/* FOOTER */
.ssb-footer{
  position:relative;
  z-index:20;
  margin-top:10px;
  border-top:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg, #1a5dbd 0%, #2f7fe3 52%, #5aa7ff 100%);
  box-shadow:0 -10px 24px rgba(0,0,0,.16);
}

.ssb-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0)),
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.06), transparent 20%);
}

.footer-inner{
  position:relative;
  z-index:1;
  width:min(var(--max), calc(100% - 26px));
  margin:0 auto;
  padding:14px 0 12px;
}

.footer-card{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:16px 18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10), 0 12px 24px rgba(0,0,0,.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.footer-main{
  display:grid;
  grid-template-columns:minmax(0, 1.7fr) minmax(220px, .9fr) minmax(260px, .95fr);
  gap:16px;
  align-items:center;
}

.footer-item{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-item.map-col{ justify-content:flex-end; }

.footer-icon-wrap{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.footer-item svg{
  width:26px;
  height:26px;
  display:block;
}

.footer-content{ min-width:0; }

.footer-label{
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.76);
  margin-bottom:2px;
  white-space:nowrap;
}

.footer-value{
  font-size:14px;
  font-weight:800;
  color:#fff;
  line-height:1.55;
  word-break:break-word;
}

.footer-company-line{
  margin-bottom:2px;
  font-size:15px;
  font-weight:800;
  color:#fff;
  line-height:1.35;
}

.footer-link{
  color:#fff;
  text-decoration:none;
}

.footer-map-button{
  min-height:58px;
  padding:12px 20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-decoration:none;
  color:#0b4ea2;
  font-size:15px;
  font-weight:800;
  background:linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
  box-shadow:0 12px 24px rgba(0,0,0,.14);
  border:1px solid rgba(255,255,255,.24);
  transition:.18s ease;
  white-space:nowrap;
}

.footer-map-button:hover{ transform:translateY(-2px); }

.footer-bottom{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.12);
  text-align:center;
  color:rgba(255,255,255,.92);
  font-size:12px;
  line-height:1.7;
}
