/* Approved TECHMEN phone footer, shared by every published page. */
@media (max-width: 800px) {
  html body .tm-unified-footer.tm-site-footer .tm-footer-box:first-child :is(h2, p) {
    display: none !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a > span {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a > b {
    display: none !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-contact-method small {
    margin: 0 !important;
    color: #cec1d7 !important;
    letter-spacing: normal !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-contact-value {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap !important;
  }

  @media (hover: hover) {
    html body .tm-unified-footer.tm-site-footer :is(.tm-footer-links a, .tm-footer-social a):hover {
      background: #ffffff16 !important;
    }
  }

  html body .tm-unified-footer.tm-site-footer {
    display: grid;
    grid-template-rows: minmax(min-content, 1fr) auto;
    box-sizing: border-box;
    min-height: 54vh;
    min-height: 54svh;
    padding: 17px 0 max(13px, env(safe-area-inset-bottom)) !important;
  }

  html body .tm-unified-footer.tm-site-footer .container {
    margin-inline: auto !important;
    padding-inline: 0 !important;
    width: calc(100% - 22px) !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: space-between;
    gap: clamp(14px, 2vh, 20px) !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-box {
    min-width: 0;
    border: 1px solid #ffffff1f !important;
    background: #ffffff08 !important;
    padding: 10px 8px !important;
    border-radius: 10px !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-box:first-child {
    padding-block: 4px !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-logo {
    width: fit-content;
    min-height: 34px;
    gap: 6px !important;
    padding-inline: 0;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-logo img {
    width: 26px !important;
    height: 21px !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-logo small {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-title {
    margin-block-start: 0 !important;
    color: #d8cfe0 !important;
    margin-block-end: 8px !important;
    padding-inline: 1px;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  html body .tm-unified-footer.tm-site-footer :is(.tm-footer-links, .tm-footer-social) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    row-gap: 7px !important;
    column-gap: 5px !important;
  }

  html body .tm-unified-footer.tm-site-footer :is(.tm-footer-links a, .tm-footer-social a) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    border: 1px solid #ffffff1c !important;
    background: #ffffff08 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: center !important;
    min-height: 41px !important;
    padding: 3px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social > a {
    grid-column: span 3;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social .tm-footer-contact-method {
    min-height: 44px !important;
    padding-inline: 4px !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="mailto:"] {
    grid-column: span 7;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="https://wa.me/"] {
    grid-column: span 5;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-links a {
    justify-content: space-between !important;
    gap: 3px !important;
    text-align: start !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-links a > b {
    display: inline-block !important;
    flex: 0 0 auto;
    color: #d2b4f8;
    font-size: 9px !important;
    line-height: 1;
  }

  html[dir="rtl"] body .tm-unified-footer.tm-site-footer .tm-footer-links a > b {
    scale: -1 1;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social > a:not(.tm-footer-contact-method) {
    flex-direction: column;
    gap: 3px !important;
    min-height: 43px !important;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="mailto:"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E");
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="https://wa.me/"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2011.5a8%208%200%200%201-8%208%208.1%208.1%200%200%201-3.3-.7L4%2020l1.2-4.5a8%208%200%201%201%2014.8-4Z%22%2F%3E%3Cpath%20d%3D%22M9%208.5c.3%202.9%202.1%204.7%205%205l1-1-1.5-1-1%20.5a4%204%200%200%201-2-2l.5-1L10%207.5Z%22%2F%3E%3C%2Fsvg%3E");
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href="/contact/"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2210%22%20r%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M5.5%2015a2.5%202.5%200%200%201%205%200M14%2010h4m-4%204h4%22%2F%3E%3C%2Fsvg%3E");
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href*="instagram.com/"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%225%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M17.5%206.5h.01%22%2F%3E%3C%2Fsvg%3E");
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href*="facebook.com/"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20fill%3D%22currentColor%22%20stroke%3D%22none%22%20d%3D%22M14%2021v-8h2.7l.4-3H14V8.1c0-1%20.3-1.6%201.7-1.6h1.5V3.8a19%2019%200%200%200-2.4-.2c-2.5%200-4.2%201.5-4.2%204.3V10H8v3h2.6v8Z%22%2F%3E%3C%2Fsvg%3E");
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href*="linkedin.com/"] {
    --tm-footer-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2010v6m0-8h.01m4%208v-6m0%203a2%202%200%201%201%204%200v3%22%2F%3E%3C%2Fsvg%3E");
  }

  @supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
    html body .tm-unified-footer.tm-site-footer .tm-footer-social > a:not(.tm-footer-contact-method)::before,
    html body .tm-unified-footer.tm-site-footer .tm-footer-contact-method small::before {
      content: "";
      display: inline-block;
      inline-size: 12px;
      block-size: 12px;
      flex: 0 0 12px;
      background: #d2b4f8;
      -webkit-mask: var(--tm-footer-icon) center / contain no-repeat;
      mask: var(--tm-footer-icon) center / contain no-repeat;
    }

    html body .tm-unified-footer.tm-site-footer .tm-footer-contact-method small {
      display: inline-flex !important;
      align-items: center;
      gap: 3px;
    }
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-bottom {
    padding-block: 5px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    flex-wrap: wrap;
    min-height: 45px !important;
    margin-top: 10px !important;
    justify-content: center !important;
    text-align: center;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-bottom > span + span {
    display: none;
  }
}

@media (max-width: 380px) {
  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="mailto:"] {
    grid-column: span 8;
  }

  html body .tm-unified-footer.tm-site-footer .tm-footer-social a[href^="https://wa.me/"] {
    grid-column: span 4;
    padding-inline: 2px !important;
  }
}

@media (max-width: 319px) {
  html body .tm-unified-footer.tm-site-footer .tm-footer-social > a.tm-footer-contact-method {
    grid-column: 1 / -1;
  }
}

/* Shared site navigation and footer typography. */
html[lang] body #tmSiteHeader .tm-language :is(button, a) {
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer {
  font-family: "Montserrat", Arial, sans-serif;
  --tm-global-grad: linear-gradient(110deg, #9057f5, #bd72df 55%, #f39757);
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-title {
  color: #c4b8cf !important;
  font-size: 9px !important;
  font-weight: 650 !important;
  letter-spacing: .08em !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer :is(.tm-footer-links a, .tm-footer-social a) {
  font-size: 10px !important;
  font-weight: 600 !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social {
  --tm-connect-font: "Montserrat", Arial, sans-serif;
  --tm-connect-size: 10px;
}

html[lang^="ar"] body footer.tm-unified-footer.tm-site-footer .tm-footer-social {
  --tm-connect-font: "Cairo", "Tahoma", Arial, sans-serif;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social :is(.tm-footer-link-label, .tm-footer-contact-method small, .tm-footer-contact-value) {
  color: #dcd3e3 !important;
  font-family: var(--tm-connect-font) !important;
  font-size: var(--tm-connect-size) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

@media (max-width: 800px) {
  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social > a:has(.tm-footer-link-label) {
    padding-inline: 2px !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social {
    --tm-connect-size: 9.5px;
  }
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social .tm-footer-contact-method {
  position: relative;
  justify-content: center !important;
  text-align: center !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social .tm-footer-contact-method > span {
  display: grid !important;
  justify-content: center !important;
  justify-items: center;
  gap: 2px;
  width: 100% !important;
  text-align: center !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-social .tm-footer-contact-method > b {
  position: absolute;
  inset-inline-end: 9px;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-contact-value {
  white-space: nowrap;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-logo strong {
  font-size: 10px !important;
}

html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-logo small,
html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-bottom {
  color: #bdb3c6 !important;
  font-size: 9px !important;
  font-weight: 550 !important;
}

@media (min-width: 801px) {
  html[lang] body footer.tm-unified-footer.tm-site-footer {
    padding: clamp(22px, 3.2vw, 40px) 0 0 !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .container {
    width: min(1180px, calc(100% - 44px)) !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr) minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-box {
    padding: clamp(13px, 1.7vw, 22px) !important;
    border-radius: 18px !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-box h2 {
    margin-block: 18px 9px !important;
    font-size: clamp(18px, 1.75vw, 25px) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-box p {
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer :is(.tm-footer-links, .tm-footer-social) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer :is(.tm-footer-links a, .tm-footer-social a) {
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 35px !important;
    padding: 4px 7px !important;
    border-radius: 7px !important;
  }

  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-contact-method {
    grid-column: 1 / -1;
  }


  html[lang] body footer.tm-unified-footer.tm-site-footer .tm-footer-bottom {
    min-height: 44px !important;
  }
}

/* Regional and language landing pages use the primary navigation layout. */
html[lang] body #tmSiteHeader.tm-secondary-header {
  position: sticky;
  z-index: 200;
  top: 0;
  padding: 8px 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

#tmSiteHeader.tm-secondary-header .tm-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  margin-inline: auto;
  padding: 5px 10px;
  border: 1px solid #ffffff1a;
  border-radius: 20px;
  background: linear-gradient(110deg, #151620f7, #1b1c27f7);
  box-shadow: 0 10px 28px #08071226;
  color: #f5eef9;
}

#tmSiteHeader.tm-secondary-header :is(.tm-header-brand, .tm-header-nav, .tm-header-controls, .tm-language) {
  display: flex;
  align-items: center;
  gap: 6px;
}

#tmSiteHeader.tm-secondary-header .tm-header-brand {
  color: inherit;
  font: 750 11px/1 "Montserrat", Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
}

#tmSiteHeader.tm-secondary-header .tm-header-brand img {
  inline-size: 35px;
  block-size: 28px;
  object-fit: contain;
}

#tmSiteHeader.tm-secondary-header :is(.tm-header-nav, .tm-language) {
  gap: 2px;
  padding: 3px;
  border: 1px solid #ffffff14;
  border-radius: 999px;
  background: #ffffff09;
}

#tmSiteHeader.tm-secondary-header .tm-language { direction: ltr; }

#tmSiteHeader.tm-secondary-header :is(.tm-header-nav a, .tm-language a, .tm-header-cta, .tm-mobile-menu-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 33px;
  padding-inline: 10px;
  border-radius: 999px;
  color: #f5eef9;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: none;
}

#tmSiteHeader.tm-secondary-header .tm-language a {
  min-width: 29px;
  padding: 0;
}

#tmSiteHeader.tm-secondary-header :is(.tm-language .active, .tm-header-nav [aria-current], .tm-header-cta, .tm-mobile-menu-btn) {
  background: #0e1019;
}

#tmSiteHeader.tm-secondary-header :is(.tm-header-solvy, .tm-header-cta i) {
  background: linear-gradient(115deg, #7945da, #9e50bf 58%, #be633b);
}

#tmSiteHeader.tm-secondary-header .tm-header-cta i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-style: normal;
}

#tmSiteHeader.tm-secondary-header .tm-mobile-menu-btn { display: none; }

@media (max-width: 900px) {
  #tmSiteHeader.tm-secondary-header .tm-header-inner { width: calc(100% - 18px); }

  #tmSiteHeader.tm-secondary-header :is(.tm-header-nav, .tm-header-cta) { display: none; }

  #tmSiteHeader.tm-secondary-header .tm-mobile-menu-btn {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ffffff20;
    border-radius: 12px;
    cursor: pointer;
  }

  #tmSiteHeader.tm-secondary-header.tm-menu-open .tm-header-nav {
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(100% + 5px);
    display: grid;
    gap: 4px;
    padding: 7px;
    border-radius: 15px;
    background: #161721;
  }

  #tmSiteHeader.tm-secondary-header .tm-header-nav a {
    justify-content: start;
    min-height: 40px;
    border-radius: 9px;
  }
}
