/* Contact page */

.contact-page-body {
  background: #ffffff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

.contact-page-main {
  box-sizing: border-box;
  flex: 1 0 auto;
  min-width: 0;
  width: 100%;
}

.contact-page-hero,
.contact-page-hero * {
  box-sizing: border-box;
}

.contact-page-hero {
  background: #fffdfb;
  flex: 0 0 auto;
  padding: 30px var(--hotmat-page-gutter) 20px;
  position: relative;
  width: 100%;
}

.contact-page-shell {
  margin: 0 auto;
  max-width: var(--hotmat-content-max);
  width: 100%;
}

.contact-page-breadcrumb {
  margin-bottom: 7px;
}

.contact-page-shell > h1 {
  color: #141b22;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.contact-page-layout {
  align-items: stretch;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 2.15fr) minmax(340px, 1fr);
  max-width: 1276px;
  width: 100%;
}

.contact-page-form-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.contact-facebook-banner {
  align-items: center;
  background: linear-gradient(90deg, #fffaf6 0%, #fff8f5 100%);
  border: 1px solid #f7c8b8;
  border-radius: 8px;
  display: flex;
  gap: 18px;
  min-height: 60px;
  padding: 10px 20px;
}

.contact-facebook-icon {
  align-items: center;
  background: linear-gradient(180deg, #4267a9 0%, #315496 100%);
  border-radius: 5px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.contact-facebook-icon svg {
  height: 24px;
  width: 24px;
}

.contact-facebook-banner p {
  color: #29343b;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.contact-facebook-banner a {
  color: #ec272d;
  font-weight: 600;
  text-underline-offset: 2px;
}

.contact-facebook-banner a:hover {
  color: var(--hotmat-brand-red-dark);
}

.contact-facebook-banner a:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(246, 61, 65, 0.28);
  outline-offset: 2px;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(21, 26, 31, 0.09);
  padding: 17px 24px 22px;
}

.contact-form-feedback {
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 15px;
  padding: 11px 13px;
}

.contact-form-feedback:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.24);
  outline-offset: 2px;
}

.contact-form-success {
  background: #edf8f0;
  border-color: #b8ddc1;
  color: #1f6532;
}

.contact-form-error {
  background: #fff0ee;
  border-color: #efb8b1;
  color: #a72520;
}

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

.contact-reason-fieldset legend {
  color: #171c21;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 9px;
  padding: 0;
}

.contact-reason-options {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-reason-option {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfd4d8;
  border-radius: 8px;
  color: #171c21;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 5px;
  justify-content: center;
  line-height: 1.3;
  min-height: 84px;
  padding: 10px 34px 9px;
  position: relative;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.contact-reason-option input {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.contact-reason-indicator {
  background: #ffffff;
  border: 1.5px solid #aeb7bd;
  border-radius: 50%;
  height: 18px;
  left: 14px;
  position: absolute;
  top: 13px;
  width: 18px;
}

.contact-reason-option:hover {
  border-color: #aeb7bd;
}

.contact-reason-option:has(input:checked) {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f7 100%);
  border-color: var(--hotmat-brand-red);
  box-shadow: inset 0 0 0 1px rgba(246, 61, 65, 0.08);
}

.contact-reason-option input:checked + .contact-reason-indicator {
  border: 2px solid var(--hotmat-brand-red);
}

.contact-reason-option input:checked + .contact-reason-indicator::after {
  background: var(--hotmat-brand-red);
  border-radius: 50%;
  content: "";
  inset: 3px;
  position: absolute;
}

.contact-reason-option:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.2);
  outline: 0;
}

.contact-reason-fieldset.has-error .contact-reason-option {
  border-color: #d0342c;
}

.contact-reason-icon {
  align-items: center;
  color: #171c21;
  display: inline-flex;
  height: 29px;
  justify-content: center;
  width: 29px;
}

.contact-reason-icon svg {
  display: block;
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 100%;
}

.contact-reason-option:has(input:checked) .contact-reason-icon {
  color: var(--hotmat-brand-red);
}

.contact-reason-label {
  display: block;
  font-weight: 500;
}

.contact-form-fields {
  display: grid;
  column-gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 19px;
  row-gap: 13px;
}

.contact-form-field {
  color: #273139;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 5px;
  line-height: 1.3;
  min-width: 0;
}

.contact-form-field--wide {
  grid-column: 1 / -1;
}

.contact-form-field[hidden],
.contact-page-hero [data-contact-field][hidden],
.contact-page-hero [hidden] {
  display: none !important;
}

.contact-required {
  color: var(--hotmat-brand-red);
  font-weight: 700;
}

