/* Homepage fidelity pass — existing sections, existing content and existing IDs.
   The rules below only normalize composition against the approved desktop
   references and keep the same components fluid from MacBook to 4K. */

.bit-homepage {
  --hf-ink: #10182b;
  --hf-muted: #60708b;
  --hf-line: #dce3ec;
  --hf-panel: #fff;
  --hf-soft: #f7f9fc;
  --hf-red: #f23b4c;
  --hf-container: 1280px;
  --hf-shadow: 0 18px 44px rgba(15, 24, 43, .055);
}

.bit-homepage :where(#tech, #comparison, #design-studio, #portfolio, #technologies, #contact) > .container {
  width: min(100% - 48px, var(--hf-container));
  max-width: var(--hf-container);
  padding-inline: 0;
}

.bit-homepage :where(#tech, #comparison, #design-studio, #portfolio, #technologies, #contact) h2 {
  letter-spacing: -.045em;
}

/* OFFER ------------------------------------------------------------------ */
#tech {
  min-height: 1085px;
  padding-block: 54px 64px;
  background: #fff;
}

/* Homepage outsourcing: one contained composition, no negative-bottom escape. */
#outsourcing.home-outsourcing {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 6rem;
  padding: clamp(3.75rem, 5vw, 4.75rem) 0 clamp(2.25rem, 3vw, 3rem);
  color: #0f172a;
  background: #f8fafc;
  border-block: 1px solid rgba(203, 213, 225, 0.7);
}

.home-outsourcing__container {
  max-width: 1360px;
}

.home-outsourcing__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
}

.home-outsourcing__copy {
  min-width: 0;
}

.home-outsourcing__badge {
  margin-bottom: 1.5rem;
}

.home-outsourcing__title {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 8.5vw, 3.25rem);
  line-height: 1.04;
}

.home-outsourcing__lead {
  max-width: 39rem;
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  line-height: 1.6;
}

.home-outsourcing__modes {
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.home-outsourcing__mode {
  min-width: 0;
  padding: 1.25rem;
  box-shadow: 0 14px 32px -25px rgba(15, 23, 42, 0.38);
}

.home-outsourcing__mode > div:nth-child(2) {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
}

.home-outsourcing__cta {
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
}

.home-outsourcing__stage {
  height: 640px;
  min-width: 0;
}

.home-outsourcing__experts {
  width: min(300px, 43%);
  top: 4.75rem;
  padding: 1.25rem;
}

.home-outsourcing__experts > .flex:first-child {
  margin-bottom: 1.125rem;
}

.home-outsourcing__experts .space-y-3 {
  display: grid;
  gap: 0.625rem;
}

.home-outsourcing__experts .space-y-3 > * + * {
  margin-top: 0;
}

.home-outsourcing__project {
  width: min(338px, 49%);
  top: 0;
  right: 0;
  padding: 1.5rem;
  border-width: 3px;
  border-radius: 2rem;
}

.home-outsourcing__project > .flex:first-of-type {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
}

.home-outsourcing__project > .mb-10 {
  margin-bottom: 1.5rem;
}

.home-outsourcing__project .h-\[100px\] {
  height: 5rem;
}

.home-outsourcing__project > .flex:last-child {
  padding-top: 1.125rem;
}

.home-outsourcing__stack {
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  transform: none;
  border-radius: 1.5rem;
}

.home-outsourcing__stack-grid {
  gap: 0.75rem;
  overflow: hidden;
  padding-bottom: 0;
}

.home-outsourcing__stack-grid > div {
  gap: clamp(1rem, 2.15vw, 1.75rem);
}

.home-outsourcing__stack-grid .iconify {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .home-outsourcing__layout {
    max-width: 760px;
    margin-inline: auto;
  }

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

@media (min-width: 1024px) {
  .home-outsourcing__layout {
    grid-template-columns: minmax(330px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(2rem, 3.5vw, 4.75rem);
  }

  .home-outsourcing__title {
    font-size: clamp(2.55rem, 3.25vw, 3.35rem);
  }
}

@media (max-width: 639px) {
  #outsourcing.home-outsourcing {
    padding-block: 3.5rem;
  }

  .home-outsourcing__badge {
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: 0.625rem 0.8rem;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  .home-outsourcing__modes {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-outsourcing__mode {
    padding: 1.125rem;
  }

  .home-outsourcing__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #outsourcing *,
  #outsourcing *::before,
  #outsourcing *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

#tech > .container > .text-center {
  max-width: 900px;
  margin-bottom: 44px;
}

#tech > .container > .text-center > span {
  margin-bottom: 12px;
  padding: 7px 17px;
  border-radius: 999px;
  background: #fff7f7;
  border-color: #ffcfd4;
  box-shadow: none;
}

#tech > .container > .text-center h2 {
  margin-bottom: 24px;
  color: var(--hf-ink);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.02;
  font-weight: 800;
}

#tech > .container > .text-center p {
  max-width: 680px;
  color: var(--hf-muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

#services-container {
  gap: 19px;
  padding: 0;
  perspective: none !important;
}

#tech > .container {
  width: min(100% - 48px, 1258px);
  max-width: 1258px;
}

#services-container > [data-service-card] {
  display: grid;
  grid-template-columns: 45% minmax(0, 55%);
  grid-template-rows: auto minmax(0, 1fr) 55px;
  column-gap: 6px;
  height: 323px;
  min-height: 323px;
  padding: 17px 17px 0;
  border: 1px solid var(--hf-line);
  border-radius: 23px;
  box-shadow: none;
  transform: none;
}

