.td-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  font-family: Montserrat, Arial, sans-serif;
}
body { padding-top: 116px; }
.td-topbar {
  background: #0c1424;
  color: #d7deea;
  font-size: 13px;
}
.td-topbar-inner,
.td-header-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}
.td-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.td-topbar a { color: inherit; text-decoration: none; }
.td-topbar a:hover { color: #fff; }
.td-top-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.td-header {
  background: #fff;
  border-bottom: 1px solid #e7ebf2;
  position: relative;
}
.td-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.td-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.td-logo img { height: 46px; width: auto; display: block; }
.td-footer .td-logo { margin: 0 0 8px; }
.td-footer .td-logo img { height: 52px; }
.td-footer a.all-agents { color: #1aa88a; font-weight: 700; }
.td-footer a.all-agents:hover { color: #3ddec0; }
.td-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #2454e6;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}
.td-desk {
  display: flex;
  align-items: center;
  gap: 8px;
}
.td-desk > a:hover {
  color: #2454e6;
  box-shadow: inset 0 -2px 0 #2454e6;
}
.td-desk > a,
.td-drop > button {
  background: none;
  border: 0;
  color: #1c2434;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.td-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #1c2434;
  display: inline-block;
}
.td-drop { position: static; }
.td-drop.is-open > button { color: #2454e6; }
.td-drop.is-open > button .td-caret { border-top-color: #2454e6; transform: rotate(180deg); }
.td-drop[data-menu="agents"].is-open > button { color: #0f8a72; }
.td-drop[data-menu="agents"].is-open > button .td-caret { border-top-color: #0f8a72; }
.td-drop.is-open > button { box-shadow: inset 0 -2px 0 currentColor; }
.td-panel {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: min(1120px, calc(100vw - 32px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.14);
  padding: 28px 28px 24px;
  grid-template-columns: repeat(4, 1fr) 250px;
  gap: 22px;
}
.td-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.td-drop.is-open > .td-panel { display: grid; }
.td-panel-simple {
  width: 280px;
  left: auto;
  transform: none;
  grid-template-columns: 1fr;
  padding: 14px;
}
.td-col h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.td-col.tone-blue h3 { color: #2f5bff; }
.td-col.tone-green h3 { color: #0f8a72; }
.td-col a {
  display: block;
  color: #243044;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 0;
}
.td-col a:hover { color: #2454e6; }
.td-col.tone-green a:hover { color: #0f8a72; }
.td-promo {
  border-radius: 16px;
  padding: 22px 20px;
}
.td-promo.blue { background: #eef2ff; }
.td-promo.mint { background: #e7f6f1; }
.td-promo .kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}
.td-promo.blue .kicker { color: #2f5bff; }
.td-promo.mint .kicker { color: #0f8a72; }
.td-promo h4 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: #121826; }
.td-promo p { margin: 0 0 14px; color: #5c677a; font-size: 14px; }
.td-promo a { display: block; font-weight: 700; text-decoration: none; margin-top: 8px; font-size: 14px; }
.td-promo.blue a { color: #2454e6; }
.td-promo.mint a { color: #0f8a72; }
.td-demo {
  margin-left: 8px;
  background: #2454e6;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 16px;
  white-space: nowrap;
}
.td-demo:hover { background: #1d46c7; }
.td-burger, .td-phone-demo, .td-phone-close { display: none; }

.td-phone {
  display: none;
  position: fixed;
  inset: 0;
  background: #f4f6fa;
  z-index: 4000;
  overflow: auto;
}
.td-phone.is-open { display: block; }
.td-phone-bar {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  position: sticky;
  top: 0;
}
.td-phone-demo, .td-phone-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.td-phone-demo {
  margin-left: auto;
  background: #2454e6;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 14px;
}
.td-phone-bar .td-logo { flex: 1; min-width: 0; margin-right: 8px; }
.td-phone-bar .td-logo img { height: 34px; width: auto; max-width: 100%; }
.td-phone-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.td-acc { background: #fff; border-top: 1px solid #e6ebf2; }
.td-acc > button, .td-acc > a.td-acc-link {
  width: 100%;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e6ebf2;
  text-align: left;
  padding: 18px 16px;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #121826;
  text-decoration: none;
}
.td-acc .td-acc-body { display: none; padding: 8px 16px 16px; }
.td-acc.is-open .td-acc-body { display: block; }
.td-acc.is-open[data-menu="agents"] .td-acc-body {
  background: #e7f6f1;
  margin: 0 12px 12px;
  border-radius: 14px;
}
.td-acc .td-acc-body a {
  display: block;
  padding: 11px 8px;
  color: #243044;
  text-decoration: none;
  font-size: 16px;
}
.td-acc[data-menu="agents"] .td-acc-body a:last-child { color: #0f8a72; font-weight: 700; }
.td-phone-actions { padding: 16px; display: grid; gap: 10px; }
.td-phone-actions .td-demo { text-align: center; padding: 14px; }
.td-phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.td-phone-row a {
  border: 1px solid #d5dbe6;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 12px 10px;
  text-decoration: none;
  color: #121826;
  font-weight: 650;
  white-space: nowrap;
  font-size: 14px;
}

.td-footer {
  background: #0c1424;
  color: #d5dce8;
  font-family: Montserrat, Arial, sans-serif;
  padding: 56px 0 0;
  margin-top: 40px;
}
.td-footer a { color: inherit; text-decoration: none; }
.td-footer a:hover { color: #fff; }
.td-footer-grid, .td-offices, .td-legal {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.td-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr;
  gap: 36px;
  padding-bottom: 36px;
}
.td-footer h3 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.td-footer .agents-title { color: #1aa88a; }
.td-brand p { color: #c5cedb; line-height: 1.6; margin: 14px 0 18px; max-width: 280px; }
.td-footer .td-demo { display: inline-block; margin: 0 0 16px; }
.td-social { display: flex; gap: 8px; flex-wrap: wrap; color: #c5cedb; font-size: 14px; }
.td-footer ul { list-style: none; margin: 0; padding: 0; }
.td-footer li { margin: 0 0 8px; }
.td-footer li a { font-size: 14.5px; }
.td-offices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 28px 0;
  align-items: stretch;
}
.td-offices > div { display: flex; flex-direction: column; }
.td-offices .td-directions { margin-top: auto; padding-top: 8px; }
.td-offices h3 { margin-bottom: 10px; }
.td-offices p { margin: 0 0 8px; line-height: 1.5; font-size: 14px; }
.td-news form { display: flex; gap: 8px; }
.td-news input {
  flex: 1;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: #fff;
  padding: 12px 14px;
}
.td-news button {
  background: #2454e6;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
}
.td-news small { display: block; margin-top: 8px; color: #9aa6b8; }
.td-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 22px;
  color: #9aa6b8;
  font-size: 13px;
}
.td-burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.td-burger span { display: block; height: 2px; background: #121826; border-radius: 2px; }

@media (max-width: 1100px) {
  .td-desk, .td-header .td-demo { display: none; }
  .td-burger { display: flex; }
  .td-footer-grid, .td-offices { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { padding-top: 148px; }
  .td-topbar-inner {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: calc(100% - 28px);
    padding: 8px 0;
  }
  .td-places { white-space: nowrap; }
  .td-top-links {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .td-top-links a { white-space: nowrap; font-size: 12px; }
  .td-top-links span { display: none; }
  .td-footer-grid, .td-offices, .td-legal { grid-template-columns: 1fr; display: grid; }
  .td-news form { flex-direction: column; }
}
