.contact-page {
  background: var(--cool);
}
.contact-hero {
  min-height: 290px;
  padding-block: 38px 70px;
  border-bottom: 1px solid var(--border);
  background: var(--page-hero-background);
}
.contact-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.contact-hero h1 span {
  color: var(--red);
}
.contact-hero > .container > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.contact-body {
  padding-block: 52px 62px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr);
  gap: 26px;
}
.contact-form-panel {
  min-width: 0;
  align-self: start;
  padding: 38px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
}
.contact-form-panel h2 {
  margin-bottom: 28px;
  font-size: 20px;
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}
.contact-field {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
}
.contact-field--wide {
  grid-column: 1 / -1;
}
.contact-required {
  color: var(--red);
}
.contact-form-panel .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
.contact-form-panel
  :is(input:not([type="submit"]):not([type="hidden"]), select, textarea) {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 400;
}
.contact-form-panel ::placeholder {
  color: var(--muted);
  opacity: 1;
}
.contact-form-panel textarea {
  min-height: 134px;
  height: 134px;
  resize: vertical;
}
.contact-form-panel .wpcf7-not-valid {
  border-color: var(--red);
}
.contact-form-panel .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 400;
}
.contact-form-panel .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px;
  border-radius: 8px;
}
.contact-submit {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}
.contact-submit p {
  display: contents;
  margin: 0;
}
.contact-submit span:not(.wpcf7-spinner) {
  color: var(--muted);
  font-size: 13px;
}
.contact-submit input[type="submit"] {
  min-height: 54px;
  padding: 14px 26px;
  cursor: pointer;
}
.contact-submit .wpcf7-spinner {
  position: absolute;
  inset: 100% auto auto 0;
  margin: 8px 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 120px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  overflow-wrap: anywhere;
}
.contact-card:first-child,
.contact-card:nth-child(4) {
  min-height: 142px;
}
.contact-card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--yellow);
}
.contact-card h2 {
  margin-bottom: 4px;
  font-size: 16px;
}
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.contact-social {
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
}
.contact-social h2 {
  margin-bottom: 14px;
  font-size: 14px;
}
.contact-social .social-links {
  margin: 0;
}
.contact-social .social-link {
  min-width: 40px;
  min-height: 40px;
  background: var(--white);
  color: var(--navy);
}
.contact-social .social-link:hover {
  background: var(--yellow);
}
.contact-map {
  margin-top: 68px;
}
.contact-map > h2 {
  margin-bottom: 10px;
  font-size: 32px;
  font-weight: 900;
}
.contact-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
.contact-map-address {
  position: absolute;
  bottom: 26px;
  left: 26px;
  width: min(400px, 48%);
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
}
.contact-map-address h3 {
  margin-bottom: 6px;
  font-size: 16px;
}
.contact-map-address p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.contact-map-link {
  position: absolute;
  right: 26px;
  bottom: 26px;
}
.contact-editorial {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .contact-hero {
    min-height: 210px;
    padding-block: 18px 48px;
  }
  .contact-hero h1 {
    font-size: clamp(28px, 6.8vw, 40px);
  }
  .contact-hero > .container > p {
    max-width: 34ch;
    font-size: 14px;
  }
  .contact-body {
    padding-block: 22px 28px;
  }
  .contact-grid,
  .contact-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-grid {
    gap: 16px;
  }
  .contact-form-panel {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .contact-form-panel h2 {
    margin-bottom: 22px;
    font-size: 20px;
  }
  .contact-fields {
    gap: 14px;
  }
  .contact-field {
    font-size: 13px;
  }
  .contact-form-panel
    :is(input:not([type="submit"]):not([type="hidden"]), select, textarea) {
    font-size: 16px;
  }
  .contact-form-panel textarea {
    height: 110px;
    min-height: 110px;
  }
  .contact-submit {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    text-align: center;
  }
  .contact-submit input[type="submit"] {
    width: 100%;
  }
  .contact-details {
    gap: 12px;
  }
  .contact-card,
  .contact-card:first-child,
  .contact-card:nth-child(4) {
    min-height: 90px;
    padding: 18px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .contact-card-icon {
    width: 42px;
    height: 42px;
  }
  .contact-card h2 {
    font-size: 15px;
  }
  .contact-card p {
    font-size: 14px;
  }
  .contact-social {
    padding: 18px 20px;
    border-radius: 14px;
  }
  .contact-map {
    margin-top: 34px;
  }
  .contact-map > h2 {
    font-size: 25px;
  }
  .contact-map-frame {
    overflow: visible;
    border-radius: 0;
  }
  .contact-map iframe {
    height: 240px;
    border-radius: 14px;
  }
  .contact-map-address {
    position: static;
    width: 100%;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .contact-map-link {
    position: static;
    display: flex;
    margin-top: 12px;
  }
}

.contact-field label {
  display: block;
}
.contact-field p {
  margin: 0;
}