#services-container > [data-service-card]:hover {
  transform: translateY(-3px);
  box-shadow: var(--hf-shadow);
}

#services-container > [data-service-card] > div:has(> svg) {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: stretch;
  width: 100%;
  height: 238px;
  margin: 0;
  padding: 2px 5px 0 0;
}

#services-container > [data-service-card] > div:has(> svg) svg {
  width: 100%;
  height: 100%;
  max-width: 175px;
  margin-inline: auto;
}

#services-container > [data-service-card] > h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 48px 0 27px;
  color: var(--hf-ink);
  font-size: 21px;
  line-height: 1.18;
  font-weight: 800;
}

#services-container > [data-service-card] > ul {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
}

#services-container > [data-service-card] > ul li {
  gap: 9px;
  margin: 0 0 9px;
  color: #4f5f77;
  font-size: 10.25px;
  line-height: 1.42;
}

#services-container > [data-service-card] > ul li .iconify {
  width: 13px;
  height: 13px;
  color: #65748b;
}

#services-container > [data-service-card] > a {
  grid-column: 1 / 3;
  grid-row: 3;
  width: 100%;
  box-sizing: border-box;
  height: 55px;
  min-height: 0;
  margin: 0;
  padding: 13px 4px;
  border-top: 1px solid #e6ebf1;
  font-size: 13px;
}

#services-container > [data-service-card] > .absolute.top-4.right-4 {
  top: 17px;
  right: 17px;
}

.home-offer-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 36px auto 0;
  color: #596a82;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.home-offer-proof__icon {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #65748b;
}

.home-offer-proof__icon .iconify {
  width: 17px;
  height: 17px;
}

/* HONEST COMPARISON ------------------------------------------------------ */
#comparison {
  padding-block: 24px 36px;
  background: #fff;
}

#comparison > .absolute.inset-0 {
  opacity: 0;
}

#comparison > .container {
  max-width: 1134px;
}

#comparison > .container > .text-center {
  margin-bottom: 31px;
}

#comparison > .container > .text-center .prm-pill {
  margin-bottom: 10px;
}

#comparison > .container > .text-center h2 {
  margin-bottom: 13px;
  color: var(--hf-ink);
  font-size: clamp(42px, 4.35vw, 63px);
  line-height: .94;
  font-weight: 800;
  transform: translateX(-1px) scaleY(1.026);
  transform-origin: center bottom;
}

#comparison > .container > .text-center p {
  max-width: 800px;
  font-size: 17.5px;
  line-height: 1.35;
  position: relative;
  top: -1px;
}

#comparison .hidden.md\:block > div {
  border-radius: 15px;
  border-color: #e6eaf0;
  box-shadow: 0 18px 44px rgba(15, 24, 43, .065);
  transform: translateX(-3px);
}

#comparison .cmp-grid {
  grid-template-columns: 25% 24% 24.2% 26.8%;
  border-color: #edf0f4;
}

#comparison .cmp-grid > div {
  padding: 9.125px 17px;
  min-height: 55px;
}

#comparison .cmp-grid:first-child > div {
  min-height: 85px;
  padding-block: 10px;
}

#comparison .cmp-grid:first-child .text-\[11px\] {
  display: none;
}

#comparison .cmp-grid > div:first-child {
  font-size: 13px;
}

#comparison .cmp-grid:first-child .text-lg {
  font-size: 16px;
}

#comparison .cmp-grid:not(:first-child) .text-base {
  font-size: 14px;
}

#comparison .cmp-grid > div:first-child .text-\[9px\] {
  display: none;
}

#comparison .cmp-grid .iconify.w-7 {
  width: 22px;
  height: 22px;
}

#comparison .hidden.md\:flex.justify-center.mt-6 {
  display: none;
}