.contact-form-field input,
.contact-form-field textarea {
  background: #ffffff;
  border: 1px solid #cbd1d5;
  border-radius: 5px;
  color: #171c21;
  font: inherit;
  font-size: 13px;
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.contact-form-field input {
  height: 38px;
  padding: 8px 11px;
}

.contact-form-field textarea {
  height: 60px;
  min-height: 60px;
  padding: 10px 11px;
  resize: vertical;
}

.contact-form-field input:hover,
.contact-form-field textarea:hover {
  border-color: #aeb5bb;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--hotmat-brand-red);
  box-shadow: 0 0 0 3px rgba(246, 61, 65, 0.16);
}

.contact-form-field.has-error input,
.contact-form-field.has-error textarea {
  border-color: #d0342c;
}

.contact-field-error {
  color: #c62f26;
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.contact-reason-error {
  margin: 7px 0 0;
}

.contact-form-actions {
  align-items: center;
  display: flex;
  gap: 32px;
  margin-top: 14px;
}

.contact-form-submit {
  align-items: center;
  background: linear-gradient(180deg, #ff443d 0%, #f52b31 100%);
  border: 1px solid #f52b31;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  height: 40px;
  justify-content: center;
  min-width: 178px;
  padding: 0 22px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.contact-form-submit:hover:not(:disabled) {
  background: var(--hotmat-brand-red-dark);
  border-color: var(--hotmat-brand-red-dark);
}

.contact-form-submit:active:not(:disabled) {
  transform: translateY(1px);
}

.contact-form-submit:focus-visible {
  outline: 3px solid rgba(246, 61, 65, 0.3);
  outline-offset: 3px;
}

.contact-form-submit:disabled {
  cursor: wait;
  opacity: 0.82;
}

.contact-form-submit-spinner {
  animation: contact-submit-spin 0.75s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  border-top-color: #ffffff;
  display: none;
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.contact-form-submit.is-loading .contact-form-submit-spinner {
  display: inline-block;
}

@keyframes contact-submit-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-submit-spinner {
    animation-duration: 1.5s;
  }
}

.contact-submit-note {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.contact-support-column {
  align-items: center;
  align-self: stretch;
  background: #fffdfb;
  border: 1px solid #f3c4bc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 8px 30px 25px;
}

.contact-support-image-wrap {
  align-items: flex-start;
  display: flex;
  flex: 0 0 250px;
  height: 250px;
  justify-content: center;
  margin: 0 -30px;
  overflow: hidden;
  width: calc(100% + 60px);
}

.contact-support-image {
  display: block;
  flex: 0 0 auto;
  height: auto;
  max-width: none;
  width: min(450px, 118%);
}

.contact-support-intro {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.contact-support-card-icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid #f3c4bc;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.contact-support-card-icon svg {
  height: 32px;
  stroke: var(--hotmat-brand-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 32px;
}

.contact-support-intro h2 {
  color: #171c21;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin: 14px 0 7px;
}

.contact-support-intro p {
  color: #4d5960;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 290px;
}

.contact-support-facts {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
}

.contact-support-fact {
  align-items: center;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid #f2ccc5;
  border-radius: 5px;
  display: flex;
  gap: 12px;
  min-height: 61px;
  padding: 9px 14px;
}

.contact-support-fact-icon {
  align-items: center;
  background: #fff1ed;
  border-radius: 50%;
  color: var(--hotmat-brand-red);
  display: inline-flex;
  flex: 0 0 38px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.contact-support-fact-icon svg {
  display: block;
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 22px;
}

.contact-support-fact-copy {
  color: #4b565d;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.contact-support-fact-copy strong {
  color: #1e272c;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

@media screen and (max-width: 1024px) {
  .contact-page-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .contact-support-column {
    max-width: 680px;
    justify-self: center;
    width: 100%;
  }

  .contact-support-image {
    width: min(450px, 100%);
  }
}

@media screen and (max-width: 680px) {
  .contact-page-hero {
    padding-bottom: 28px;
    padding-top: 18px;
  }

  .contact-page-shell > h1 {
    font-size: clamp(36px, 10vw, 42px);
    letter-spacing: -1.4px;
    margin-bottom: 12px;
  }

  .contact-facebook-banner {
    gap: 13px;
    padding: 10px 14px;
  }

  .contact-form-card {
    padding: 17px 16px 18px;
  }

  .contact-reason-options,
  .contact-form-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-reason-options {
    gap: 10px;
  }

  .contact-reason-option {
    display: grid;
    gap: 12px;
    grid-template-columns: 20px 34px minmax(0, 1fr);
    justify-items: start;
    min-height: 64px;
    padding: 10px 14px;
    text-align: left;
  }

  .contact-reason-indicator {
    left: auto;
    position: relative;
    right: auto;
    top: auto;
  }

  .contact-reason-icon {
    height: 29px;
    width: 29px;
  }

  .contact-form-fields {
    row-gap: 13px;
  }

  .contact-form-field--wide {
    grid-column: auto;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .contact-form-submit,
  .contact-submit-note {
    text-align: center;
    width: 100%;
  }

  .contact-support-column {
    padding: 8px 20px 21px;
  }

  .contact-support-image-wrap {
    flex-basis: 225px;
    height: 225px;
    margin-right: -20px;
    margin-left: -20px;
    width: calc(100% + 40px);
  }

  .contact-support-image {
    width: min(420px, 112%);
  }
}

@media screen and (max-width: 390px) {

  .contact-page-shell > h1 {
    font-size: 34px;
  }

  .contact-facebook-banner {
    align-items: flex-start;
  }

  .contact-facebook-icon {
    height: 30px;
    width: 30px;
  }

  .contact-reason-fieldset legend {
    font-size: 19px;
  }

  .contact-support-image-wrap {
    flex-basis: 200px;
    height: 200px;
  }

  .contact-support-image {
    width: 370px;
  }

  .contact-support-intro h2 {
    font-size: 20px;
  }

  .contact-support-fact {
    padding-right: 11px;
    padding-left: 11px;
  }
}

.contact-page-body .site-footer {
  margin-top: auto;
}

.contact-page-body .site-footer {
  --content-max: var(--hotmat-content-max);
}

@media screen and (min-width: 769px) {

  .contact-page-body .site-footer {
    padding-right: var(--hotmat-page-gutter);
    padding-left: var(--hotmat-page-gutter);
  }
}
