.contactPage {
  padding-top: 1rem;
  background: #fff;
}

.contactContent {
  padding: .8rem 0 1.2rem;
}

.sectionHeading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sectionHeading h1,
.sectionHeading h2 {
  color: var(--blue);
  font-size: clamp(24px, .3rem, 30px);
  font-weight: 500;
  line-height: .28rem;
  text-transform: uppercase;
}

.sectionHeading i {
  width: .5rem;
  height: .03rem;
  margin-top: .15rem;
  display: block;
  background: var(--yellow);
}

.contactCards {
  margin-top: .6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
}

.contactCard {
  height: 2.6rem;
  padding: .7rem .5rem .36rem;
  position: relative;
  overflow: hidden;
  border-radius: .1rem;
  background: #fff;
  box-shadow: 0 0 .1rem rgba(85, 85, 85, .25);
}

.contactCard img {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.87368rem;
  height: .90192rem;
  object-fit: fill;
}

.contactCard h2 {
  color: var(--blue);
  font-size: clamp(24px, .28rem, 28px);
  font-weight: 600;
  line-height: .28rem;
  text-transform: uppercase;
}

.contactCard a,
.contactCard address {
  margin-top: .28rem;
  display: block;
  color: var(--text);
  font-size: clamp(18px, .2rem, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

.contactCard a:hover {
  color: var(--blue);
}

.addressCard address {
  max-width: 4.12rem;
  margin-top: .22rem;
}

.onlineHeading {
  margin-top: .8rem;
}

.contactNote {
  margin-top: .5rem;
  color: #666;
  font-size: clamp(12px, .16rem, 16px);
  line-height: .28rem;
  text-align: center;
  white-space: nowrap;
}

.contactField label b {
  color: #e60012;
  font: inherit;
}

.contactFormPanel {
  min-height: 6rem;
  margin-top: .4rem;
  padding: .56rem 1rem .26rem;
  background: #f6f6f6;
}

.contactForm {
  width: 100%;
  max-width: 14rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: .2rem;
  row-gap: .2rem;
}

.contactField {
  min-height: .69rem;
  display: flex;
  flex-direction: column;
}

.contactField label {
  height: .22rem;
  color: #333;
  font-size: clamp(14px, .16rem, 16px);
  line-height: .22rem;
  margin-bottom: .1rem;
}

.contactField label b {
  margin-right: .03rem;
}

.contactField input,
.contactField textarea {
  width: 100%;
  border: .01rem solid #dedede;
  border-radius: .03rem;
  background: #fff;
  color: #333;
  font-size: clamp(12px, .14rem, 14px);
}

.contactField input {
  height: .4rem;
  padding: 0 .15rem;
  line-height: .4rem;
}

.contactField input::placeholder,
.contactField textarea::placeholder {
  color: #a6a6a6;
  opacity: 1;
}

.messageField {
  grid-column: 1 / -1;
  min-height: 2.4rem;
}

.messageField textarea {
  height: 2.18rem;
  padding: .12rem .15rem;
  line-height: .2rem;
}

.contactSubmit {
  grid-column: 1 / -1;
  width: 1.89rem;
  height: .5rem;
  margin: 0 auto;
  border-radius: .25rem;
  background: var(--yellow);
  color: var(--text);
  font-size: clamp(16px, .18rem, 18px);
  font-weight: 500;
  letter-spacing: .0054rem;
  line-height: .5rem;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.contactSubmit:hover {
  background: var(--blue);
  color: #fff;
}

.formStatus {
  grid-column: 1 / -1;
  height: .2rem;
  margin-top: -.13rem;
  color: var(--blue);
  font-size: clamp(12px, .14rem, 14px);
  line-height: .2rem;
  text-align: center;
  opacity: 0;
  transition: opacity .2s;
}

.formStatus.is-visible {
  opacity: 1;
}

@media (max-width: 1024px) {

  .contactContent {
    padding: .55rem 0 .8rem;
  }

  .contactCards {
    grid-template-columns: 1fr;
    gap: .24rem;
  }

  .contactCard {
    height: auto;
    min-height: 2.25rem;
    padding: .55rem .38rem .32rem;
  }

  .contactCard a,
  .contactCard address {
    max-width: 4.9rem;
  }

  .contactNote {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    line-height: 1.6;
  }

  .contactFormPanel {
    width: 92%;
    min-height: 0;
    padding: .4rem .28rem;
  }

  .contactForm {
    grid-template-columns: 1fr;
    row-gap: .22rem;
  }

  .contactField label {
    height: auto;
    line-height: 1.4;
  }

  .contactField input {
    height: .58rem;
    line-height: .58rem;
  }

  .messageField textarea {
    height: 2.5rem;
    line-height: 1.5;
  }

  .contactSubmit {
    width: 2.2rem;
    height: .62rem;
    border-radius: .31rem;
    line-height: .62rem;
  }
}