#comparison .mt-12.md\:mt-16 {
  max-width: 847px;
  margin-top: 27px;
  padding: 20px;
  border-radius: 13px;
  transform: translateX(12px);
}

#comparison .mt-12.md\:mt-16 .w-10.h-10 {
  width: 36px;
  height: 36px;
}

#comparison .mt-12.md\:mt-16 h3 {
  margin-bottom: 2px;
  font-size: 14px;
}

#comparison .mt-12.md\:mt-16 p {
  font-size: 12px;
  line-height: 1.42;
}

#comparison .mt-12.flex {
  margin-top: 18px;
  gap: 20px;
  transform: translateX(-16px);
}

#comparison .mt-12.flex a {
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 13px;
  font-size: 13px;
}

/* DESIGN STUDIO ---------------------------------------------------------- */
#design-studio {
  min-height: 1085px;
  padding-block: 35px 42px;
  background: #fff;
}

#design-studio > .absolute.inset-0 {
  opacity: 0;
}

#design-studio > .container {
  max-width: 1106px;
}

#design-studio > .container > .text-center {
  margin-bottom: 37px;
}

#design-studio > .container > .text-center .prm-pill {
  margin-bottom: 22px;
}

#design-studio > .container > .text-center h2 {
  margin-bottom: 18px;
  color: var(--hf-ink);
  font-size: clamp(40px, 3.8vw, 55px);
  line-height: 1.02;
  font-weight: 800;
  transform: translate(6px, -1px) scale(1.009, .94);
  transform-origin: center bottom;
}

#design-studio > .container > .text-center p {
  width: min(100%, 690px) !important;
  max-width: 690px !important;
  font-size: 18px !important;
  line-height: 1.4;
  position: relative;
  top: -1px;
}

#design-studio > .container > .grid {
  gap: 21px 22px;
  margin-bottom: 31px;
}

#design-studio > .container > .grid > div {
  display: grid;
  grid-template-columns: 39% minmax(0, 61%);
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  column-gap: 20px;
  height: 298px;
  min-height: 298px;
  padding: 16px 22px 0;
  border: 1px solid var(--hf-line);
  border-radius: 18px;
  box-shadow: none;
  transform: none;
}

#design-studio > .container > .grid > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--hf-shadow);
}

#design-studio > .container > .grid > div > div[class*="w-full h-40"] {
  grid-column: 1;
  grid-row: 1 / 5;
  align-self: center;
  width: 100%;
  height: 204px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 14px;
}

#design-studio > .container > .grid > div > h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 6px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

#design-studio > .container > .grid > div > span {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin: 0;
  padding: 5px 10px;
  font-size: 9px;
}

#design-studio > .container > .grid > div > p {
  grid-column: 2;
  grid-row: 3;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.48;
}

#design-studio > .container > .grid > div > .flex.flex-wrap {
  grid-column: 2;
  grid-row: 4;
  align-self: start;
  gap: 6px;
}

#design-studio > .container > .grid > div > .flex.flex-wrap span {
  padding: 4px 8px;
  font-size: 10px;
}

#design-studio [data-studio-stats] {
  grid-column: 1 / 3;
  grid-row: 5;
  min-height: 45px;
  margin: 0;
  padding: 9px 0 8px;
}

#design-studio [data-studio-stats] .text-base {
  font-size: 13px;
}

#design-studio .max-w-4xl.mx-auto {
  max-width: 930px;
}

#design-studio .max-w-4xl.mx-auto > p {
  margin-bottom: 20px;
  font-size: 9px;
}

#design-studio .max-w-4xl.mx-auto > .flex.flex-wrap {
  gap: 18px 46px;
  position: relative;
  left: -4px;
}

#design-studio .max-w-4xl.mx-auto > .flex.flex-wrap .iconify {
  width: 22px;
  height: 22px;
}

#design-studio .max-w-4xl.mx-auto > .flex.flex-wrap span:last-child {
  font-size: 12px;
}

#design-studio > .container > .mt-10 {
  margin-top: 34px;
  gap: 13px;
}

#design-studio > .container > .mt-10 a {
  min-height: 50px;
  padding: 12px 19px;
  border-radius: 13px;
  font-size: 13px;
}

#design-studio > .container > .mt-10 a:last-child {
  padding-inline: 16px;
}

