.about-main[hidden] {
  display: none;
}

.contact-page {
  background: #000;
  color: #fff;
}

.contact-main,
.contact-stage {
  position: relative;
  width: 100%;
}

.contact-stage {
  min-height: 829px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid #5d5d5d;
}

.contact-stage__video-layer {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  overflow: hidden;
  background: #000 url("https://deckdocs.com/wp-content/uploads/kodety/assets/assets/sections/contact/contact-gradient-poster-40213b087443.jpg") center / cover no-repeat;
  opacity: 1;
}

.contact-stage__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 550ms ease-in-out;
  will-change: opacity;
}

.contact-stage__video.is-active {
  opacity: 1;
}

.contact-stage__video-shade {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 40%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 34%);
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: auto 1fr;
  row-gap: 40px;
  width: var(--content-grid);
  max-width: 1216px;
  margin-inline: auto;
  padding-top: 147px;
  padding-bottom: 72px;
}

.contact-lead,
.contact-details {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.contact-lead {
  grid-column: 1;
  grid-row: 1;
}

.contact-lead h1 {
  width: 370px;
  margin: 0 0 40px;
  font-family: "Sora", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -2.4px;
}

.contact-lead p {
  margin: 0;
  width: 337px;
  max-width: 337px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  text-wrap: balance;
}

.contact-details {
  grid-column: 1;
  grid-row: 2;
}

.contact-team h2,
.contact-trusted h2 {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

.contact-team ul {
  display: grid;
  width: 337px;
  gap: 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-team li {
  position: relative;
  width: 337px;
  padding-left: 22px;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 0;
  text-wrap: balance;
}

.contact-team li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  width: 11px;
  height: 11px;
  background: url("https://deckdocs.com/wp-content/uploads/kodety/assets/assets/sections/contact/check-d91fbdc842d6.png") center / 11px 11px no-repeat;
}

.contact-trusted {
  margin-top: 60px;
}

.contact-trusted__logos {
  display: flex;
  width: 300px;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 16px;
}

.contact-trusted__logos img {
  display: block;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(0) invert(1);
}

.contact-trusted__logos img:nth-child(1) { width: 81.69px; height: 19.87px; }
.contact-trusted__logos img:nth-child(2) { width: 89px; height: 16.69px; }
.contact-trusted__logos img:nth-child(3) { width: 64.61px; height: 21.63px; }
.contact-trusted__logos img:nth-child(4) { width: 57.32px; height: 20.01px; }
.contact-trusted__logos img:nth-child(5) { width: 67.96px; height: 25.03px; }
.contact-trusted__logos img:nth-child(6) { width: 112.03px; height: 12.41px; max-width: none; }

.contact-form-column {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 44px;
}

.contact-form {
  position: relative;
  width: 575px;
  max-width: 100%;
  min-height: 610px;
  overflow: hidden;
  padding: 48px 54px 43px;
  border-radius: 7px;
  background: #fff;
  color: #101010;
  color-scheme: light;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.contact-form > h2 {
  margin: 0 0 26px;
  font-size: 25px;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.6px;
}

.contact-field {
  display: block;
  margin-bottom: 26px;
}

.contact-field > span,
.contact-company-size legend,
.contact-support legend {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.contact-field input {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 0 8px;
  border: 0;
  border-bottom: 1px solid #1f1f1f;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.contact-field input::placeholder {
  color: #89898e;
  opacity: 1;
}

.contact-field input:focus {
  border-bottom-color: #ef7615;
}

.contact-company-size {
  min-width: 0;
  margin: 3px 0 27px;
  padding: 0;
  border: 0;
}

.contact-company-size__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.contact-company-size label {
  cursor: pointer;
}

.contact-company-size input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-company-size label span {
  display: grid;
  place-items: center;
  height: 32px;
  padding: 0 15px;
  border: 1px solid #aaa;
  border-radius: 999px;
  color: #929292;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.contact-company-size input:checked + span,
.contact-company-size label:hover span {
  border-color: #111;
  background: #111;
  color: #fff;
}

.contact-support {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-support legend {
  line-height: 1.35;
}

.contact-support__options {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-support label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 24px;
  cursor: pointer;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.contact-support input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-content: center;
  box-sizing: border-box;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid #89898e;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.contact-support input::before {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 160ms ease;
}

.contact-support label:hover input:not(:checked) {
  border-color: #111;
  background-color: #f4f4f4;
}

.contact-support input:checked {
  border-color: #111;
  background-color: #111;
}

.contact-support input:checked::before {
  opacity: 1;
}

.contact-support input:focus-visible,
.contact-company-size input:focus-visible + span {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.contact-form__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 51px;
  margin-top: 35px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: #fff;
  color: #000;
}

.contact-form__submit-arrow {
  display: inline-flex;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  align-items: center;
  justify-content: center;
}

.contact-form__submit-arrow svg {
  display: block;
  width: 12px;
  height: 12px;
}

.contact-form__error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 13px;
  text-align: center;
}

.contact-form[hidden],
.contact-booking[hidden],
.contact-booking [hidden] {
  display: none;
}

.contact-booking {
  width: 575px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
  color: #101010;
  color-scheme: light;
  scroll-margin-top: 110px;
}

.contact-booking__confirmation {
  padding: 32px 28px 12px;
}

.contact-booking__confirmation h2,
.contact-booking__complete h2 {
  margin: 0 0 16px;
  font-family: "Sora", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.contact-booking__confirmation p,
.contact-booking__complete p {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.contact-booking__complete {
  display: flex;
  min-height: 320px;
  padding: 40px 28px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.contact-booking__complete h2 {
  margin: 0;
}

.contact-booking__complete img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-booking__work-link {
  color: inherit;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-booking__frame {
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: #fff;
}

.contact-booking iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-booking__fallback {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 20px 16px 28px;
  color: #101010;
  font-family: "Instrument Sans", sans-serif;
  font-size: 16px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 1099px) {
  .contact-stage {
    height: auto;
    min-height: 0;
    border-bottom: 0;
  }

  .contact-stage__video-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.95;
  }

  .contact-stage__video {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .contact-stage__video-shade {
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.02) 100%);
  }

  .contact-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 121px 24px 48px;
    row-gap: 0;
  }

  .contact-lead,
  .contact-details {
    width: 100%;
    padding: 0;
  }

  .contact-lead {
    order: 1;
    text-align: center;
  }

  .contact-lead h1 {
    width: 100%;
    margin-bottom: 23px;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: -1.5px;
  }

  .contact-lead p {
    width: 100%;
    max-width: none;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
    text-wrap: wrap;
  }

  .contact-desktop-break {
    display: none;
  }

  .contact-form-column {
    order: 2;
    display: block;
    width: 100%;
    margin-top: 28px;
    padding: 0;
  }

  .contact-form {
    width: 100%;
    min-height: 0;
    padding: 29px 23px 41px;
    border-radius: 5px;
  }

  .contact-form > h2 {
    display: none;
  }

  .contact-field {
    margin-bottom: 22px;
  }

  .contact-field > span,
  .contact-company-size legend,
  .contact-support legend {
    font-size: 16px;
  }

  .contact-field input {
    height: 36px;
    font-size: 16px;
  }

  .contact-company-size {
    margin: 1px 0 20px;
  }

  .contact-company-size__options {
    gap: 8px;
    margin-top: 11px;
  }

  .contact-company-size label span {
    height: 34px;
    padding: 0 14px;
    font-size: 16px;
  }

  .contact-form__submit {
    height: 43px;
    margin-top: 35px;
    font-size: 16px;
  }

  .contact-details {
    order: 3;
    margin-top: 29px;
  }

  .contact-team h2,
  .contact-trusted h2 {
    font-size: 16px;
  }

  .contact-team ul {
    width: 100%;
    gap: 14px;
    margin-top: 16px;
  }

  .contact-team li {
    width: 100%;
    padding-left: 16px;
    font-size: 16px;
    line-height: 1.3;
  }

  .contact-team li::before {
    top: 5px;
    width: 11px;
    height: 11px;
    background-size: 11px 11px;
  }

  .contact-trusted {
    margin-top: 31px;
  }

  .contact-trusted__logos {
    width: 300px;
    gap: 12px 20px;
    margin-top: 15px;
  }

  .contact-booking {
    width: 100%;
    border-radius: 5px;
    scroll-margin-top: 88px;
  }

  .contact-booking__confirmation {
    padding: 29px 23px 12px;
  }

  .contact-booking__frame {
    height: 720px;
  }
}

@media (max-width: 374px) {
  .contact-layout {
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-form {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__submit,
  .contact-company-size label span,
  .contact-support input,
  .contact-support input::before {
    transition: none;
  }
}

@media (forced-colors: active) {
  .contact-support input {
    -webkit-appearance: auto;
    appearance: auto;
  }

  .contact-support input::before {
    content: none;
  }
}
