/* Tech404 home: changes on top of the original Webflow CSS (approved 2026-10-12).
   Colours: #131313 page, #181818 card, #242424 raised/border, #FAFAFA text, #70E844 accent, #FF4848 form errors only. */

/* ---------- Header: logo left, nav centred, controls right ---------- */
.hs1w1 {
  z-index: 4; /* menus open above the logo marquee (was 2, same as .hs2w3) */
  align-items: center;
}
.hs1w1 > .hs1l1,
.hs1w1 > .hd-ctrl {
  flex: 1 1 0;
}
.hs1c2 {
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  grid-column-gap: 4vw;
  grid-row-gap: 4vw;
}
.hd-ctrl {
  /* zero-height row centred on the header line: the pills never make the
     header taller than the original, so the hero intro keeps its exact geometry */
  height: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(8px, .75vw, 14px);
}
.hd-pill {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(36px, 3.3125vw, 53px);
  margin: 0;
  padding: 0 clamp(14px, 1.25vw, 20px);
  background-color: #131313;
  border: 1px solid #242424;
  border-radius: 999px;
  color: #fafafa;
  font-family: Poppins, sans-serif;
  font-size: clamp(13px, 1.125vw, 18px);
  font-weight: 400;
  line-height: 1;
  transition: border-color .3s ease, background-color .3s ease;
}
.hd-pill:hover,
.hd-lang.is-open .hd-pill {
  border-color: #fafafa33;
}
.hd-pill:focus-visible,
.hd-lang-menu li:focus-visible {
  outline: 1px solid #70e844;
  outline-offset: 2px;
}
.hd-pill svg {
  display: block;
  flex: none;
}
.hd-lang {
  position: relative;
}
.hd-lang-btn {
  gap: clamp(6px, .6vw, 10px);
}
.hd-chev {
  width: clamp(10px, .75vw, 12px);
  height: clamp(10px, .75vw, 12px);
  transition: transform .3s ease;
}
.hd-lang.is-open .hd-chev {
  transform: rotate(180deg);
}
.hd-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background-color: #181818;
  border: 1px solid #242424;
  border-radius: clamp(16px, 1.25vw, 22px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.hd-lang.is-open .hd-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}
.hd-lang-menu li {
  padding: 8px 14px;
  border-radius: 999px;
  color: #fafafa80;
  font-family: Poppins, sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1;
  text-align: center;
  transition: color .2s ease, background-color .2s ease;
}
.hd-lang-menu li:hover {
  color: #fafafa;
  background-color: #242424;
}
.hd-lang-menu li[aria-selected="true"] {
  color: #70e844;
}
.hd-theme {
  width: clamp(36px, 3.3125vw, 53px);
  padding: 0;
}
.hd-theme svg {
  width: 38%;
  height: 38%;
}
.hd-theme .hd-sun,
.hd-theme[aria-pressed="true"] .hd-moon {
  display: none;
}
.hd-theme[aria-pressed="true"] .hd-sun {
  display: block;
}

@media screen and (min-width: 1920px) {
  .hs1c2 {
    grid-column-gap: 3vw;
    grid-row-gap: 3vw;
  }
}
@media screen and (max-width: 991px) {
  /* nav goes into the burger menu (original behaviour); controls stay visible */
  .hd-ctrl {
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: 3vw;
  }
  .hs1w1 > .hs1l1 {
    flex: 0 0 auto;
  }
}
@media screen and (max-width: 479px) {
  .hd-ctrl {
    gap: 6px;
    margin-right: 4vw;
  }
  .hd-pill {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
  .hd-theme {
    width: 34px;
    padding: 0;
  }
}

/* ---------- Contact ---------- */
.hs7 {
  padding-left: 4vw;
  padding-right: 4vw;
}
.hs7c3 {
  color: #fafafa;
  text-transform: none;
  background-color: #181818;
  border: 1px solid #242424;
  padding: 1.4vw 2vw;
  font-family: Poppins, sans-serif;
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color .3s ease;
}
.hs7c3::placeholder {
  color: #fafafa80;
  font-family: Poppins, sans-serif;
  opacity: 1;
}
.hs7c3:focus {
  border-color: #fafafa33;
  outline: none;
}
.hs7c3:user-invalid {
  border-color: #ff4848;
}
.hs7c3.hs7c3-2 {
  flex: 1;
  height: auto;
  padding-top: 1.4vw;
  resize: none;
}

@media screen and (min-width: 1920px) {
  .hs7c3 {
    border-width: 1px;
    padding: 1vw 1.4vw;
    font-size: .9vw;
  }
  .hs7c3.hs7c3-2 {
    padding-top: 1vw;
  }
}
@media screen and (max-width: 991px) {
  .hs7c3 {
    font-size: 2vw;
  }
}
@media screen and (max-width: 479px) {
  .hs7c3 {
    padding: 3vw 4vw;
    font-size: 3.6vw;
  }
  .hs7c3.hs7c3-2 {
    padding-top: 3vw;
  }
}