@media (min-width: 1024px) {
  #comparison > .container > .text-center p {
    top: 0;
    transform: translateX(-2px);
  }

  #comparison .cmp-grid:first-child > div:not(:first-child) > :not(.absolute) {
    transform: translateY(-5px) !important;
  }

  #comparison .cmp-grid:first-child > div:first-child {
    padding-bottom: 15px;
  }

  #comparison .mt-12.md\:mt-16 {
    position: relative;
    left: 15px;
    transform: none;
  }

  #comparison .mt-12.flex {
    position: relative;
    left: -16px;
    transform: none;
  }

  #design-studio > .container > .grid > div:first-child > .absolute.top-4.right-4,
  #design-studio > .container > .grid > div:first-child > div[class*="w-full h-40"] > .absolute.top-3.left-4 {
    display: none;
  }

  #design-studio > .container > .text-center h2 {
    transform: translate(6px, -3px) scale(1.009, .94);
  }

  #design-studio > .container > .text-center p {
    top: -2px;
  }

  #design-studio > .container > .grid > div > span {
    transform: translateY(11px);
  }

  #design-studio > .container > .grid > div > h3 {
    transform: translateY(21px);
  }

  #design-studio > .container > .grid > div > p {
    transform: translateY(27px);
  }

  #design-studio > .container > .grid > div > .flex.flex-wrap {
    transform: translateY(-33px);
  }

  #design-studio [data-studio-stats] {
    transform: translateY(-8px);
  }

  #design-studio > .container > .grid > div:nth-child(1),
  #design-studio > .container > .grid > div:nth-child(2),
  #design-studio > .container > .grid > div:nth-child(4) {
    column-gap: 17px;
  }

  #design-studio > .container > .grid > div:nth-child(1) > div[class*="w-full h-40"],
  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"],
  #design-studio > .container > .grid > div:nth-child(4) > div[class*="w-full h-40"] {
    background: transparent !important;
  }

  #design-studio > .container > .grid > div:first-child > div[class*="w-full h-40"] > .absolute.top-1\/2.left-1\/2 {
    width: 94px;
    height: 179px;
    left: calc(50% + 1px);
    top: 44.4%;
  }

  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"] {
    height: 186px;
  }

  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"] > .absolute.bottom-4 {
    bottom: auto;
    top: 83px;
    left: 3px;
    right: 13px;
  }

  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"] > div:first-child {
    transform: translate(-3px, 11px) scale(.9, .86);
    transform-origin: left top;
  }

  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"] > div:nth-child(2) {
    display: none;
  }

  #design-studio > .container > .grid > div:nth-child(2) > div[class*="w-full h-40"] > .absolute.bottom-4 > div {
    height: 50px;
    aspect-ratio: auto;
    border-radius: 4px;
  }

  #design-studio > .container > .grid > div:nth-child(4) > div[class*="w-full h-40"] {
    height: 186px;
  }

  #design-studio > .container > .grid + .max-w-4xl.mx-auto {
    position: relative;
    top: -1px;
  }

  #design-studio > .container > .grid + .max-w-4xl.mx-auto > .flex.flex-wrap {
    gap: 18px 41px;
  }

  #design-studio > .container > .grid + .max-w-4xl.mx-auto > .flex.flex-wrap .iconify {
    width: 21px;
    height: 21px;
  }

  #design-studio > .container > .mt-10 {
    position: relative;
    top: -2px;
    left: -1px;
  }
}

/* PORTFOLIO -------------------------------------------------------------- */
#portfolio {
  min-height: 940px;
  padding-block: 43px 38px;
  background: #f7f8fa;
}

#design-studio > .container > .grid > div:nth-child(1) {
  grid-template-columns: 32% minmax(0, 68%);
  column-gap: 18px;
}

#design-studio > .container > .grid > div:nth-child(3) {
  grid-template-columns: 41% minmax(0, 59%);
  column-gap: 24px;
}

#comparison .mt-12.flex a:last-child {
  min-width: 240px;
}

#portfolio > .absolute.inset-0.pointer-events-none {
  display: none;
}

#portfolio > .container {
  width: min(100% - 136px, 1536px);
  max-width: 1536px;
}

#portfolio > .container > .flex:first-of-type {
  align-items: flex-end;
  margin-bottom: 68px;
}

#portfolio > .container > .flex:first-of-type > div > .inline-flex {
  min-height: 32px;
  margin-bottom: 18px;
  padding: 6px 15px;
}

#portfolio > .container > .flex:first-of-type .inline-flex > span.relative.flex,
#portfolio > .container > .flex:first-of-type .inline-flex > span.relative.flex > span {
  width: 8px !important;
  min-width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  flex: 0 0 8px !important;
  transform: none !important;
  animation: none !important;
}

#portfolio > .container > .flex:first-of-type > div {
  max-width: 610px;
}

#portfolio > .container > .flex:first-of-type h2 {
  margin-bottom: 15px;
  color: var(--hf-ink);
  font-size: clamp(48px, 4vw, 64px);
  line-height: 1.02;
  font-weight: 800;
}

