.contact-hero,
.contact-workspace {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  padding: 26px 0 30px;
}

.contact-hero-copy {
  align-self: center;
}

.contact-hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

.contact-hero-copy > p:last-of-type {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.contact-hero > img {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.contact-direct {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.contact-direct a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fbfcfc;
  color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}

.contact-direct a:hover {
  border-color: rgba(35, 91, 128, .42);
  transform: translateY(-1px);
}

.contact-direct img,
.contact-mail-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.contact-mail-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf1f6;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.contact-direct span {
  min-width: 0;
}

.contact-direct small,
.contact-direct strong {
  display: block;
}

.contact-direct small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-direct strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.contact-direct-whatsapp {
  color: #15834a;
}

.contact-response {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.contact-response span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-response strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.contact-workspace {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 36px 0 64px;
}

.contact-info {
  position: sticky;
  top: 94px;
}

.contact-info h2,
.contact-form-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}

.contact-info > p:last-of-type {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.contact-info dl {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.contact-info dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.contact-info dt,
.contact-info dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
}

.contact-info dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-info dd {
  color: var(--ink);
  font-weight: 700;
}

.contact-checklist-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.contact-form {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #dce3e5;
  border-radius: 0;
  padding: 0 28px 28px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(9, 23, 31, .08);
}

.contact-form-head,
.contact-method,
.contact-field-wide,
.contact-submit,
.contact-form-status {
  grid-column: 1 / -1;
}

.contact-form-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 0 -28px 10px;
  padding: 26px 28px 24px;
  border-bottom: 0;
  color: #fff;
  background: #103a57;
}

.contact-form-head p {
  margin: 0;
  color: #d5a451;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.contact-form-head h2 {
  margin-top: 8px;
  color: #fff;
  font-size: 27px;
  line-height: 1.1;
}

.contact-form-head div > span {
  display: block;
  max-width: 390px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  line-height: 1.6;
}

.contact-form-head > small {
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 800;
}

.contact-method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.contact-method legend,
.contact-field span {
  display: block;
  margin-bottom: 7px;
  color: #68757c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-method legend {
  grid-column: 1 / -1;
}

.contact-method label {
  cursor: pointer;
}

.contact-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-method label span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid #dce3e5;
  border-radius: 0;
  padding: 0 12px;
  background: #f7f9f9;
  color: #34434b;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.contact-method label:has(input:checked) span {
  border-color: #174a76;
  background: #eaf1f6;
  color: #174a76;
  box-shadow: inset 0 0 0 1px rgba(23, 74, 118, .12);
}

.contact-field {
  display: grid;
  align-content: start;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dce3e5;
  border-radius: 0;
  padding: 10px 11px;
  outline: 0;
  background: #fbfcfc;
  color: #182126;
  font: inherit;
  font-size: 11px;
  transition: border-color .2s ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #174a76;
}

.contact-field textarea {
  min-height: 92px;
  resize: vertical;
}

.contact-submit {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0 16px;
  background: #174a76;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  transition: background .18s ease, transform .14s ease, box-shadow .18s ease;
}

.contact-submit:hover {
  background: #103a5d;
  box-shadow: 0 8px 20px rgba(23, 74, 118, .18);
  transform: translateY(-1px);
}

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

.contact-submit:focus-visible {
  outline: 3px solid rgba(234, 73, 0, .25);
  outline-offset: 3px;
}

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

.contact-form-status {
  min-height: 16px;
  margin: -2px 0 0;
  color: #238157;
  font-size: 11px;
  font-weight: 800;
}

.contact-form-status.is-error {
  color: #b64935;
}

@media (max-width: 980px) {
  .contact-hero,
  .contact-workspace {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 760px) {
  .contact-hero,
  .contact-workspace {
    width: calc(100% - 32px);
  }

  .contact-hero {
    padding: 22px 0 24px;
  }

  .contact-hero h1 {
    font-size: 36px;
  }

  .contact-hero > img {
    height: 220px;
  }

  .contact-direct,
  .contact-response,
  .contact-form,
  .contact-method {
    grid-template-columns: 1fr;
  }

  .contact-method legend,
  .contact-form-head,
  .contact-method,
  .contact-field-wide,
  .contact-submit,
  .contact-form-status {
    grid-column: 1;
  }

  .contact-form-head {
    align-items: start;
    flex-direction: column;
    margin: 0 -18px 8px;
    padding: 24px 18px 20px;
  }

  .contact-form {
    padding: 0 18px 24px;
  }
}
