:root {
  --contact-shell: 85.4167vw;
  --contact-text: #333333;
  --contact-subtext: #666666;
  --contact-muted: rgba(0, 0, 0, 0.3);
  --contact-line: rgba(0, 0, 0, 0.05);
  --contact-soft: #f5f5f7;
  --contact-field: rgba(217, 217, 217, 0.4);
  --contact-brand: #f2c81e;
}

.contact-body {
  min-width: 320px;
  color: var(--contact-text);
  font-family: var(--family);
  background: #ffffff;

  min-height: unset !important;
}

.contact-page {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 769px) {
  :root {
    --contact-focus-module-scale: 0.92;
    --contact-focus-safe-pad: clamp(140px, 9vw, 180px);
  }

  .contact-body {
    overflow-x: hidden;
  }

  .contact-page {
    width: 100vw;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    transform-origin: top center;
    overflow: clip;
  }

  .contact-shell {
    width: min(calc(var(--contact-shell) * var(--contact-focus-module-scale)),
        calc(100% - (2 * var(--contact-focus-safe-pad))));
  }

}

.contact-shell {
  width: min(var(--contact-shell), calc(100% - 2.083vw));
  margin: 0 auto;
}

.contact-main {
  padding: 12.5vw 0 6.25vw;
  background: #ffffff;
}

.contact-hero {
  max-width: 62.708vw;
}

.contact-hero h1,
.contact-hero p,
.contact-card__copy p,
.contact-base h2,
.contact-base__copy h3,
.contact-base__copy p,
.contact-form-card h2 {
  margin: 0;
}

.contact-hero h1 {
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.8);
}

.contact-hero p {
  max-width: 30.625vw;
  margin-top: 2.552vw;
  color: #6a7282;
  line-height: 1.64;
}

.contact-content {
  display: grid;
  width: min(80.365vw, 100%);
  grid-template-columns: 33.177vw 33.177vw;
  justify-content: center;
  gap: 14.01vw;
  align-items: start;
  margin-top: 4.292vw;
  transform: translateX(45px);
}

.contact-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3.333vw;
}

.contact-cards {
  display: grid;
  width: 33.177vw;
  max-width: 100%;
  grid-template-columns: repeat(2, 15.677vw);
  gap: 3.823vw;
}

.contact-card {
  display: flex;
  min-height: 11.667vw;
  flex-direction: column;
  gap: 1.042vw;
  padding: 1.823vw;
  border-radius: 1.823vw;
  background: var(--contact-soft);
}

.contact-card__icon {
  display: inline-flex;
  width: 4.167vw;
  height: 4.167vw;
  align-items: center;
  justify-content: center;
  border-radius: 1.094vw;
  background: #ffffff;
  box-shadow: 0 0.052vw 0.104vw rgba(0, 0, 0, 0.05);
}

.contact-card__icon img {
  display: block;
  width: 2.604vw;
  height: 2.604vw;
}

.contact-card__copy {
  display: flex;
  flex-direction: column;
  gap: 1.313vw;
}

.contact-card__eyebrow,
.contact-card__desc {
  color: var(--contact-subtext);
  line-height: 24px;
}

.contact-card__value {
  color: #101828;
  line-height: 28.22px;
  word-break: break-word;
}

.contact-base {
  display: flex;
  flex-direction: column;
  gap: 2.188vw;
}

.contact-base h2 {
  line-height: 1.2;
}

.contact-base__list {
  display: flex;
  flex-direction: column;
  gap: 2.52vw;
}

.contact-base__item {
  display: flex;
  align-items: center;
  gap: 1.26vw;
}

.contact-base__icon {
  display: inline-flex;
  width: 4.167vw;
  height: 4.167vw;
  flex: 0 0 4.167vw;
  align-items: center;
  justify-content: center;
  border-radius: 1.094vw;
  background: var(--contact-brand);
}

.contact-base__icon img {
  display: block;
  width: 2.604vw;
  height: 2.604vw;
}

.contact-base__copy {
  display: flex;
  flex-direction: column;
  gap: 0.625vw;
}

.contact-base__copy h3 {
  color: #101828;
  line-height: 1.18;
}

.contact-base__copy p {
  color: var(--contact-subtext);
  line-height: 24px;
  white-space: nowrap;
}

.contact-form-card {
  width: 33.177vw;
  max-width: 100%;
  min-width: 0;
  min-height: 34.844vw;
  padding: 2.917vw 2.969vw 3.698vw;
  border: 0.052vw solid var(--contact-line);
  border-radius: 2.552vw;
  background: #ffffff;
  box-shadow: 0 1.458vw 3.125vw -0.729vw rgba(0, 0, 0, 0.32);
}

.contact-form-card h2 {
  color: var(--contact-text);
  line-height: 1.2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.411vw;
  margin-top: 1.771vw;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 12.917vw);
  justify-content: space-between;
  gap: 1.411vw 1.458vw;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.417vw;
}

.contact-field--full {
  width: 100%;
}

.contact-field__label {
  color: var(--contact-muted);
  line-height: 14px;
  letter-spacing: 0.055vw;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0 0.833vw;
  border: 0;
  border-radius: 0.833vw;
  background: var(--contact-field);
  color: var(--contact-text);
}

.contact-field input {
  height: 2.5vw;
}