#portfolio > .container > .flex:first-of-type p {
  max-width: 565px;
  font-size: 18px;
  line-height: 1.45;
}

#portfolio > .container > .flex:first-of-type > a {
  width: 255px;
  min-width: 255px;
  min-height: 62px;
  justify-content: center;
  padding: 14px 25px;
  border-radius: 999px;
  background: var(--hf-ink);
  font-size: 16px;
}

#portfolio > .container > .flex:first-of-type > a .iconify,
#portfolio > .container > .flex:first-of-type > a svg {
  color: var(--hf-red);
}

#portfolio-container {
  gap: 30px;
  padding-bottom: 0;
}

#portfolio-container > a {
  height: 518px;
  min-height: 518px;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
  transform: none;
}

#portfolio-container > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--hf-shadow);
}

#portfolio-container > a > div:first-child {
  height: 290px;
}

#portfolio-container > a > div:last-child {
  padding: 23px 24px 17px;
}

#portfolio-container > a > div:last-child .flex.flex-wrap {
  order: 3;
  margin: 11px 0 0;
}

#portfolio-container > a h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

#portfolio-container > a p {
  margin-bottom: 9px;
  font-size: 12px;
  line-height: 1.45;
}

#portfolio-container > a .portfolio-card__footer {
  min-height: 46px;
  margin-top: 13px;
  padding-top: 12px;
}

#portfolio-container > a .portfolio-card__footer .flex.flex-wrap {
  margin: 0;
}

.portfolio-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 35px;
  color: #60708b;
  font-size: 15px;
}

.portfolio-proof > .iconify {
  width: 18px;
  height: 18px;
}

.portfolio-proof strong {
  color: var(--hf-red);
}

/* TECHNOLOGIES ----------------------------------------------------------- */
#technologies {
  min-height: 1085px;
  padding-block: 72px 52px;
  background: #f9fafb;
}

#technologies > .absolute.inset-0 {
  display: none;
}

#technologies > .container {
  max-width: 1270px;
}

#technologies > .container > .text-center {
  margin-bottom: 44px;
}

#technologies > .container > .text-center .prm-pill {
  margin-bottom: 32px;
}

#technologies > .container > .text-center h2 {
  margin-bottom: 27px;
  color: var(--hf-ink);
  font-size: clamp(46px, 3.8vw, 55px);
  line-height: 1.02;
  font-weight: 800;
}

#technologies > .container > .text-center p {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.48;
}

#technologies-grid {
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 18px;
}

#technologies-grid > :nth-child(1),
#technologies-grid > :nth-child(2) {
  grid-column: span 13;
}

#technologies-grid > :nth-child(3),
#technologies-grid > :nth-child(5) {
  grid-column: span 10;
}

#technologies-grid > :nth-child(4) {
  grid-column: span 6;
}

#technologies-grid > div {
  min-width: 0;
  min-height: 228px;
  padding: 22px 24px;
  border: 1px solid #e7ebf1;
  border-radius: 17px;
  box-shadow: 0 12px 28px rgba(15, 24, 43, .04);
}

#technologies-grid > div > .flex.items-center {
  justify-content: flex-start;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7ebf1;
}

#technologies-grid > div > .flex.items-center .technology-category-link {
  margin-left: auto;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

@media (min-width: 1024px) {
  #technologies-grid > :nth-child(4) > .flex.items-center {
    position: relative;
  }

  #technologies-grid > :nth-child(4) > .flex.items-center h3 {
    white-space: nowrap;
  }

  #technologies-grid > :nth-child(4) > .flex.items-center .technology-category-link {
    position: absolute;
    right: 0;
    bottom: -10px;
  }

  #technologies-grid > :nth-child(1) > [data-tools],
  #technologies-grid > :nth-child(2) > [data-tools] {
    width: calc(100% + 16px);
    transform: translateX(1px);
  }

  #technologies-grid > :nth-child(3) > [data-tools],
  #technologies-grid > :nth-child(5) > [data-tools] {
    width: calc(100% + 16px);
    transform: translateX(-9px);
  }

  #technologies-grid > :nth-child(4) > [data-tools] {
    width: calc(100% + 2px);
    transform: translateX(-12px);
  }
}

#technologies-grid > div > [data-tools] {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(58px, 1fr);
  align-items: start;
  gap: 12px;
}

#technologies-grid > div > [data-tools] > button {
  min-width: 0;
  padding: 5px 2px;
  flex-direction: column;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #243148;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}

#technologies-grid > div > [data-tools] > button .iconify {
  width: 60px;
  height: 60px;
  padding: 9px;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  background: #fff;
}

#technologies-grid + div {
  min-height: 96px;
  margin-top: 20px;
  padding: 19px 34px;
  border: 1px solid var(--hf-line);
  border-radius: 17px;
  box-shadow: none;
}

