/* Shared header styles: social icons in the top bar + dropdown menus in the main nav. */

/* ---------- Top bar social icons (brand colors) ---------- */
.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 22px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}
.top-bar-social a,
.top-bar-links .top-bar-social a {
  width: 30px;
  height: 30px;
  margin-left: 0 !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.top-bar-social a:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.top-bar-social .ts-google { background: #fff; }
.top-bar-social .ts-google i {
  background: conic-gradient(from -45deg, #EA4335 110deg, #4285F4 90deg 180deg, #34A853 180deg 270deg, #FBBC05 270deg) 73% 55% / 150% 150% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.top-bar-social .ts-facebook { background: #1877F2; }
.top-bar-social .ts-instagram {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%);
}
.top-bar-social .ts-youtube { background: #FF0000; }
.top-bar-social .ts-tiktok {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.top-bar-social .ts-tiktok i { text-shadow: -1.5px -1.5px 0 #25F4EE, 1.5px 1.5px 0 #FE2C55; }

/* ---------- Dropdown menus ---------- */
.nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dd > .nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-dd-caret {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.nav-dd.open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd.open > .nav-dd-toggle { color: #C94F00; }

.nav-dd-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 270px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(15, 39, 68, 0.18);
  padding: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translate(calc(-50% + var(--dd-shift, 0px)), 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  text-align: left;
  white-space: normal;
}
.nav-dd.open .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(calc(-50% + var(--dd-shift, 0px)), 0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #0F2744 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav-dd-item:hover,
.nav-dd-item:focus-visible {
  background: #F1F5F9;
  outline: none;
}
.nav-dd-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF4EC;
  color: #C94F00;
  font-size: 14px;
}
.nav-dd-text small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #556377;
}
.nav-dd-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 11px 12px 4px;
  border-top: 1px solid #E2E8F0;
  color: #C94F00 !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.nav-dd-all:hover { text-decoration: underline; }

/* Service areas: two columns */
.nav-dd-panel.nav-dd-wide { min-width: 480px; }
.nav-dd-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}
.nav-dd-col-title {
  margin: 4px 12px 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #556377;
}
.nav-dd-col .nav-dd-item {
  padding: 6px 12px;
  font-size: 13.5px;
}