.contact-field textarea {
  min-height: 8.021vw;
  padding-top: 0.729vw;
  padding-bottom: 0.729vw;
  resize: none;
}

.contact-form__submit {
  width: 100%;
  min-height: 3.49vw;
  padding: 1.094vw 1.25vw;
  border: 0;
  border-radius: 999px;
  background: #333333;
  color: #ffffff;
  line-height: 24.5px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: #1f1f1f;
}

.contact-form__submit:active {
  transform: translateY(1px);
}

.contact-success {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.667vw;
  pointer-events: none;
}

.contact-success__panel {
  position: relative;
  width: min(37.292vw, calc(100vw - 2.5vw));
  padding: 6.823vw 2.917vw 6.406vw;
  overflow: hidden;
  border: 0.052vw solid rgba(0, 0, 0, 0.05);
  border-radius: 2.552vw;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1.302vw 2.604vw -0.625vw rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-success.is-visible .contact-success__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-success__glow {
  position: absolute;
  right: -3.333vw;
  top: 2.865vw;
  width: 11.667vw;
  height: 11.667vw;
  border-radius: 50%;
  background: rgba(250, 191, 0, 0.05);
  filter: blur(40px);
}

.contact-success__media {
  display: flex;
  width: 13.333vw;
  height: 13.333vw;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.contact-success__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-success__panel h2,
.contact-success__panel p {
  margin: 0;
  text-align: center;
}

.contact-success__panel h2 {
  margin-top: 2.083vw;
  color: #000000;
  line-height: 1.2;
}

.contact-success__panel p {
  margin-top: 2.083vw;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.4;
}

@media (max-width: 1440px) {
  .contact-content {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5vw;
    transform: none;
  }

  .contact-cards {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    min-height: 10.833vw;
    padding: 1.458vw;
  }

  .contact-base__copy p {
    white-space: normal;
  }

  .contact-form-card {
    padding: 2.292vw 2.083vw 2.5vw;
  }

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

  .contact-success__panel {
    width: min(37.292vw, calc(100vw - 3.333vw));
  }
}

@media (max-width: 1200px) {
  .contact-main {
    padding-top: 6.25vw;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.917vw;
    margin-top: 5vw;
    transform: none;
  }

  .contact-info {
    gap: 2.5vw;
  }

  .contact-form-card {
    min-height: auto;
  }

  .contact-success__panel {
    width: min(33.333vw, calc(100vw - 2.5vw));
    padding-top: 5.417vw;
    padding-bottom: 5vw;
  }
}


@media (max-width: 560px) {
  .contact-base__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-shell {
    width: 100%;
    max-width: min(var(--contact-shell), calc(100% - 24px));
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
  }

  .contact-main {
    padding-top: 96px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    padding-left: max(0px, env(safe-area-inset-left, 0px));
    padding-right: max(0px, env(safe-area-inset-right, 0px));
    min-width: 0;
  }

  .contact-hero {
    max-width: 100%;
    min-width: 0;
  }

  .contact-hero p {
    margin-top: 20px;
    max-width: none;
  }

  .contact-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 40px;
    margin-top: 56px;
    transform: none;
  }

  .contact-info {
    width: 100%;
    min-width: 0;
  }

  .contact-cards {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .contact-card__copy {
    min-width: 0;
  }

  .contact-card__value {
    overflow-wrap: anywhere;
  }

  .contact-base__copy h3 {
    overflow-wrap: anywhere;
  }

  .contact-card__icon,
  .contact-base__icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 18px;
  }

  .contact-card__icon img,
  .contact-base__icon img {
    width: 38px;
    height: 38px;
  }

  .contact-base {
    gap: 24px;
  }

  .contact-base__list {
    gap: 24px;
  }

  .contact-base__item {
    align-items: flex-start;
    min-width: 0;
  }

  .contact-base__copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .contact-base__copy p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 28px 20px;
    border-radius: 28px;
    box-sizing: border-box;
    overflow: visible;
  }

  .contact-form {
    gap: 20px;
    margin-top: 24px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-field textarea {
    min-height: 132px;
  }

  .contact-form__submit {
    min-height: 56px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .contact-success {
    padding: 16px;
  }

  .contact-success__panel {
    width: min(716px, calc(100vw - 32px));
    max-width: 100%;
    max-height: min(88vh, 720px);
    padding: 72px 24px 56px;
    border-radius: 28px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-success__glow {
    right: -72px;
    top: 20px;
    width: 160px;
    height: 160px;
  }

  .contact-success__media {
    width: 180px;
    height: 180px;
  }

  .contact-success__panel h2 {
    margin-top: 24px;
  }

  .contact-success__panel p {
    margin-top: 20px;
    line-height: 1.55;
  }

  .home-top {
    right: 20px;
    bottom: 20px;
  }

  .contact-body {
    overflow-x: hidden;
  }

  .contact-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .contact-hero h1 {
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .contact-base {
    margin-top: 40px;
  }

  .contact-base h2,
  .contact-form-card h2 {
    font-size: 22px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .contact-field input {
    height: 40px;
  }

  .contact-field input,
  .contact-field textarea {
    width: 100%;
    padding: 0 16px;
    border-radius: 16px;
    margin-top: 10px;
  }
}