@media (min-width: 1024px) {
  #technologies-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  #technologies-grid > :nth-child(1),
  #technologies-grid > :nth-child(2) {
    flex: 0 0 calc((100% - 18px) / 2);
  }

  #technologies-grid > :nth-child(3),
  #technologies-grid > :nth-child(5) {
    flex: 0 0 calc((100% - 36px) * 5 / 13);
  }

  #technologies-grid > :nth-child(4) {
    flex: 0 0 calc((100% - 36px) * 3 / 13);
  }

  #technologies-grid > div > [data-tools] {
    grid-auto-columns: minmax(0, 1fr);
  }

  #technologies-grid + div > div:first-child {
    gap: 24px;
  }

  #technologies-grid + div > div:first-child > div:first-child {
    width: 44px;
    height: 44px;
  }

  #technologies-grid + div > div:last-child {
    flex: 1;
    justify-content: space-between;
  }
}

/* CONTACT + FOOTER ------------------------------------------------------- */
#contact {
  min-height: 771px;
  padding-block: 70px 18px;
  background: #fafbfd;
}

#contact > .container {
  max-width: 1248px;
}

@media (min-width: 1024px) {
  #tech {
    padding-bottom: 69px;
  }

  #tech > .container > .text-center h2 {
    transform: scaleX(.985) scaleY(.934);
    transform-origin: center bottom;
  }

  #tech > .container > .text-center p {
    position: relative;
    top: 3px;
  }

  body.bit-homepage #tech #services-container {
    column-gap: 22px !important;
    row-gap: 20px !important;
    grid-template-columns: 394px 416px 401px !important;
    justify-content: start;
  }

  .bit-homepage #services-container > [data-service-card="true"] {
    padding: 17px 17px 0 !important;
    border-radius: 23px !important;
  }

  .bit-homepage #services-container > [data-service-card="true"]:nth-child(1) {
    grid-template-columns: 50% minmax(0, 50%);
  }

  .bit-homepage #services-container > [data-service-card="true"]:nth-child(2) {
    grid-template-columns: 47.5% minmax(0, 52.5%);
  }

  /* The bespoke offer drawings use one shared 400x300 coordinate system.
     These per-subject optical corrections match the six reference silhouettes
     without moving any card, copy or CTA. */
  #service-shopify > div:has(> svg) svg {
    transform: translate(0, 4px) scale(1.48);
  }

  #service-websites > div:has(> svg) svg {
    transform: translate(2px, -1px) scale(1.23);
  }

  #service-mobile-apps > div:has(> svg) svg {
    transform: translate(-1px, -7px) scale(1.52);
  }

  #service-web-apps > div:has(> svg) svg {
    transform: translate(-5px, -13px) scale(1.5);
  }

  #service-automation-ai > div:has(> svg) svg {
    transform: translate(-7px, -10px) scale(1.3);
  }

  #service-growth-seo > div:has(> svg) svg {
    transform: translate(-13px, -5px) scale(1.52);
  }

  #services-container > [data-service-card]:nth-child(-n + 3) > h3,
  #services-container > [data-service-card]:nth-child(-n + 3) > ul {
    transform: translateY(9px);
  }

  #services-container > [data-service-card]:nth-child(n + 4) > h3 {
    transform: translateY(-3px);
  }

  #services-container > [data-service-card]:nth-child(n + 4) > ul {
    transform: translateY(-7px);
  }

  #service-shopify > .absolute.top-4.right-4 {
    right: 23px;
  }

  #service-shopify > .absolute.top-4.right-4 > span {
    width: 160px;
    justify-content: center;
  }

  #service-mobile-apps > h3,
  #service-growth-seo > h3 {
    max-width: 160px;
  }

  #contact > .container > .grid > div:first-child > h2 {
    position: relative;
    top: -2px;
    width: auto;
    font-size: 53px;
    line-height: 1.18;
    letter-spacing: 0;
    transform: none;
  }

  #contact > .container > .grid > div:first-child > p {
    max-width: 450px;
    margin-bottom: 38px;
  }

  #contact > .container > .grid > div:first-child > .grid {
    width: 589px;
    grid-template-columns: 1.1fr 1fr;
    gap: 42px;
    transform: translateX(2px);
  }

  #contact > .container > .grid > div:nth-child(2) {
    transform: translateY(1px);
  }

  .contact-bottom-journey {
    width: calc(100% - 6px);
    margin-left: 1px;
    position: relative;
    top: -2px;
  }
}

#contact > .container > .grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  gap: 78px;
  align-items: start;
}

