/* Generated from public/css/home-fidelity.css by scripts/sync-portfolio-contact.mjs. Same homepage contact, scoped to portfolio. */

body:is([data-portfolio-shell],[data-home-contact]) {
  --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);
}

body:is([data-portfolio-shell],[data-home-contact]) :where(#contact) > .container {
  width: min(100% - 48px, var(--hf-container));
  max-width: var(--hf-container);
  padding-inline: 0;
}

body:is([data-portfolio-shell],[data-home-contact]) :where(#contact) h2 {
  letter-spacing: -.045em;
}

#contact {
  min-height: 771px;
  padding-block: 70px 18px;
  background: #fafbfd;
}

#contact > .container {
  max-width: 1248px;
}

@media (min-width: 1024px) {

  #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;
}

@media (max-width: 1023px) {

  body:is([data-portfolio-shell],[data-home-contact]) :where(#contact) > .container {
    width: min(100% - 32px, var(--hf-container));
  }

  #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;
  }

  #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) {
  body:is([data-portfolio-shell],[data-home-contact]) :where(#contact) {
    background-size: auto;
  }
}

body:is([data-portfolio-shell],[data-home-contact]) #contact { color: #2c2c2c; }

body:is([data-portfolio-shell],[data-home-contact]) #contact .bg-brand-primary { background-color: #D63846 !important; }

body:is([data-portfolio-shell],[data-home-contact]) #contact .text-brand-primary { color: #C92F3C !important; }
