.htf-footer,
  .htf-footer * {
    box-sizing: border-box;
  }

  .htf-footer {
    --htf-bg: #0b161c;
    --htf-card: #112129;
    --htf-card-hover: #152a34;
    --htf-gold: #d6aa6d;
    --htf-white: #ffffff;
    --htf-text: #d7e0e5;
    --htf-muted: #9eabb3;
    --htf-border: rgba(214, 170, 109, 0.28);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    color: var(--htf-white);
    background:
      radial-gradient(circle at 12% 0%, rgba(214, 170, 109, 0.12), transparent 29rem),
      radial-gradient(circle at 92% 34%, rgba(214, 170, 109, 0.08), transparent 25rem),
      linear-gradient(145deg, #0b161c 0%, #071116 100%);
    font-family: inherit;
    font-size: 16.5px;
    line-height: 1.65;
  }

  .htf-footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.22;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
  }

  .htf-topline {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--htf-gold) 18%, #f0d2a8 50%, var(--htf-gold) 82%, transparent 100%);
    box-shadow: 0 0 24px rgba(214, 170, 109, 0.34);
  }

  .htf-container {
    width: min(100% - 40px, 1420px);
    margin-inline: auto;
  }

  .htf-main {
    padding: 66px 0 48px;
  }

  .htf-upper {
    display: grid;
    grid-template-columns: minmax(285px, 0.8fr) minmax(0, 2.2fr);
    gap: clamp(34px, 5vw, 76px);
    align-items: stretch;
  }

  .htf-brand {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
  }

  .htf-logo {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 14px;
    color: var(--htf-white) !important;
    text-decoration: none !important;
  }

  .htf-logo-mark {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border: 1px solid rgba(214, 170, 109, 0.65);
    border-radius: 16px 4px 16px 4px;
    background: linear-gradient(145deg, rgba(214, 170, 109, 0.18), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 0 0 5px rgba(214, 170, 109, 0.04), 0 18px 36px rgba(0, 0, 0, 0.24);
  }

  .htf-logo-mark svg {
    width: 40px;
    height: 40px;
  }

  .htf-logo-type {
    display: grid;
    gap: 1px;
    line-height: 1;
  }

  .htf-logo-type strong {
    color: var(--htf-white);
    font-size: clamp(26px, 2.15vw, 36px);
    font-weight: 800;
    letter-spacing: 0.035em;
  }

  .htf-logo-type small {
    color: var(--htf-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
  }

  .htf-slogan {
    max-width: 420px;
    margin: 26px 0 10px;
    color: var(--htf-white);
    font-size: clamp(20px, 1.65vw, 25px);
    font-weight: 700;
    line-height: 1.42;
  }

  .htf-slogan::before {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin-bottom: 18px;
    background: var(--htf-gold);
    box-shadow: 0 0 15px rgba(214, 170, 109, 0.35);
  }

  .htf-brand-copy {
    max-width: 430px;
    margin: 0;
    color: var(--htf-text);
  }

  .htf-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
  }

  .htf-pill {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid var(--htf-border);
    border-radius: 999px;
    color: var(--htf-white) !important;
    background: rgba(255, 255, 255, 0.035);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }

  .htf-pill:hover {
    transform: translateY(-2px);
    border-color: var(--htf-gold);
    background: rgba(214, 170, 109, 0.12);
  }

  .htf-pill svg {
    width: 17px;
    height: 17px;
    color: var(--htf-white);
  }

  .htf-office-wrap {
    min-width: 0;
  }

  .htf-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--htf-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .htf-kicker::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, rgba(214, 170, 109, 0.42), transparent);
  }

  .htf-offices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .htf-office {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 254px;
    flex-direction: column;
    padding: 25px 23px 22px;
    overflow: hidden;
    border: 1px solid var(--htf-border);
    border-radius: 6px 20px 6px 20px;
    color: var(--htf-white) !important;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    text-decoration: none !important;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  }

  .htf-office::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -55px;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(214, 170, 109, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(214, 170, 109, 0.025), 0 0 0 38px rgba(214, 170, 109, 0.018);
    pointer-events: none;
  }

  .htf-office:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 170, 109, 0.72);
    background: linear-gradient(155deg, rgba(214, 170, 109, 0.13), rgba(255, 255, 255, 0.025));
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(214, 170, 109, 0.08);
  }

  .htf-office-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 21px;
  }

  .htf-office-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(214, 170, 109, 0.42);
    border-radius: 50%;
    color: var(--htf-white);
    background: rgba(214, 170, 109, 0.1);
  }

  .htf-office-icon svg {
    width: 21px;
    height: 21px;
  }

  .htf-country {
    color: var(--htf-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.17em;
  }

  .htf-office h3 {
    margin: 0 0 11px;
    color: var(--htf-white);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
  }

  .htf-office address {
    margin: 0;
    color: var(--htf-text);
    font-size: 15px;
    font-style: normal;
    line-height: 1.58;
  }

  .htf-map-action {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--htf-white);
    font-size: 14px;
    font-weight: 700;
  }

  .htf-map-action svg {
    width: 16px;
    height: 16px;
    transition: transform 180ms ease;
  }

  .htf-office:hover .htf-map-action {
    color: var(--htf-gold);
  }

  .htf-office:hover .htf-map-action svg {
    transform: translateX(4px);
  }

  .htf-divider {
    height: 1px;
    margin: 48px 0 42px;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(214, 170, 109, 0.52) 18%, rgba(214, 170, 109, 0.22) 82%, transparent);
  }

  .htf-menus {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(26px, 4vw, 56px);
  }

  .htf-menu {
    min-width: 0;
  }

  .htf-menu-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 19px;
    color: var(--htf-white);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.025em;
  }

  .htf-menu-title-icon {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    border: 1px solid var(--htf-border);
    border-radius: 10px 3px 10px 3px;
    color: var(--htf-white);
    background: rgba(214, 170, 109, 0.08);
  }

  .htf-menu-title-icon svg {
    width: 18px;
    height: 18px;
  }

  .htf-menu ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .htf-menu li {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .htf-menu a {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 7px 0;
    color: var(--htf-text) !important;
    font-size: 15.5px;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color 170ms ease, transform 170ms ease;
  }

  .htf-menu a svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--htf-white);
    opacity: 0.88;
    transition: color 170ms ease, opacity 170ms ease;
  }

  .htf-menu a:hover {
    transform: translateX(4px);
    color: var(--htf-gold) !important;
  }

  .htf-menu a:hover svg {
    color: var(--htf-white);
    opacity: 1;
  }

  .htf-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
  }

  .htf-bottom-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
  }

  .htf-legal {
    margin: 0;
    color: var(--htf-muted);
    font-size: 14px;
  }

  .htf-legal strong {
    color: var(--htf-white);
    font-weight: 700;
  }

  .htf-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
  }

  .htf-quick-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--htf-text) !important;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
  }

  .htf-quick-links a:hover {
    color: var(--htf-gold) !important;
  }

  .htf-quick-links svg {
    width: 15px;
    height: 15px;
    color: var(--htf-white);
  }

  .htf-footer a:focus-visible {
    outline: 2px solid var(--htf-gold);
    outline-offset: 4px;
    border-radius: 3px;
  }

  @media (max-width: 1180px) {
    .htf-upper {
      grid-template-columns: 1fr;
    }

    .htf-brand {
      max-width: 720px;
    }
  }

  @media (max-width: 920px) {
    .htf-offices {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .htf-office:first-child {
      grid-column: 1 / -1;
      min-height: 220px;
    }

    .htf-menus {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .htf-footer {
      font-size: 16px;
    }

    .htf-container {
      width: min(100% - 32px, 1420px);
    }

    .htf-main {
      padding: 48px 0 36px;
    }

    .htf-logo-mark {
      width: 56px;
      height: 56px;
      flex-basis: 56px;
    }

    .htf-logo-type strong {
      font-size: 25px;
    }

    .htf-logo-type small {
      font-size: 9px;
    }

    .htf-contact-pills {
      display: grid;
      grid-template-columns: 1fr;
    }

    .htf-pill {
      justify-content: center;
    }

    .htf-offices,
    .htf-menus {
      grid-template-columns: 1fr;
    }

    .htf-office:first-child {
      grid-column: auto;
    }

    .htf-office {
      min-height: 224px;
      padding: 23px 21px 20px;
    }

    .htf-divider {
      margin: 39px 0 35px;
    }

    .htf-menu-title {
      margin-bottom: 12px;
    }

    .htf-menu a {
      min-height: 42px;
      align-items: center;
      padding: 8px 0;
      font-size: 16px;
    }

    .htf-menu a svg {
      margin-top: 0;
    }

    .htf-bottom-inner {
      min-height: 0;
      flex-direction: column;
      align-items: flex-start;
      padding: 23px 0 26px;
    }

    .htf-quick-links {
      justify-content: flex-start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .htf-footer *,
    .htf-footer *::before,
    .htf-footer *::after {
      scroll-behavior: auto !important;
      transition: none !important;
    }
  }