#contact > .container > .grid > div:first-child > .inline-flex {
  margin-bottom: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: none;
}

#contact > .container > .grid > div:first-child > h2 {
  margin-bottom: 26px;
  color: var(--hf-ink);
  font-size: 54px;
  line-height: 1.22;
  font-weight: 800;
}

#contact > .container > .grid > div:first-child > h2 span {
  background: none !important;
  color: var(--hf-red) !important;
  -webkit-text-fill-color: currentColor;
}

#contact > .container > .grid > div:first-child > p {
  max-width: 500px;
  margin-bottom: 45px;
  font-size: 17px;
  line-height: 1.55;
}

#contact > .container > .grid > div:first-child > .grid {
  grid-template-columns: 1.08fr 1fr;
  gap: 40px;
  margin-bottom: 38px;
}

#contact > .container > .grid > div:first-child > .grid > div {
  box-sizing: border-box;
  height: 158px;
  min-height: 158px;
  padding: 20px;
  border: 1px solid var(--hf-line);
  border-radius: 17px;
  box-shadow: none;
}

#contact > .container > .grid > div:first-child > .grid > div > .relative.z-10 {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 30px;
  row-gap: 10px;
  align-items: start;
}

#contact > .container > .grid > div:first-child > .grid > div > .relative.z-10 > .w-14.h-14 {
  grid-column: 1;
  grid-row: 1;
}

#contact > .container > .grid > div:first-child > .grid > div > .relative.z-10 > h3 {
  grid-column: 2;
  grid-row: 1;
}

#contact > .container > .grid > div:first-child > .grid > div > .relative.z-10 > p {
  grid-column: 1 / 3;
  grid-row: 2;
}

#contact > .container > .grid > div:first-child > .grid .w-14.h-14 {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  border-radius: 13px;
}

#contact > .container > .grid > div:first-child > .grid h3 {
  margin: 2px 0 4px;
  font-size: 17px;
}

#contact > .container > .grid > div:first-child > .grid p {
  font-size: 13px;
  line-height: 1.5;
}

#contact > .container > .grid > div:first-child > .flex.items-center {
  min-height: 137px;
  padding-top: 20px;
}

#contact > .container > .grid > div:first-child > .flex.items-center .w-16.h-16 {
  width: 56px;
  height: 56px;
}

#contact > .container > .grid > div:nth-child(2) > .bg-white\/90 {
  min-height: 0;
  height: 504px;
  padding: 35px 39px;
  border: 1px solid var(--hf-line);
  border-radius: 19px;
  box-shadow: var(--hf-shadow);
}

#contact > .container > .grid > div:nth-child(2) > .bg-white\/90 > .mb-8 {
  margin-bottom: 0;
}

#contact #contactForm {
  gap: 0;
}

#contact #contactForm > :not([hidden]) ~ :not([hidden]) {
  margin-top: 14px;
}

#contact #contactForm > div.group input {
  min-height: 53px;
  padding-block: 13px;
  border: 1px solid #dbe2ec;
  background: #fff;
  box-shadow: none;
}

#contact #contactForm button[type="submit"] {
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(214, 56, 70, .21);
}

#contact #contactForm button[type="submit"] > .relative {
  padding-block: 14px;
}

@media (min-width: 1024px) {
  #contact > .container > .grid > div:first-child > .inline-flex {
    position: relative;
    top: 1px;
    left: 1px;
    box-sizing: border-box;
    width: 217px;
    height: 32px;
    gap: 10px;
    padding: 7px 14px;
  }

  #contact > .container > .grid > div:first-child > .inline-flex > span:first-child,
  #contact > .container > .grid > div:first-child > .inline-flex > span:first-child > span {
    width: 8px !important;
    min-width: 8px !important;
    height: 8px !important;
    min-height: 8px !important;
  }

  #contact > .container > .grid > div:first-child > .inline-flex > span:first-child > span {
    background-color: var(--hf-red) !important;
  }

  #contact > .container > .grid > div:first-child > .inline-flex > span:last-child {
    white-space: nowrap;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 1.1px;
  }

  #contact > .container > .grid > div:first-child > h2 {
    font-size: 53px;
    line-height: 65.88px;
  }
}

.contact-bottom-journey {
  display: grid;
  grid-template-columns: 47.2% 52.8%;
  height: 138px;
  min-height: 0;
  margin-top: 7px;
  border: 1px solid var(--hf-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .82);
  box-shadow: none;
}

.contact-bottom-journey__quote {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 19px 21px;
  border-right: 1px solid var(--hf-line);
}

.contact-bottom-journey__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-bottom-journey__steps > div {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  text-align: center;
}

.contact-bottom-journey__steps > div:not(:last-child)::after {
  position: absolute;
  right: -6px;
  color: #cbd5e1;
  content: '\203A';
  font-size: 28px;
  font-weight: 300;
}

.contact-bottom-journey__steps .w-11.h-11 {
  width: 39px;
  height: 39px;
  margin-bottom: 10px;
}

/* RESPONSIVE ------------------------------------------------------------- */
@media (max-width: 1023px) {
  #navbar nav.md\:flex,
  #navbar a.md\:inline-flex {
    display: none !important;
  }

  #mobile-menu-btn {
    display: block !important;
  }

  #mobile-menu-overlay {
    display: block !important;
  }

  #mobile-menu {
    display: flex !important;
  }

  .bit-homepage :where(#tech, #comparison, #design-studio, #portfolio, #technologies, #contact) > .container {
    width: min(100% - 32px, var(--hf-container));
  }

  #portfolio > .container {
    width: min(100% - 32px, var(--hf-container));
    max-width: var(--hf-container);
  }

  #services-container > [data-service-card] {
    height: auto;
    min-height: 405px;
    display: flex;
    padding: 18px;
  }

  #services-container > [data-service-card] > div:has(> svg) {
    width: 100%;
    height: 155px;
  }

  #services-container > [data-service-card] > h3 {
    margin: 8px 0 10px;
  }

  #design-studio > .container > .grid > div {
    height: auto;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    padding: 18px;
  }

  #design-studio > .container > .grid > div > div[class*="w-full h-40"] {
    width: 100%;
    height: 190px;
    margin-bottom: 17px;
  }

  #design-studio [data-studio-stats] {
    width: 100%;
    margin-top: auto;
  }

  #portfolio {
    min-height: 0;
  }

  #design-studio {
    min-height: 0;
  }

  #technologies {
    min-height: 0;
  }

  #technologies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #technologies-grid > :nth-child(n) {
    grid-column: span 1;
  }

  #technologies-grid > :last-child {
    grid-column: 1 / -1;
  }

  #technologies-grid > div > [data-tools] {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #contact {
    min-height: 0;
  }

  #contact > .container > .grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-bottom-journey {
    grid-template-columns: 1fr;
    height: auto;
  }

  .contact-bottom-journey__quote {
    border-right: 0;
    border-bottom: 1px solid var(--hf-line);
  }
}

@media (max-width: 767px) {
  #tech,
  #comparison,
  #design-studio,
  #portfolio,
  #technologies,
  #contact {
    padding-block: 44px;
  }

  #tech > .container > .text-center h2,
  #comparison > .container > .text-center h2,
  #design-studio > .container > .text-center h2,
  #technologies > .container > .text-center h2,
  #portfolio > .container > .flex:first-of-type h2,
  #contact > .container > .grid > div:first-child > h2 {
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.04;
  }

  #services-container > [data-service-card] {
    min-width: min(86vw, 365px);
  }

  #design-studio > .container > .grid {
    grid-template-columns: 1fr;
  }

  #design-studio > .container > .grid > div {
    min-height: 500px;
  }

  #technologies-grid > div {
    min-height: 0;
  }

  #technologies-grid,
  #technologies-grid > :nth-child(n) {
    grid-template-columns: 1fr;
    grid-column: 1;
  }

  #technologies-grid > div > [data-tools] {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #portfolio > .container > .flex:first-of-type {
    align-items: stretch;
    margin-bottom: 28px;
  }

  #portfolio-container > a {
    min-width: min(86vw, 360px);
    height: 500px;
  }

  #contact > .container > .grid > div:first-child > .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #contact > .container > .grid > div:first-child > .grid > div {
    height: auto;
    min-height: 0;
  }

  #contact > .container > .grid > div:nth-child(2) > .bg-white\/90 {
    height: auto;
    min-height: 0;
    padding: 25px 20px;
  }

  #contact > .container > .grid > div:nth-child(2) > .mt-12 {
    grid-template-columns: 1fr;
  }

  .contact-bottom-journey__steps {
    grid-template-columns: 1fr;
  }

  .contact-bottom-journey__steps > div:not(:last-child)::after {
    display: none;
  }

  .contact-bottom-journey__steps > div:not(:last-child) {
    border-bottom: 1px solid var(--hf-line);
  }

}

.contact-bottom-journey__quote > .relative.w-16.h-16 {
  width: 72px;
  height: 72px;
}

@media (min-width: 1800px) {
  .bit-homepage :where(#tech, #comparison, #design-studio, #portfolio, #technologies, #contact) {
    background-size: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #services-container > [data-service-card],
  #design-studio > .container > .grid > div,
  #portfolio-container > a {
    transform: none !important;
    transition-duration: .01ms !important;
  }
}
